Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Trying for 10.2.8' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Trying for 10.2.8
Authored by: Black on Nov 25, '03 12:43:57PM

I am running 10.2.8 and I have almost got it working.

One thing the post doesn't mention is that you need to have ghostscript installed. Mine was installed through Fink, so I changed the

GSBIN=`which ps2pdf`

Once I did that, I could follow the steps listed above pretty exactly. However, it didn't produce a pdf file...

I called mine topdf (mostly because I am lazy) and I tried to print using

lpr -P topdf
(where is just some postscript file I had lying around). Everything looked kosher in the log, but no pdf files were hanging out in /tmp. Very sad. Anyone have any ideas?

Log contents:

Executable: /sw/bin/ps2pdf
Arguments: |333|candrews||1|||
PDF directory: //tmp
Output file name: //tmp/zsh_ps.pdf

[ Reply to This | # ]
Trying for 10.2.8
Authored by: ptwithy on Nov 25, '03 03:20:48PM

Panther has ghostscript installed as 'pstopdf', I assume as part of fax printing, which is why I renamed it from the original script. I would think that a fink installation of ghostscript should work, so I can't explain why you are having trouble. Don't have access to Jaguar to test...

[ Reply to This | # ]
Trying for 10.2.8
Authored by: kerbaugh on Nov 30, '03 12:22:45AM

ps2pdf works a little better for me than pstopdf but the executable's syntax is different, without as many options. You don't use a -o switch, you simply list the output file as the second non-option argument. You also don't use the -i switch, you use a dash, "-" by itself. Thus I use the following lines in my script:



Try those lines in place of their counterparts in the next to last "if" clause and see if it works then. I made other changes but I think these should be enough.

[ Reply to This | # ]