PDF Creator/Shared Printer

Ben Pfaff pfaffben@msu.edu
28 Sep 2000 12:26:12 -0400


Jason Justman <justmanj@msu.edu> writes:

> When I try to use your hack like this:
> 
> /usr/bin/ps2pdf - /home/samba/pdf_output/`date +%Y.%m.%m`.$$.pdf
> 
> I end up getting an additional 2 pages to the PDF document stating
> 'ERROR: undefinedfilename
> OFFENDING COMMAND: /home/samba/pdf_output/1852.pdf
> STACK:'
> 
> and the doc doesnt show up in /home/samba/pdf_output.

blp:~(0)$ echo /usr/bin/ps2pdf - /home/samba/pdf_output/`date +%Y.%m.%m`.$$.pdf
/usr/bin/ps2pdf - /home/samba/pdf_output/2000.09.09.627.pdf

So I can't see that the problem could be in the command--it's
expanding the way it should.

> What version of ps2pdf are you using?

I dunno, but it came with Debian "gs" version 5.10-10.