Subject: Re: Problem with CR/LF Printing Text to HP LaserJet--Progres
To: None <netbsd-users@netbsd.org>
From: None <skidmore@macconnection.net>
List: netbsd-users
Date: 10/22/2003 15:57:05
On Tuesday, October 21 2003 at 18:33 PM -0500, Richard Rauch wrote:
I put back the '\' at the end of the 'if' line, and I am now printing again,
however with stair-stepping.  My printcap now looks like this:

lp|local line printer:\
        :sh:\
        :if=/usr/libexec/filters/hpif:\
        :rm=xxx.xxx.xxx.xxx:rp=lj:sd=/var/spool/lpd:\

I tried the filter that was suggested by Richard (see below), however that 
did not cure the stair-stepping problem.

Is it time for magic filter, as suggested by Johnny?

> I don't think that you need MagicFilter for this.  A filter script that
> looks like this should be enough:
> 
>  /~~~ filter
> 
> #!/bin/sh
> 
> awk '{print $0 "\r"}'
> 
>  \___ filter
> 

Thanks,
Barry