🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3988

Re: Proper 4.3BSD printcap entry for Laserwriter

#3988
From: hls
Date: Mon, 31 Aug 1987 22:55
48 lines
2014 bytes
In article <643@noao.UUCP> grandi@noao.arpa (Steve Grandi) writes:
>
>How does one set up a proper /etc/printcap for an Apple Laserwriter on a
>4.3BSD system?  I want to run TeX output and ditroff output generated by
>Pipeline's devps.

>I can tip to /dev/lw and converse with the laser printer, and I can
>"cat file.ps > /dev/lw" and get nice clean output.  Yet if I 
>"lpr -Plw2 file.ps", strange things happen.  The Laserwriter's yellow
>light blinks for the appropriate amount of time and I can see lights moving
>around down inside the cover release cutout; but no pages are printed.
>
>Any ideas?  Any working printcaps?

We use the following printcap-entry for the Apple LaserWriter:

lw|laserwriter:\
	:lp=/dev/ttye2:sd=/usr/spool/lpd/lwd:\
	:br#9600:fs#06320:fc#040:pl#66:pw#96:\
	:lf=/usr/adm/lwd-errs:af=/usr/adm/lwd-acct:\
	:mx#0:sh:\
	:if=/usr/local/lib/print/nroff:nf=/usr/local/lib/print/ditroff:

Important: NO RAW MODE !!!!!

Furthermore you could use the following filters:

	==== ditroff =====
	#! /bin/csh
	echo ""
	cat - | devps -r
	echo ""
	==================

	==== nroff =======
	#! /bin/csh
	echo ""
	cat - | printer | reverse
	echo ""
	==================

Harry Schreurs

/*
 * This note does not necessarily represent the position
 * of Oce-Nederland B.V. Therefore no liability or
 * responsibility for whatever will be accepted.
 */
Technical Details
Message-ID: <410@oce-rd4.oce-rd1.oce.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!boulder!hao!gatech!seismo!mcvax!oce-rd1!hls
References: <643@noao.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!boulder!hao!gatech!seismo!mcvax!oce-rd1!hls
From: hls@oce-rd1.UUCP
Newsgroups: comp.text,comp.unix.questions
Subject: Re: Proper 4.3BSD printcap entry for Laserwriter
Message-ID: <410@oce-rd4.oce-rd1.oce.nl>
Date: Mon, 31-Aug-87 18:55:42 EDT
Article-I.D.: oce-rd4.410
Posted: Mon Aug 31 18:55:42 1987
Date-Received: Thu, 3-Sep-87 00:36:24 EDT
References: <643@noao.UUCP>
Reply-To: hls@oce-rd4.UUCP (Harry Schreurs)
Organization: Oce-Nederland bv, Venlo, the Netherlands
Lines: 48