From owner-freebsd-questions Fri Aug 23 11:31:16 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA22345 for questions-outgoing; Fri, 23 Aug 1996 11:31:16 -0700 (PDT) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA22309 for ; Fri, 23 Aug 1996 11:31:11 -0700 (PDT) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id UAA18713; Fri, 23 Aug 1996 20:26:19 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id UAA21815; Fri, 23 Aug 1996 20:39:03 +0200 From: Christoph Kukulies Message-Id: <199608231839.UAA21815@gilberto.physik.rwth-aachen.de> Subject: Re: Serial printer problem In-Reply-To: <199608231518.LAA24476@york.cslab.uky.edu> from Nathaniel Wayne McConathy at "Aug 23, 96 11:18:14 am" To: nathan@cslab.uky.edu (Nathaniel Wayne McConathy) Date: Fri, 23 Aug 1996 20:39:03 +0200 (MET DST) Cc: freebsd-questions@freebsd.org Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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