Subject: Re: Remote printing and CR
To: None <>
From: Brook Milligan <>
List: current-users
Date: 07/07/1999 21:13:25
   I am having problems going to a HP Laserjet 5Si MX network printer.  It
   acts like an ordinary lpd type printer except it won't add a CR to newline
   so I am trying to add a filter to add them in.  Problem is that lpd won't
   run a filter for remote printers.  Since I can't muck around on the HP,
   can someone suggest the magic I need to add the CR in?

Although fixing lpd (as suggested by someone else or by using LPRng
which allows sending output directly to the printer via a special
port) is perhaps the best approach, a quick work-around involves
creating two queues.  One queue does filtering and resubmits the job
to the second queue which passes it to the remote printer.  Set up
your printcap like (which works fine with HPs print server boxes):

ljet6mp|HP LaserJet 6MP:\
ljet6mp-raw|HP LaserJet 6MP:\

and have your filter do whatever needs to happen along with piping its
output to lpr -P...