From owner-freebsd-current Mon Apr 1 10:59:34 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA17413 for current-outgoing; Mon, 1 Apr 1996 10:59:34 -0800 (PST) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA17377 Mon, 1 Apr 1996 10:59:23 -0800 (PST) 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 UAA13424; Mon, 1 Apr 1996 20:56:36 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id VAA05546; Mon, 1 Apr 1996 21:03:24 +0200 From: "Christoph P. Kukulies" Message-Id: <199604011903.VAA05546@gilberto.physik.rwth-aachen.de> Subject: Re: your mail To: jhs@FreeBSD.org Date: Mon, 1 Apr 1996 21:03:24 +0200 (MET DST) Cc: ccappuc@satelnet.org, current@FreeBSD.org In-Reply-To: <199604010909.LAA00499@vector.jhs.local> from "Julian H. Stacey" at Apr 1, 96 11:09:25 am Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > Hi, Reference: > > From: Chris Cappuccio > > Date: Fri, 29 Mar 1996 13:43:50 -0500 > > Message-id: <199603291843.NAA02951@sefl.satelnet.org> > > > > strange..) I can't get he baud rate adn such set correctly > > in printcap and once I do, how would I print from applications such as umm ne > - tscape or > > something.. (ghostscript PS-->PCL?) > > Here's a ~1 year old entry I used to use on my hp3p laser (before I changed > from serial to parallel): > # serial|hp3p.raw|Raw output device hp3p:\ > # :lp=/dev/ttyb:br#19200:xc#0177777:ms=-parity,ixon,-opost: This is my printcap for a serial DecLn03r Scriptprinter (Adobe PS): # @(#)printcap 5.3 (Berkeley) 6/30/90 lp0|lp|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: lp1|remote laser printer:\ :rm=declaser3500:\ :rw:sb:sf:\ :mx#0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: And here a printcap for a local HP Laserjet III: lps|lp-postscript|hp ljet III using GS filter:\ :lp=/dev/lpt0:\ :sd=/var/spool/lps:\ :sh:\ :of=/usr/local/bin/gsljps:\ :lf=/var/log/lpd-errs:\ :mx#0: With gsljps: #!/bin/sh /usr/local/bin/gs -q -dSAFER -sDEVICE=laserjet -r300 -dNOPAUSE -sOutputFile=- - > > You can see the 19200 baud lurking in there, > The FAQ has more examples I guess, Suggested Reading: > man printcap, > /usr/share/doc/FAQ/freebsd-faq.html > Printer docs :-) > > Julian > -- > Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/ > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de