Submit a print job from a script or program and allocate it to the correct user - PaperCutSoftware/PaperCutExamples GitHub Wiki
There is no API call in web services to submit a print job. This is because the web services talk to the PaperCut MF/NG application server and print jobs have to be submitted the PaperCut print provider.
However there are a few ways to do it
- Submit the job via LPD with the correct user name. PaperCut has an LPD server for Windows
https://www.papercut.com/kb/Main/PaperCutLPDService
- Submit a PDF print job using the email to print feature in PaperCut with the correct from email address for the user
https://www.papercut.com/products/ng/manual/applicationserver/topics/mobile-email-to-print.html
- Add a PJL header to the print spool and submit the print spool via SMB or CUPS API calls.
https://www.papercut.com/products/ng/manual/applicationserver/topics/printer-external-usernames.html