[S.u.S.E. Linux] Serial Printing
I am trying to configure a serial printer on my linux box but I can not print trought lpr. I can print any file with cat, very well, but if I try to print with lpr, the first characters of the file are printing only. This is the printcap: lp|testprt|testprt|testprt:\ :lp=/dev/ttyS1:sd=/var/spool/lpd/testprt:\ :br#9600:\ :ty=ixon -imaxbel -ixany -ixoff -crtscts:\ :if=/usr/sbin/epson9-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: :mx#0:\ :sh:sf:\ In this printer I print text only. Then I do not need any filter. Any suggestion will be appreciated. ----/ / _ Rodolfo Pilas ---/ / (_)__ __ ____ __ rodolfo@linux.org.uy --/ /__/ / _ \/ // /\ \/ / -/____/_/_//_/\_,_/ /_/\_\ la oportunidad de dominar tu computadora ------------------------------------------------------------------- Personal Official Web Page -> <A HREF="http:///www.internet.com.uy/rodolfo"><A HREF="http:///www.internet.com.uy/rodolfo</A">http:///www.internet.com.uy/rodolfo</A</A>> Gente Como Uno BBS -> <A HREF="http://www.geocities.com/SiliconValley/4838"><A HREF="http://www.geocities.com/SiliconValley/4838</A">http://www.geocities.com/SiliconValley/4838</A</A>> Grupo Usuarios Linux Uruguay [UYLUG] -> <A HREF="http://www.linux.org.uy"><A HREF="http://www.linux.org.uy</A">http://www.linux.org.uy</A</A>> PGP Public Key Fingerprint = EE 6C 76 53 2B D9 2F 53 7B CE E3 69 8C ED 84 09 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
On 13-Aug-98 Rodolfo Pilas wrote:
I can print any file with cat, very well, but if I try to print with lpr, the first characters of the file are printing only.
This is the printcap:
lp|testprt|testprt|testprt:\ :lp=/dev/ttyS1:sd=/var/spool/lpd/testprt:\ :br#9600:\ :ty=ixon -imaxbel -ixany -ixoff -crtscts:\ :if=/usr/sbin/epson9-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: :mx#0:\ :sh:sf:\
In this printer I print text only. Then I do not need any filter.
Any suggestion will be appreciated.
It may be worth trying to localise the problem as "hardware" vs "software". In your printcap, make the temporary change of the entry :lp=/dev/ttyS1: to, say, :lp=/homedir/testprint: which should have the effect that what the system normally sends to /dev/ttyS1 gets saved in the file /homedir/testprint instead. If that is truncated, then there is a software problem (in /usr/sbin/epson9-filter ?); otherwise, if the file is complete, then it is a hardware problem. If you do not need a filter, then you can presumably cut out the entry :if=/usr/sbin/epson9-filter: -- what then happens? When you print by "cat", is it "cat ... > /dev/ttyS1" or to some other device? Good luck, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Date: 13-Aug-98 Time: 14:48:55 -------------------------------------------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (2)
-
rodolfo@linux.org.uy
-
Ted.Harding@nessie.mcc.ac.uk