We are trying to send a master document (after automatic distribution) automatically to one of our network printers, which has both a network name and an internal IP address.
But here is the really difficult part. When we print a document from our workstations, we get a hint with the Work Accounting dialog box to enter the project code before which it will be printed, so the finance department can do all its fancy accounting and billing materials.
So, how do we send a document (docx) to a network printer using the Job Accounting option programmatically?
I’m not sure how accounting data is common for print jobs, as this is the first work I have ever seen.
Here are the important features:
- PHP 5 (optional)
- Windows Server (2003, I reckon)
- Kyocera KM-4050 Printer (with Static IP)
- Experience with C ++ and Visual Basic
We did some research, but did not find too many viable solutions in the wild, and after some discussion we are not quite sure where to start. Unfortunately, there is no API that we can plug in.
----- DECISION -----
My team decided to implement code that would call an executable file to convert each document to a PCL, and then take the generated PCL and add it using
@PJL SET KJOBMANAGERCODE="[project code here]"
Then we take the generated file and write it to the printer spindle, where the printer processes it and starts each job.
Thank you all for your help. Each answer pretty much inspired a certain part of our implementation plan.
source share