View Full Version : clearing the printer buffer (cache)!!
netharam
07-26-2002, 04:35 PM
Hi, how can I clear the buffer of a printer thro' VB 6.0 programming.Hi, I've got the reply for how to print using VB,now I also want to maintain the fresh bills to be printed & the buffer cleared. In caseof paper problem or user aborting the printing,whenever the papaer is fed into it it starts printing the old data i.e from the buffer which is not needed at that time,so inorder to avoid this I've decided to clear the buffer. Is this possible thro' programming? :)
Paul Komski
07-29-2002, 09:59 PM
Printer.EndDoc Terminates a print operation sent to the Printer object, releasing the document to the print device or spooler.
Printer.KillDoc Terminates a print operation abruptly and should usually be followed by Printer.EndDoc
netharam
08-14-2002, 03:54 PM
Hi, will this clear the printer buffer or will this cancel the print job given to the printer thro' VB? This is because I'm using a LAN & I have only one printer installed & this is shared thro' the Network.:p Now I also want to clear the print out given by others which is note needed when I start printing.So will your code help me clear thr printer buffer?
vBulletin v3.6.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.