Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!noao!grandi From: grandi@noao.arpa (Steve Grandi) Newsgroups: comp.text,comp.unix.questions Subject: Proper 4.3BSD printcap entry for Laserwriter Message-ID: <643@noao.UUCP> Date: Fri, 28-Aug-87 17:21:51 EDT Article-I.D.: noao.643 Posted: Fri Aug 28 17:21:51 1987 Date-Received: Sun, 30-Aug-87 04:24:24 EDT Organization: National Optical Astronomy Observatories, Tucson, AZ Lines: 28 Xref: mnetor comp.text:1117 comp.unix.questions:3776 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'm not running Adobe Transcript on the 4.3BSD VAX, but I've cribbed the printcap entry from a Sun which is, and the entry is as follows: lp2|lw2:\ :lp=/dev/lw:\ :br#9600:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sb:\ :sd=/usr/spool/lw2:\ :lf=/usr/spool/lw2/lw-log: According to my reading of tty(4), the mode bits set CBREAK and TANDEM and LDECCTQ and LLITOUT. 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? -- Steve Grandi, National Optical Astronomy Observatories, Tucson AZ, 602-325-9228 UUCP: {arizona,decvax,hao,ihnp4}!noao!grandi or uunet!noao.arizona.edu!grandi Internet: grandi@noao.arizona.edu SPAN/HEPNET: 5356::GRANDI or DRACO::GRANDI