lpr is given a job to spool
lpr -P<printername> -j -w176 -h <filename>
-j returns a job number
The <filename> ends up as /var/tmp/piorlfb_<some randome number>
There is a script /usr/lib/lpd/pio/etc/piorlfb that may be responsible for renaming the print file
Is there anyway I can force lpr and its subprocesses to maintain the original filename?
If not is there anyway to link this random number back the either the job number or the original filename ... a log file ... a process switch ... other ideas?
The files in /var/tmp are being automatically processed into PDF files with the same name which I need to pull back for further processing ... the issue is I haven't been able to find a link from this random number back to the original filename ... this means if there is more then one file in this folder there would be no way to know its origin
lpr -P<printername> -j -w176 -h <filename>
-j returns a job number
The <filename> ends up as /var/tmp/piorlfb_<some randome number>
There is a script /usr/lib/lpd/pio/etc/piorlfb that may be responsible for renaming the print file
Is there anyway I can force lpr and its subprocesses to maintain the original filename?
If not is there anyway to link this random number back the either the job number or the original filename ... a log file ... a process switch ... other ideas?
The files in /var/tmp are being automatically processed into PDF files with the same name which I need to pull back for further processing ... the issue is I haven't been able to find a link from this random number back to the original filename ... this means if there is more then one file in this folder there would be no way to know its origin