goal
The company I work with currently uses a black box delivery system. Every morning our delivery manager prints tickets for the delivery of their drivers. Using C #, I would like to keep a copy of each ticket printed in PDF format. The save action in PDF should be performed behind the scenes.
Note : a copy of the PDF will be in addition to the printed copy, however I would like to create a copy of the PDF when the printed copy is printed (or immediately after if I can use the saved print).
The end result . The manager prints a hard copy and the PDF file is saved in the archive folder without any interaction with the manager.
What i tried
I instructed the printer to keep printed documents after printing. This leaves the .shd and .spl file in the print queue folder. I experimented with the PrintDocument
class, but I cannot find a way to reassign the job (to the PDF driver) using the completed print job.
Question
Am I trying to do this?
Further clarification :
If this was unclear, I do not want the manager to print the document twice in the PDF driver. On average, he needs to print 60 tickets every morning before he can send his drivers. I do not want to increase this number to 120 And force it to enter file names.
In addition, the βblack boxβ delivery system includes other modules that use other parts of our manufacturing enterprise β no plug-in software.
source share