home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!decwrl!access.usask.ca!ccu.umanitoba.ca!mills
- From: mills@ccu.umanitoba.ca (Gary Mills)
- Subject: Re: Help! Problem with Postscript printer
- Message-ID: <1992Aug27.021120.11449@ccu.umanitoba.ca>
- Organization: University of Manitoba, Winnipeg, Canada
- References: <1992Aug21.233430.20143@usenet.ins.cwru.edu> <17grpsINN3t8@sixgun.East.Sun.COM>
- Date: Thu, 27 Aug 1992 02:11:20 GMT
- Lines: 25
-
- In <17grpsINN3t8@sixgun.East.Sun.COM> matthew@sun.com (Matthew Stier - Sun NC Development Center) writes:
-
- >In article 20143@usenet.ins.cwru.edu, ramesh@veda (Ramesh Doddamani) writes:
- >> Is there a way to overcome this? Has anybody come across this problem? If we
- >> have a filter that changes "%!" to "%!PS-Adobe3.0" will it work? I would
- >> appreciate if anybody has a solution for this.
- >>
-
- >Here is some pseudo-code.
-
- >first_line = 1;
- >while ( read_input != eof ) {
- > if (first_line) {
- > write "%!PS-Adobe3.0"
- > first_line = 0;
- > }
- > write input_line
- >}
-
- Here is some shell:
-
- #!/bin/sh
- echo "%!PS-Adobe3.0"; cat
- --
- -Gary Mills- -Networking Group- -U of M Computer Services-
-