From: CSBVAX::CSBVAX::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 4-MAR-1989 02:15 To: MRGATE::"ARISIA::EVERHART" Subj: Re: ScriptPrinter V2.0 software does not work with LaserWriters Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Fri, 3 MAR 89 15:02:46 PDT Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Fri, 3 Mar 89 14:55:56 PST Received: by ucbvax.Berkeley.EDU (5.61/1.33) id AA07402; Fri, 3 Mar 89 14:37:07 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 3 Mar 89 21:14:31 GMT From: trumbo@arizona.edu (Jan Trumbo) Organization: U of Arizona Center for Computing and Information Technology Subject: Re: ScriptPrinter V2.0 software does not work with LaserWriters Message-Id: <9551@megaron.arizona.edu> References: <890228143244.294066dd@SCRI1.SCRI.FSU.EDU> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com In article <890228143244.294066dd@SCRI1.SCRI.FSU.EDU> DOUG@SCRI1.SCRI.FSU.EDU (Doug Lee 904/644-4275) writes: > >We were very please to receive the latest version of the ScriptPrinter >software (V2.0) yesterday. We were quickly disappointed, however, when >we discovered it does not work with our Apple LaserWriters. (It works >fine, of course, with our LN03R.) The previous version (V1.1) worked with >the LaserWriters after we made a change to the device control library, but >this version does not even appear to be communicating with the printer (with >or without the changes to the library). You still need to change the device control library. The problem you are seeing is because the first module to be sent to the printer is one that contains an unrecognized command, so the printer does not even get its error reporting set up. Basically, the Laserwriter has no papersize command, so a macro can be substituted. Also, it calls its tray "letter" instead of "lettertray", so a global substitution in all modules was made. I've made very simple changes to the postscript and haven't had any problems yet. The diffs are below. One neat thing about the new symbiont is that it now queries the printer before and after each job to get an accurate count of how many actual sheets it printed. :) Jan Trumbo trumbo@rvax.ccit.arizona.edu University of Arizona trumbo@arizrvax.bitnet ************ File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$GETSHEETCOUNT.020;2 2 /papersize {/letter /foobar}def 3 save statusdict begin(%%[ Sheetsize: )print papersize pop 20 string cvs ****** File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$GETSHEETCOUNT.020;1 2 save statusdict begin(%%[ Sheetsize: )print papersize pop 20 string cvs ************ Number of difference sections found: 1 Number of difference records found: 1 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=IVAX_SYS:[TRUMBO.SCRATCH]SHEET.DIFF;1- DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$GETSHEETCOUNT.020;2- DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$GETSHEETCOUNT.020;1 ************ File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$LOADDICT.020;3 32 mark/a/letter/a3/a3tray/a4/a4tray/a5/a5tray/b/11x17tray/b4/b4tray/b5 33 /b5tray/c4/c4tray/c5/c5tray/dl/dltray/executive/executivetray/legal 34 /legaltray/letter/letter/ledger/11x17tray/#10/#10envelopetray/9x12 35 /9x12tray/10x13/10x13tray/a4tray/a4tray/letter/letter/c4_envelope 36 /c4tray/c5_envelope/c5tray/dl_envelope/dltray/10x13_envelope/10x13tray ****** File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$LOADDICT.020;1 32 mark/a/lettertray/a3/a3tray/a4/a4tray/a5/a5tray/b/11x17tray/b4/b4tray/b5 33 /b5tray/c4/c4tray/c5/c5tray/dl/dltray/executive/executivetray/legal 34 /legaltray/letter/lettertray/ledger/11x17tray/#10/#10envelopetray/9x12 35 /9x12tray/10x13/10x13tray/a4tray/a4tray/lettertray/lettertray/c4_envelope 36 /c4tray/c5_envelope/c5tray/dl_envelope/dltray/10x13_envelope/10x13tray ************ ************ File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$LOADDICT.020;3 42 /papersize {/letter /foobar}def ****** File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$LOADDICT.020;1 ************ Number of difference sections found: 2 Number of difference records found: 5 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=IVAX_SYS:[TRUMBO.SCRATCH]LOADDICT.DIFF;1- DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$LOADDICT.020;3- DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$LOADDICT.020;1 ************ File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$SYSTEMPAGES.020;2 23 begin/papersize where{pop papersize pop/letter ne}{true}ifelse 24 end{gsave clippath pathbbox grestore/ury xdef/urx xdef/lly xdef/llx xdef ****** File DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$SYSTEMPAGES.020;1 23 begin/papersize where{pop papersize pop/lettertray ne}{true}ifelse 24 end{gsave clippath pathbbox grestore/ury xdef/urx xdef/lly xdef/llx xdef ************ Number of difference sections found: 1 Number of difference records found: 1 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=IVAX_SYS:[TRUMBO.SCRATCH]SYSTEM.DIFF;1- DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$SYSTEMPAGES.020;2- DISK$TSS:[KITS.SCRIPTPRINTER.020.HACKSPACE]LPS$$SYSTEMPAGES.020;1