Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 20:39:03 +0200 (MET DST)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        nathan@cslab.uky.edu (Nathaniel Wayne McConathy)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Serial printer problem
Message-ID:  <199608231839.UAA21815@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199608231518.LAA24476@york.cslab.uky.edu> from Nathaniel Wayne McConathy at "Aug 23, 96 11:18:14 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> I have identified the port cuaa1 as the free serial port avialable on my
> machine.  Then using a serial cord provided by the manufacturer of my printer
> I connected to the printer and the PC.  I set the printer to run at 1200 baud,
> with no parity, 8 data, 1 stop, XON/XOFF.  I put the following line in 
> /etc/remote:
>     printer:dv=/dev/cuaa1:br#1200:parity=none
> 
> after connecting to the printer using "tip printer"
> I try to send a postscript file to the printer by:
>      ~$psex1        

Is it a tip escape/command?
What does it mean?

> 
> The problem is that I continue to get the following result:
>   Segmentation fault (core dumped)


What is dumping core? tip?

> 
> each time.  Any advice appreciated.
>       Nathan
>         nathan@cslab.uky.edu

This is my printcap for an Dec Ln03r Scriptprinter:

lp0|local laser printer:\
       :lp=/dev/cuaa2:\
       :rw:\
       :of=/usr/local/bin/lpof:\
       :fc#0000374:fs#0000003:br#38400:\
       :xc#0:xs#0040040:sf:sb:br#38400:\
       :mx#0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:

I'm doing in rc.local:

cat -u /dev/cuaa2 >/var/log/PS-log

and if you want to watch messages coming from the ps-printer
you can always do:

tail -f /var/log/PS-log

and print using lpr.

> 
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608231839.UAA21815>