Home All Groups Group Topic Archive Search About

how to capture print message

Author
24 Mar 2006 6:22 AM
Taoge
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

Author
23 Mar 2006 10:33 PM
KitKat
press ctrl or shift with prnt screen. Then go to paint or word and paste it
and print.


Show quoteHide quote
"Taoge" <luxiao***@hotmail.com> wrote in message
news:uiABhUoTGHA.5332@tk2msftngp13.phx.gbl...
> 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
>
>
>
Author
24 Mar 2006 5:29 AM
Taoge
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? ...


Show quoteHide quote
"KitKat" <kitkat@nospam.com> wrote in message
news:%23DX0JnsTGHA.5884@TK2MSFTNGP14.phx.gbl...
> press ctrl or shift with prnt screen. Then go to paint or word and paste
> it and print.
>
>
> "Taoge" <luxiao***@hotmail.com> wrote in message
> news:uiABhUoTGHA.5332@tk2msftngp13.phx.gbl...
>> 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
>>
>>
>>
>
>
Author
24 Mar 2006 9:52 AM
Armin Zingler
"Taoge" <luxiao***@hotmail.com> schrieb
> 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