PDF Creator/Shared Printer
Jason Watson
jaywatts@hotmail.com
Sun, 08 Oct 2000 01:23:44 GMT
I get this same error on all the PDF files I make with the virtual printer
scheme. Is it not possible to use ps2pdf as a filter with lpd or is there a
way to make lpd send a file instead of using STDIN?
>From: Ben Pfaff <pfaffben@msu.edu>
>Reply-To: pfaffben@msu.edu
>To: Jason Justman <justmanj@msu.edu>
>CC: pfaffben@msu.edu, GLLUG <linux-user@egr.msu.edu>
>Subject: Re: PDF Creator/Shared Printer
>Date: 28 Sep 2000 15:04:32 -0400
>
>Jason Justman <justmanj@msu.edu> writes:
>
> > weird. yes, it appears to expand properly, but when fed input from
>command line
> > redirect, it doesnt like it..
>
>It looks like it can't take input from stdin. Try feeding it a
>filename instead:
>
>blp:~(0)$ ps2pdf - foo.pdf
>showpage
>Error: /undefinedfilename in (foo.pdf)
>Operand stack:
>
>Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
>--nostringval-- 2 %stopped_push --nostringval-- 2 3
>%oparray_pop --nostringval-- --nostringval-- false 1
>%stopped_push --nostringval-- --nostringval-- 5 3 %oparray_pop
>Dictionary stack:
> --dict:778/809-- --dict:0/20-- --dict:53/200--
>Current allocation mode is local
>Last OS error: 2
>blp:~(0)$ ps2pdf > foo.pdf
>Usage: ps2pdf [options...] input.ps [output.pdf]
>blp:~(1)$ cat > foo.ps
>showpage
>blp:~(0)$ ps2pdf foo.ps foo.pdf
>blp:~(0)$
>_______________________________________________
>linux-user mailing list
>linux-user@egr.msu.edu
>http://www.egr.msu.edu/mailman/listinfo/linux-user
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.