Hi, I'm trying to print to an LPRng printspool from a very old Linux workstation. Upgrading the workstation is not an option due to some proprietary software for which no updates are available.
The central printserver has to translate all incoming postscript to pdf and forward the printjob to the printer. So i created an input-filter, which does the ps2pdf-processing. After processing, the job is forwarded to the printer (if certain conditions are met). I first installed LPRng on the printserver and LPRng on a testmachine. My printcap looks like: PASS|lp:\ :lp=:\ :sd=/var/spool/lpd/lpd:\ :rm=<ip-address printer>:\ :rp=PASS:\ :sh: printpdf|ps2pdf:\ :lp=/dev/null:\ :sd=/var/spool/lpd/ps2pdf:\ :if=/usr/local/sbin/copy_pdf.sh:\ :sh:of=/usr/lib/lprng/filters/lpf: As you notice, i added both :sh: and :of:. This wasn't necessary to get my testmachine printing, but printjobs from the old workstation couldn't get processes without output format filter ... The printjobs are now processed by the of, but NOT by the if when the job is sent from the old workstation. It works perfectly when the job is sent from the testmachine. I even saved the PostScript-code generated by the old workstation to a file and sent it from the testmachine: no problem at all. So i'm stuck: why do i need to alter the printcap on my server when printing from an old LPD ? And how can i instruct LPRng to use the input filter as well ? I've run 'strings' on the lpr-binaries on the old workstations and it showed: '5.1P0 10/13/98' Any help would be greatly appreciated ! Kind regards, Michael Devogelaere ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
