Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mb@ttidca.tti.com (Michael Bloom) Newsgroups: comp.sys.sun Subject: Re: Laserwriter 'kit' on QMS-PS810 problems Message-ID: <3718@ttidca.TTI.COM> Date: 8 Feb 89 01:18:48 GMT References: <6161@ecsvax.uncecs.edu> Sender: usenet@rice.edu Organization: Citicorp/TTI, Santa Monica Lines: 30 Approved: Sun-Spots@rice.edu Original-Date: 18 Jan 89 03:00:56 GMT X-Sun-Spots-Digest: Volume 7, Issue 140, message 6 of 9 dfh@uncecs.edu (David Hinnant) writes: >We're having mucho problemeros getting the Sun Laserwriter Kit to function >properly with a QMS-PS810. Enscript works fine. However, ptroff works OK >with the normal Times font only. I ran into this on a sunos4 system. Seems that Sunos4's troff is pickier about argument/flag ordering than ptroff expects it to be. The following changes worked for me (Since you're using a PS-810, I didn't bother to edit out an unrelated change that produces better page centering on my PS-810): *** ptroff Thu May 14 01:49:35 1987 --- /usr/local/ptroff Mon Nov 14 09:18:44 1988 *************** *** 25,26 **** --- 25,28 ---- -#*|-h|-m) spool="$spool $1" ;; + -m*) mac="$mac $1" ;; + -P*) printer=$1 ;; *************** *** 45,48 **** fi ! troff="troff -F${psfontlib}/ftXX -t $opt ${psfontlib}/${family}.head $fil " ! pscat="pscat -F${psfontlib}/${family}.ct " --- 47,50 ---- fi ! troff="troff -F${psfontlib}/ftXX -t $opt $mac ${psfontlib}/${family}.head $fil " ! pscat="pscat -y -25 -x +22 -F${psfontlib}/${family}.ct "