Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!sics.se!fuug!funic!csc.fi!vsarkela From: vsarkela@csc.fi Newsgroups: comp.lang.postscript Subject: Re: PostScript headers Message-ID: <1991Jun12.231051.1@csc.fi> Date: 12 Jun 91 23:10:51 GMT References: <1991Jun11.092741.27041@cheops.qld.tne.oz.au> <1991Jun11.133128.20685@nntp-server.caltech.edu> Sender: usenet@nic.funet.fi Organization: Finnish Academic and Research Network Project - FUNET Lines: 27 Nntp-Posting-Host: csc.fi In article <1991Jun11.133128.20685@nntp-server.caltech.edu>, carl@iago.caltech.edu (Lydick, Carl) writes: > In article <1991Jun11.092741.27041@cheops.qld.tne.oz.au>, colemanm@cheops.qld.tne.oz.au (Mark Coleman) writes... >>I'm sorry if this is a FAQ but I don't normally frequent this group. >> >>I'd like to know what is the absolute definitive way to recognise a >>Postscript file. > > The only "absolute definitive" way to recognize one is to send it to a printer > or other display device that's running Adobe PostScript. If the printer > accepts it, it was PostScript; otherwise, it wasn't. > -------------------------------------------------------------------------------- > Carl J Lydick HEPnet/NSI: SOL1::CARL Internet: CARL@SOL1.GPS.CALTECH.EDU My experience is, that if you copy a windows 3 postscript file to printer attached directly to the PC, it works fine. On the other hand, if you transfer that file to a u*ix machine and try lpr to print it, nothing happens. I solved this problem with a filter, which inserts carriage return and line feed after the control-d. Control-d is required to reset the printer after previous job (it clears the header, which normally comes with each ps file) and %! must be the two first characters after cr lf. I haven't checked out, if ultrix drivers (filters) or decserver insert something after control-d... -Vesa Sarkela Finnish Pulp & Paper Research Institute