Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!seas.gwu.edu!timur From: timur@seas.gwu.edu (The Time Traveler) Newsgroups: comp.windows.ms Subject: Re: Printing Uploaded Windows Postscript files from Unix 4.3bsd?? Message-ID: <3095@sparko.gwu.edu> Date: 20 Apr 91 19:10:23 GMT References: <41541@netnews.upenn.edu> Organization: The George Washington University, Washington, D.C. Lines: 36 In article <41541@netnews.upenn.edu> sal@grip.cis.upenn.edu (Marcos Salganicoff) writes: >I am using the printer driver "Postscript File" from windows to >generate a postscript file on disk from a windows application on a pc. >Then I upload the postscript file to a unix system via kermit and try >to "lpr" it onto an apple laserwriter, which promptly flashes and gives >up. > >With the macintosh there are laserprep files which must be prepended >to any file in order for it to print out. I imagine there is a similar >"prep" file for windows, right? My questions: > >1.Is there any way to get windows to include the prep file (if it >doesn't) in the postscript when the ps file is generated, or does the >printer handler take care of it? > Correct. However, this is automatically done whenever you print, unless you turn the option off. The keyword you're looking for is "Header", which can be inclucded/ignored unter the Postscript setup option under Control Panel / Printers. You want it on. It might be possible to print the header separately and never again, but I haven't gotten that to work on our system. >2.Is there are program which runs under unix which will automatically prepend >the windows "prep" file? Nope. Like I said, it's Windows thing. You have to send the file in raw mode thought (on our system, it's "lp -oraw"). Our system can detect a postscript file and switch to raw mode automatically, unless it's a strange postscript file. ----------------------------------------------------------- The Time Traveler I used to love her a.k.a. Timur Tabi But I had to kill her Internet: timur@seas.gwu.edu I had to put her six feet under Bitnet: HE891C@GWUVM And I can still hear her complain - Guns 'n Roses