-
Notifications
You must be signed in to change notification settings - Fork 0
An LPD server that translates print jobs into PDF and emails to the originating user for IBM iOS
License
jenkstom/iSeriesPDF
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an LPD server written in c# that processes print files from an iSeries host and translates them into image formats using GhostScript running on a Windows host. If using the PDFEMAIL queue, then it emails the PDF file to the user that owns the print job, assuming the iSeries username matches a [email protected]. This server does not require any licensed programs on the iSeries such as Transform Services or Infoprint Server. iSeries -> PCL -> LPD protocol -> RQS -> GhostPCL -> PDF -> Email Note: This service accepts any print file by LPD and passes it through a program. It could be expanded to cover a wide range of use cases, including scenarios that don't involve iSeries. First you will need to create a remote output queue: http://www-01.ibm.com/support/docview.wss?uid=nas8N1010090 crtoutq (Then hit F4) Output Queue: pdfsrv Library: qusrsys (Hit F10 for more) Remote system: *INTNETADR Remote printer queue: 'PDFEMAIL' Connection Type: *IP Destination type: *other Host print transform: yes Manufacturer type and model: *HPII Internet Address: '192.168.1.22' (Hit Enter to create) strrmtwtr pfdsrv You can end with endwtr pdfsrv option(*immed) Edit the config file and add your SMTP server, domain, etc. This program uses GhostPCL to convert PCL printer files to PDF. https://www.ghostscript.com/GhostPCL.html You may download the source from this page: https://ghostscript.com/download/gpcldnld.html Copy these two ghostPCL files into your program folder before opening the project. Or just make sure they are in the executable folder when the server is run. gpcl6dll64.dll gpcl6win64.exe You may need to start it up as administrator since it's a low port. Make sure to open firewall ports as needed. Please note: Some spool files do not have SCS data created correctly. You can view the remote queue job log to see this: dspjob job(pdfsrv) These jobs will never print via this method because they do not have the data needed to create the output. When you release the job it connects to the server, checks the queue and then disconnects. On the iSeries host the status just immediately goes back to HLD. But a new output file created for this remote output queue should always work. Set the default output queue for users to this output queue and there should be no issues. Here is some info on troubleshooting this issue. http://www-01.ibm.com/support/docview.wss?uid=nas8N1019550
About
An LPD server that translates print jobs into PDF and emails to the originating user for IBM iOS
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published