Automating an operation with Ghostscript 
Author Message
 Automating an operation with Ghostscript

I do not know much about postscript, so please excuse the ignorance
reflected in the question.

I wonder if it is possible to write a Ghostscript "script" that will do the
following, that I currently do daily many times in GSVIEW32. And then ...
how does one use the said script?

I describe the sequence of actions as per what one would do in GSVIEW.

Open file "name.pdf" with GSVIEW.
Select File->Convert
Choose the "pdfwrite" device. Select the options so that EmbedAllFonts is
/true. Set the resolution to 300dpi.
Set the page specification so that it is Variable
Select OK to save/convert the file to "anothername.pdf"

That's it.

And, no, I obviously don't simply copy name.pdf -> anothername.pdf using the
operating system.

Thanks

--
Mark R Diamond
Vision Research Laboratory
The University of Western Australia



Sat, 16 Oct 2004 14:12:35 GMT  
 Automating an operation with Ghostscript


Quote:
> I describe the sequence of actions as per what one would do in GSVIEW.

> Open file "name.pdf" with GSVIEW.
> Select File->Convert
> Choose the "pdfwrite" device. Select the options so that EmbedAllFonts is
> /true. Set the resolution to 300dpi.
> Set the page specification so that it is Variable
> Select OK to save/convert the file to "anothername.pdf"

This looks like
path %path%;c:\gs\gs7.05\bin;c:\gs\gs7.05\lib
ps2pdf -r300 -dEmbedAllFonts=/true name.pdf anothername.pdf

You may need to use -dEmbedAllFont#/true to get around a Micrsoft
batch file problem.



Sat, 16 Oct 2004 19:40:10 GMT  
 Automating an operation with Ghostscript
Thanks for the help

Mark



Sun, 17 Oct 2004 13:21:02 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Need automate backup operation

2. Automate Acrobat Distiller like Redmon w/ Ghostscript?

3. Automating printing with Ghostscript

4. Automate GSViewer Ghostscript

5. URGENT: Can't perform operation with async operation pending?

6. Illegal Operation

7. FileSystemObject.FileCopy Multiple-step OLE DB operation generated errors

8. problem with .vbs completing operation - freezes up, won't let me terminate it

9. halt windows operation

10. Boolean Operations for Clipping Paths

11. Operation on a String of characters

12. Triggering a Word mailmerge operation from an asp page

 

 
Powered by phpBB® Forum Software