TheHeadlessSourceMan / virtualPrinter

Easily create a windows virtual printer device using python.
MIT License
43 stars 17 forks source link

How to add support for cancelling a job mid-printing? #1

Open liamclegg opened 3 years ago

liamclegg commented 3 years ago

Thank you for sharing this! Using your source, I have created a virtual printer that allows an industrial ink-jet printer to act like a label printer, streamlining the process of printing barcodes onto parts directly from an ERP.

Now, I would like to add the ability to cancel jobs partway through. Is this a feature you can add, or can you tell me where to start? In particular, how to set up printServer.py to listen for a job cancellation signal while self.printCallbackFn(buf) is running?

Viren1801 commented 3 years ago

@liamclegg can you write down the detailed steps on how to install the virtual printer using these files please,I am facing difficulties in the steps to follow