*BSD News Article 32804


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!library.ucla.edu!psgrain!quagga.ru.ac.za!Braae!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Output problems with parallel printer. How do I fix?
Date: 17 Jul 1994 15:51:10 GMT
Organization: Rhodes University Computing Services
Lines: 24
Message-ID: <30bk1f$34k@quagga.ru.ac.za>
References: <1994Jul16.014916.21211@merlin.hgc.edu>
Reply-To: csgr@cs.ru.ac.za
NNTP-Posting-Host: braae.ru.ac.za
X-Newsreader: NN version 6.5.0 #4 (NOV)

In <1994Jul16.014916.21211@merlin.hgc.edu> noni4737@hgc.edu (walter noniewicz) writes:

>I killed the daemon, deleted all other files under /var/spool/lpd, shutdown
>the system and reset the printer.  Then when I executed "lpr myfile" I
>received:
>This is my file.
>                This is another line of the same file.

>When I executed "lpr myfile" again, I received:
>                                                      This is my file.
>                                                                      This is

Your printer is expecting DOS-style CR-LF sequences at the ends of
lines in files.  (It is only getting carriage returns, no linefeeds.)
You will have to either filter your output files to add these, or you
will have to change your printer's settings (I'm not sure if you can do
this).

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za