Hi
Anyone knows how can I kill a Document from the printer Queue?
Thanks!
Printable View
Hi
Anyone knows how can I kill a Document from the printer Queue?
Thanks!
Check out KillDoc method of a Printer pbject:
Syntax
object.KillDoc
The object placeholder represents anobject expression that evaluates to an object in the Applies To list.
Remarks
If the operating system's Print Manager is handling the print job (the Print Manager is running and has background printing enabled), KillDoc deletes the current print job and the printer receives nothing.
If Print Manager isn't handling the print job (background printing isn't enabled), some or all of the data may be sent to the printer before KillDoc can take effect. In this case, the printer driver resets the printer when possible and terminates the print job.
------------------
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819