[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with lpr



You can change the printer configuration to do a carriage return after a new line, or try something like this:

cat file | awk '{printf("%s\r\n", $0);}' | lpr

(sed or unix2dos should be faster, but this one works)

German.

On Thu, Aug 22, 2002 at 07:32:55PM -0400, Baris Y. wrote:
> hi,
> 
> /etc/printcap file is as follows:
> 
> lp|printer:\
>           :mx#0:\
>           :rp=printer:\
>           :rm=sillibox:\
>           :sd=/var/spool/lpd/remote:\
>           :pw#80:\
>           :sh:
> 
> 
> and the problem is, 
> when i print a text file, the second line on the page
> starts at the second row but at the column where the first line's last



Reply to: