Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 1996 21:03:24 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        jhs@FreeBSD.org
Cc:        ccappuc@satelnet.org, current@FreeBSD.org
Subject:   Re: your mail
Message-ID:  <199604011903.VAA05546@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199604010909.LAA00499@vector.jhs.local> from "Julian H. Stacey" at Apr 1, 96 11:09:25 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Hi, Reference:
> > From: Chris Cappuccio <ccappuc@satelnet.org> 
> > 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



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