Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Sun, 13 Apr 2008 00:24:00 +0900,    group: microsoft.public.win32.programmer.gdi        back       


how to know a printing job has finished? (print without spooler)   
how to know a priting job has finished, if I do NOT use "spooler".
I have to wait until it finishes and then continue the next procedure.
-- 
SHINKYOKU
date: Sun, 13 Apr 2008 00:24:00 +0900   author:   SHINKYOKU

Re: how to know a printing job has finished? (print without spooler)   
On Apr 12, 8:24 am, SHINKYOKU  wrote:
> how to know a priting job has finished, if I do NOT use "spooler".
> I have to wait until it finishes and then continue the next procedure.
> --
> SHINKYOKU 


Hi,

You can use the following APIs to get the printer status:

	GetDefaultPrinter()

	OpenPrinter()

	GetPrinter()		PRINTER_INFO_6

	...........................................
	...........................................

	ClosePrinter()

http://msdn2.microsoft.com/en-us/library/ms535475.aspx

http://msdn2.microsoft.com/en-us/library/ms536027.aspx

http://msdn2.microsoft.com/en-us/library/ms535494.aspx

http://msdn2.microsoft.com/en-us/library/ms535648.aspx

http://support.microsoft.com/default.aspx?scid=kb;en-us;160129

Kellie.
date: Sat, 12 Apr 2008 12:42:02 -0700 (PDT)   author:   Kellie Fitton

Re: how to know a printing job has finished? (print without spooler)   
thanks bro!
according to my trying,  FindFirstPrinterChangeNotification might help
-- 
SHINKYOKU
date: Mon, 14 Apr 2008 22:31:26 +0900   author:   SHINKYOKU

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us