Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > How to monitor the printer job?

Reply
Thread Tools Display Modes

How to monitor the printer job?

 
 
Ryo gao
Guest
Posts: n/a

 
      04-11-2011
I have a printer processor to notify the application for end of print job. Then i can get SPL file for use.

And i also want to provide an interface for other application to print. like:
bool PrintDoc(const char *szfilefullpath, const char *outPDFfilepath);

In PrintDoc function, i will call word/powerpoint/excel's PrintOut interface.

I should wait for PrintDoc to be end, and then quit the call for PrintDoc.

The trouble is that i don't know how to associate the full path passed to PrintDoc(for instance:c:\test.doc) with the print document name in printer processor(here is some string like: Microsoft Word - test.doc), if there have many jobs, i don't know how to monitor them for end of print. please help.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printer installation Gary S Windows Small Business Server 12 04-14-2010 05:37 PM
Re: Shared printer access vs user account level Duncan McC Windows Small Business Server 0 03-30-2010 03:38 PM
RE: domain users can't print to shared printer but admin can Michael Kim Active Directory 0 12-16-2009 07:37 PM
Printer goes off line with restart John Windows Vista Hardware 2 11-04-2007 10:01 PM
printer sharing from vista pc to win 98 pc --win 98 won't see shrd Bubbator Windows Vista Hardware 2 05-03-2007 01:51 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59