Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pstopdf(1) [osx man page]

pstopdf(1)						    BSD General Commands Manual 						pstopdf(1)

pstopdf -- convert PostScript input into a PDF document. SYNOPSIS
pstopdf [inputfile] [-o outname] [-l] [-p] [-i] DESCRIPTION
pstopdf is a tool to convert PostScript input data into a PDF document. The input data may come from a file or may be read from stdin. The PDF document is always written to a file. The name of the output PDF file is derived from the name of the input file or may be explicitly named using the -o option. Flags: -o outname The name of the output file to create. If an explicit file name is not supplied, the output file will be created in the current directory and named foo.pdf for an input file named -i Reads from stdin rather than a named input file. If the output file is not explicitly named and the input data comes from stdin the named output file will be stdin.pdf -l Specifies that any messages generated during file conversion be written to a log file. For an output file named foo.pdf the generated log file is foo.pdf.log rather than generated to stdout. If there are no messages, the log file is not generated. -p Generates a simple progress message to stdout at the end of each page. Because conversion of complex or lengthy PostScript input can take time, it is sometimes useful to see that progress is being made. Progress messages are always written to stdout even when the -l (log file) option is specified. EXAMPLES
pstopdf Creates a PDF file named inputfile.pdf from the PostScript data in the input file pstopdf -i -o outputfilename Creates a PDF file named outputfilename from the PostScript data read from stdin. Apple Computer, Inc. June 2, 2019 Apple Computer, Inc.

Check Out this Related Man Page

PSTOPDF(1)							      ConTeXt								PSTOPDF(1)

pstopdf - convert EPS to PDF SYNOPSIS
pstopdf [ OPTION ... ] FILE [ ... ] DESCRIPTION
pstopdf converts EPS (encapsulated PostScript) to PDF. OPTIONS
--help Print usage and version information. --convert Convert EPS to PDF. This option is assumed if none is given. --method=string What method to use for bounding boxes when converting to PDF. Specify one of crop, bounded (the default), or raw. Older versions of ConTeXt used numerical methods (1, 2, or 3). --resolution=string The resolution to use when when converting to pdf. Specify one of low, normal, medium, high, printer, print, screen, ebook, or default. --request Handle exa request file. --watch Watch folders for conversions (untested). EXAMPLES
To make cow.pdf: pstopdf cow.eps or (one of several equivalents): pstopdf --convert cow.eps cow.pdf SEE ALSO
epstopdf(1), mptopdf(1), ps2pdf(1), texexec(1). ConTeXt wiki <>. AUTHOR
This (incomplete) manual page was written by Sanjoy Mahajan <>. It is in the public domain. pstopdf 2.0 December 2006 PSTOPDF(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl question - removing line from input file

In perl I want to do remove the top line of my input file then process the next line. I want to do something like head -1 inputfile > temp grep -v temp inputfile > newinputfile cp newinputfile inputfle is this possible in perl? (3 Replies)
Discussion started by: reggiej
3 Replies

2. UNIX for Dummies Questions & Answers

Report to PDF

Hi their, I am trying to find out if there is a way that when a report is generated it can be converted to a PDF or generated as a PFD. :D (5 Replies)
Discussion started by: Croney69
5 Replies

3. Filesystems, Disks and Memory


How to convert a .doc document to .pdf (2 Replies)
Discussion started by: areef4u
2 Replies

4. UNIX for Dummies Questions & Answers

Script Assist

Hello all I am new and I had a question that I was hoping you could answer. I am using mutt on a directory in this directory will be pdf files named 001.pdf , 002.pdf and so on. I need a script that can read the filename and associate that with a user like so : if 001.pdf exists then email... (16 Replies)
Discussion started by: linuxguy30350
16 Replies

5. Windows & DOS: Issues & Discussions

convert pdf's to word

Does anyone know any good tools to convert a pdf to word, I can usually cut & paste without a hitch but I have a pdf that doesn't like that and surrounds text with lines as though a table or prints tables in miniscule text. It's only one pdf file so I'm reluctant to buy a product. (3 Replies)
Discussion started by: gefa
3 Replies

6. UNIX for Dummies Questions & Answers

beginner redirect question

How can I redirect all stdout and stderr messages from a command to /dev/null (or to a file if need be) except messages that start with the word 'foo'? Messages that start with 'foo' need to be displayed in real time (i.e., when they are sent to stdout/stderr by the command). Thanks. (5 Replies)
Discussion started by: darwin_886
5 Replies

7. Shell Programming and Scripting

perl parse log

Hi anyone can can i get all second column data in this log below?? x 799002577959.pdf, 25728 bytes, 51 tape blocks x 800002357216.pdf, 25728 bytes, 51 tape blocks x aadb090910.txt, 80424 bytes, 158 tape blocks x tsese090909.txt, 13974 bytes, 28 tape blocks (4 Replies)
Discussion started by: netxus
4 Replies

8. UNIX for Dummies Questions & Answers

grep command

Hello, I trying to use grep command get rid of some header and footer data out of a pdf. I have some random header data before the %PDF and some footer data after the %%EOF. I have been able to get rid of the header data: grep -shaA 2147483647 "^%PDF-1" test.pdf >test1.pdf how to also get... (2 Replies)
Discussion started by: dpdpdp95
2 Replies

9. Ubuntu

Fetch html page convert to pdf automatically via cmd or other means, shortcut

Hi, Im used to compiling when i stumble upon some interesting topics in the net and convert it into pdf files unto my HD for future reference's. I using the chrome print to pdf procedure since firefox html to pdf don't work correctly. I just wonder in someone do same thing and did it in a easy... (3 Replies)
Discussion started by: jao_madn
3 Replies

10. UNIX for Dummies Questions & Answers

Creating a PostScript File

Hi All, I have a requirement, where i have create a pdf file in unix. I have gone through few links and understood that it could be done in 2 step manner. - Create a .ps PostScript file. - Pass .ps file to p2pdf command to create the pdf. But i am having trouble creating the .ps file. I... (3 Replies)
Discussion started by: abhisheksunkari
3 Replies

11. UNIX for Dummies Questions & Answers

Covert textfile to pdf format in ksh UNIX

Dear Friends, Is there anyway we can convert the textfile to pdf file. I have used mv a.txt a.pdf command but dont able open the file in pdf. Plz advice . (2 Replies)
Discussion started by: i150371485
2 Replies

12. UNIX for Dummies Questions & Answers

How to move file from one directory to other of only particular user?

I written unix script where a pdf file generates. But if the script is used by multiple people at a time it generates same pdf with two different owner names and creating a problem with permission while moving the file. is there a way where i can move the file filtering with the user? (4 Replies)
Discussion started by: lakers646
4 Replies

13. Shell Programming and Scripting

Multiple File renaming with a twist

Hi I can do simple file renaming but this task is slightly more troublesome Ive got a guy that gives me multiple .pdf filles in a directory named something like 3412345.pdf 4565465.pdf 8534534.pdf And he also gives me a html file which is tabled with which shows the filenames above... (2 Replies)
Discussion started by: messiah1
2 Replies

14. UNIX for Advanced & Expert Users


From where i can get complete Ref. pdf of AutoSys r11.3 any one got idea ? I cant find good document for that (2 Replies)
Discussion started by: ujjwal2120
2 Replies

15. UNIX for Beginners Questions & Answers

Looping through input/output

Hi, I've got a directory of about 6000 txt files that look like this: a b c d e f g h k l m n I need to execute a command on them to combine them and, in the end, have one big file with all the needed columns taken form all the 6000 files. I've got the "combining" program, but my problem... (26 Replies)
Discussion started by: zajtat
26 Replies