how to capture print message

  • Thread starter Thread starter KitKat
  • Start date Start date
Sorry, KitKat, that is not what i want, I want to capture the message in my
own app. I mean, my app runs, if there a print job add to a printer, my app
also get the message, that is to say, my app must knows the following msg:
who want to print, how many pages will be printed, is the printing job
allowed? ...
 
Sorry, KitKat, that is not what i want, I want to capture the message in
my own app. I mean, my app runs, if there a print job add to a printer, my
app also get the message, that is to say, my app must knows the following
msg: who want to print, how many pages will be printed, is the printing
job allowed? ...

Short of using SendKeys, probably not -- and you really don't want to use
that.
 
Hi, all
When we click or select Print in IE, a print windows pop-up, is there anyway
to capture this message and get the information of the print window (i.e.
pages ,paper,defualt printer,...) and i can control the printing job
continue or cancel it.

thanks a lot
 
Taoge said:
Sorry, KitKat, that is not what i want, I want to capture the
message in my own app. I mean, my app runs, if there a print job add
to a printer, my app also get the message, that is to say, my app
must knows the following msg: who want to print, how many pages will
be printed, is the printing job allowed? ...

This is not possible out-of-the-box because this is the printer spooler's
job, literally.

Have a look here:
http://msdn.microsoft.com/library/en-us/gdi/prntspol_62ia.asp

Though, I don't know if it's possible at all.

Armin
 
Back
Top