Visit Our UNIX and Linux User Community

Creating pdf with bookmarks using ps2pdf ??

Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Creating pdf with bookmarks using ps2pdf ??
# 1  
Old 05-16-2010
Tools Creating pdf with bookmarks using ps2pdf ??

Hello to all,

I have a *.ps file, which needs to be converted to a pdf file. The file is huge & i would like it to have bookmarked according to main titles (already provided).

What is the option used in ps2pdf command, that will generate bookmarks from a *.ps file ? Kindly help. Thanks.

currently i am using the following commands
groff -tps -t -U "doc.n" >

Previous Thread | Next Thread
Test Your Knowledge in Computers #287
Difficulty: Medium
AIX 7.2 was initially released on December 1, 2013.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ps2pdf: Unrecoverable error

Good Day all, I'm new to ghostscript and have installed it in my unix system two days back. But while using ps2pdf, I get the error pasted at the bottom. I was able to convert my PS file via PDF Creator manually. But this error seems to be coming while using ps2pdf. My PS File is... (8 Replies)
Discussion started by: ADHVADARZIN
8 Replies

2. Shell Programming and Scripting

Script to test bookmarks

Does anyone have a script to test for invalid bookmarks? I have a ton of them and I'd bet that a good percentage could be dropped. Tnx (4 Replies)
Discussion started by: ongoto
4 Replies

3. Shell Programming and Scripting

Converting secured pdf files to pdf using acroread

Does anybody have idea of Converting secured pdf files to pdf using acroread ? ---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ---------- This file is not password protected. (4 Replies)
Discussion started by: Soham
4 Replies

4. Shell Programming and Scripting

PDF Script to extract PDF Links MOD in Need

In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ? #!/bin/bash # NAME: pdflinkextractor # AUTHOR: Glutanimate (, 2013 #... (1 Reply)
Discussion started by: danielldf
1 Replies

5. Shell Programming and Scripting

Merging pdf and creating chapter using shell

Does anyone know how to create chapter in pdf I have 3 pdf, each pdf contains about 25 pages, I want to create 3 chapter in single pdf, and inside each chapter I want to give link to main index whether it's possible in ubuntu 12.04 64-bit OS ? I usually use pdftk for merging pdf don't... (0 Replies)
Discussion started by: Dona Clara
0 Replies

6. UNIX for Advanced & Expert Users

creating pdf file with four pages

I have some code in fortran90, example stored in scode.f90 and I want to create a pdf containing the code. I would like to have four pages of code put into each page in the pdf. I was thinking of creating a ps file using mpage and then using ps2pdf after. However, I noticed that ps2pdf shift the... (4 Replies)
Discussion started by: kristinu
4 Replies

7. Shell Programming and Scripting

Need help on ps2pdf

Hi, Iam trying to convert a .ps file to pdf in unix. iam using the command like ps2pdf my_file.pdf it is working in server1. if i execute the same in another (server2), its not working.. So i have downloaded the ps files (ps2pdf,ps2pdfwr,ps2pdf14,ps2pdf13,ps2pdf12,gs... (2 Replies)
Discussion started by: Pradeep Garine
2 Replies

8. Shell Programming and Scripting

Perl - Convert html to pdf - PDF::FromHTML

Hi, I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below. not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/ line 187 at C:/Perl/site/lib/PDF/ line 140 The perl code is as given... (2 Replies)
Discussion started by: DILEEP410
2 Replies

9. UNIX for Dummies Questions & Answers

Moving bookmarks from XP to Ubuntu

This is probably one of the dumber questions I've posted on ANY Linux forum, but I'm in a fog and can't answer it myself. My attempts at searching the forums go no where. I have Win XP and Ubuntu dual booting (via WUBI install). I want to use the Ubuntu side more but I've socked away a LOT of... (1 Reply)
Discussion started by: BillinDetroit
1 Replies
PS2PDF(1)							    Ghostscript 							 PS2PDF(1)

ps2pdf - Convert PostScript to PDF using ghostscript ps2pdf12 - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible) using ghostscript ps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later compatible) using ghostscript SYNOPSIS
ps2pdf [options...] {input.[e]ps|-} [output.pdf|-] ps2pdf12 [options...] {input.[e]ps|-} [output.pdf|-] ps2pdf13 [options...] {input.[e]ps|-} [output.pdf|-] DESCRIPTION
The ps2pdf scripts are work-alikes for nearly all the functionality (but not the user interface) of Adobe's Acrobat(TM) Distiller(TM) prod- uct: they convert PostScript files to Portable Document Format (PDF) files. If the output filename is not specified, the output is placed is a file of the same name with a '.pdf' extension. Either the input filename or the output filename can be '-' to request reading from stdin or writing to stdout, respectively, when used as a filter. The three scripts differ as follows: - ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later compatible). - ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later compatible). - ps2pdf per se currently produces PDF 1.4 output. However, this may change in the future. If you care about the compatibility level of the output, use ps2pdf12 or ps2pdf13, or use the -dCompatibility=1.x switch in the command line. There are some limitations in ps2pdf's conversion. See the HTML documentation for more information. A large number of Adobe Distiller(TM) parameters which can be used to control the conversion are also documented there, including instructions for generating PDF/X and PDF/A documents. OPTIONS
The ps2pdf scripts use the same options as gs(1). EXAMPLES
Converting a to figure.pdf: ps2pdf A conversion with more specifics: ps2pdf -dPDFSETTINGS=/prepress proof.pdf Converting as part of a pipe: -t ps | ps2pdf -dCompatibility=1.3 - - | lpr SEE ALSO
gs(1), ps2pdfwr(1), Ps2pdf.htm in the Ghostscript documentation BUGS
See and the Usenet news group comp.lang.postscript. VERSION
This document was last revised for Ghostscript version 8.70. AUTHOR
Artifex Software, Inc. are the primary maintainers of Ghostscript. This manpage by George Ferguson. 8.70 31 July 2009 PS2PDF(1)

Featured Tech Videos