Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!unixg.ubc.ca!news.mic.ucla.edu!ux1.lmu.edu!s069.infonet.net!s069.infonet.net!not-for-mail From: burgess@s069.infonet.net (Dave Burgess) Newsgroups: comp.os.386bsd.questions Subject: Re: Output problems with parallel printer. How do I fix? Date: 17 Jul 1994 13:53:41 -0500 Organization: Configuration Management Svcs, Inc Lines: 36 Message-ID: <30bunl$bf@s069.infonet.net> References: <1994Jul16.014916.21211@merlin.hgc.edu> <30bk1f$34k@quagga.ru.ac.za> NNTP-Posting-Host: cynjut.infonet.net In article <30bk1f$34k@quagga.ru.ac.za>, Geoff Rehmet <csgr@cs.ru.ac.za> wrote: }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. You can also change the ff: (I think) settings in your /etc/printcap so that whenever your system sends a FF, the printer is faked out. The trick is to send whatever printer commands are appropriate (I think I used 12 LPI, 1 Inch Left Margin, CR=CR+LF, and FF in the one I set up in Texas). I think that this is in the FAQ. I will check to make sure, and if it isn't, I will add it this afternoon. -- TSgt Dave Burgess | Dave Burgess NCOIC, USSTRATCOM/J6844 | *BSD FAQ Maintainer Offutt AFB, NE | Burgess@cynjut.infonet.net or ...@s069.infonet...