Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!portal!cup.portal.com!pwhite From: pwhite@cup.portal.com (Phil AZX White) Newsgroups: comp.sys.next Subject: Re: Mac printing to NeXT laser problems Message-ID: <40474@cup.portal.com> Date: 23 Mar 91 06:21:55 GMT References: <1991Mar22.221311.892@hawk.cs.ukans.edu> Organization: The Portal System (TM) Lines: 36 How to print PS from MAC ctrl-K on NeXT laser printer... got these off a previous posting awhile back and works great. 1. do the ctrl-K thing 2. use the MAC file transfer capabilities to get postscript0 file to NeX 3. create the following SED script 1i\ %!PS-Adobe-2.0 402,421d 82,83d 20,24c\ /ok true def\ /LW false def\ /waittimeout 300 def\ /fc {} def 8,18d 4. execute "SED -f script-filename input-filename>output-filename.ps 5 execute "lpr output-filename.ps 6. ignore the " in steps 4 and 5 above (typo) 7. printer does its thing and all are happy Works 99% of the time. Occasionally get an alert for bad command "restore", but still get the output just fine. Also, works for a DEC/VAX LPS 40 print server by doing the same things to postscript file header, except don't think you need the !PS-ADOBE-2.0 Word of caution... use only fonts available to your target printer or you'll get a warning (on a VAX) or wrong font on NeXT. Not sure what the above is really doing to Postscript header... but thanks to whoever originally posted the method...it does the job perfectly! Best wishes, Phil White