Use LPR to send a file from Linux/Unix/AS400 to Windows
Posted on 2008-10-31
I work with various ERP systems. Most of them run on Unix/Linux/AS400. I need a seemless way to get a file from those systems into a Windows box. I would like to use the LPR service so that when someone prints from these Linux/Unix/AS400 systems, the file will be sent to Windows and will be saved as a file. Is there a way to do this, or would i need a 3rd party software? Any suggestions?
So here is how this would look; a customer prints an invoice from thier ERP system (Unix/Linux/AS400). The print driver is set to use LPR which looks for HOSTNAME or IP ADDRESS of windows machine. Once printed the invoice is sent via LPR to the windows machine where it is saved as a file (not printed). This may involve setting up some sort of input queue on the windows machine as well.
Note: Samba and NFS are not options. It has to be LPR.