Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!relay.nswc.navy.mil!neptune!rchui From: rchui@neptune.nswc.navy.mil (Chui) Newsgroups: comp.lang.postscript Subject: Re: how to download an Adobe font with UNIX Message-ID: <1991Jun15.203744.11125@relay.nswc.navy.mil> Date: 15 Jun 91 20:37:44 GMT References: <9990@discus.technion.ac.il> Sender: news@relay.nswc.navy.mil (0000-Admin(0000)) Reply-To: rchui@neptune.nswc.navy.mil (Chui) Organization: Naval Surface Warfare Center, Dahlgren VA Lines: 44 We licensed a copy of an Adobe font... sonata specifically We were given a choice of PC or Mac format, and chose PC format because we have PC's here but no Mac's. However the PC's are NOT connected to any of the printers.. They're all connected to Unix machines, so that we use lpr to send PostScript files to the printers. lpr refused to send the so______.pfb file because it began with something binary and not ascii.. So I stripped that header off and got down to something beginning with %!.. I sent this and this time the printer complained that a command looking like swearing (ie characters not in the standard 7bit ascii range) was not defined... The file contains binary and the printer cannot accept.. Has anyone surmounted the problem? Is there a magiv incantation that one must mutter to lpr or the printer to get the printer to accept the font definition.. There's gotta be.. because I cannot believe that you cannot use these fonts through UNIX. ----------------------------------------------------------------------------- 1st what printer you connected to Unix machine? 2nd You must buy a Postscript cartridge and install to the printer. 3rd You need to write a output filter file for Postscript file, install this outout filter file in /etc/printcap file of=/usr/local/lib/offil. I am working on that output filter file right now. This output filter file must perform three functions. 1) Check is it a Postcript file? 2) Check is(are) there other print job(s) on the printer? If 1) is True and 2) is False, then sent a toggle signal to printer, switch to Postscript mode. 3) Sent print job. I will post the source code of the output filter file. Or if anyone know there is other way to print the Postscript file in Unix machine. Please post in this newsgroup or email to me. email address: rchui@neptune.nswc.navy.mil -Raymond