Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_add_bookmark(3) [php man page]

PS_ADD_BOOKMARK(3)							 1							PS_ADD_BOOKMARK(3)

ps_add_bookmark - Add bookmark to current page

SYNOPSIS
int ps_add_bookmark (resource $psdoc, string $text, [int $parent], [int $open]) DESCRIPTION
Adds a bookmark for the current page. Bookmarks usually appear in PDF-Viewers left of the page in a hierarchical tree. Clicking on a book- mark will jump to the given page. The note will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distillertm or Ghostview. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $text - The text used for displaying the bookmark. o $parent - A bookmark previously created by this function which is used as the parent of the new bookmark. o $open - If $open is unequal to zero the bookmark will be shown open by the pdf viewer. RETURN VALUES
The returned value is a reference for the bookmark. It is only used if the bookmark shall be used as a parent. The value is greater zero if the function succeeds. In case of an error zero will be returned. SEE ALSO
ps_add_launchlink(3), ps_add_pdflink(3), ps_add_weblink(3). PHP Documentation Group PS_ADD_BOOKMARK(3)

Check Out this Related Man Page

PS_ADD_BOOKMARK(3)					     Library Functions Manual						PS_ADD_BOOKMARK(3)

NAME
PS_add_bookmark -- Add bookmark to current page SYNOPSIS
#include <pslib.h> int PS_add_bookmark(PSDoc *psdoc, const char *text, int parent, int open) DESCRIPTION
Adds a bookmark for the current page. Bookmarks usually appear in PDF-Viewers left of the page in a hierachical tree. Clicking on a book- mark will jump to the given page. The parameter parent is another bookmark which is used as the parent of the new bookmark. If open is unequal to zero the bookmark will be shown open by the pdf viewer. The bookmark has no meaning if the document is printed or viewed but it will be used if the document is converted to pdf by either Acrobat Distillertm or Ghostview. The returned value is a reference for the bookmark. It is only used if the bookmark shall be used as a parent. RETURN VALUE
Returns the identifier of the bookmark or zero in case of an error. The identifier is a positiv number. SEE ALSO
PS_add_launchlink(3), PS_add_pdflink(3), PS_add_weblink(3) AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PS_ADD_BOOKMARK(3)
Man Page

12 More Discussions You Might Find Interesting

1. OS X (Apple)

How do I choose the application when opening a file in UNIX?

If I have a file in OSX (e.g. a pdf), I can choose how to open it i.e. with the "open with..." command from the 'right click menu'. Sometimes a pdf is garbled in OSX Preview so I need to open it in Adobe Acrobat. How do I choose the application when opening a file in UNIX? (2 Replies)
Discussion started by: Mpeter
2 Replies

2. Shell Programming and Scripting

Removing text from a line in a file

Hi All, I would like to know how to remove text from a line in a file. eg to The 4 sets of numbers are not static ie they change on each line in each different file so if anyone can help that would be great. Jeremy (10 Replies)
Discussion started by: outthere_3
10 Replies

3. Programming

Error found while opening any pdf file from IE 6

Hello All, My application is followed J2ee architecture. It contains Java and jsp codes. This application generates some reports in pdf format. I am using Weblogic 10.3 and jdk 6. While I want to open the pdf in IE 6 with service pack 2 , the pdf not showing properly. It comes in byte code.... (3 Replies)
Discussion started by: priyankak
3 Replies

4. Shell Programming and Scripting

Script for converting a pdf to book format

Hello, excuse my English... I'm trying to do a nautilus-script to transform a normal A4 pdf to another pdf with book format, ready to be printed (double sided). I mean, the script put pages in order and also put 2 pages per horizontal A4 page (p.e.: a pdf with 8 pages would look like: 8-1, 2-7,... (2 Replies)
Discussion started by: dokan
2 Replies

5. Programming

Linux C - how to open a pdf file with default reader

sorry if i repost this... hi.. i want to ask how to open pdf files using C in Linux in Windows, i just use this code: ShellExecute(GetDesktopWindow(), "open", "D:\\Folder\\File.pdf", NULL, NULL, SW_SHOWNORMAL); thanks for advance... (3 Replies)
Discussion started by: sunardo
3 Replies

6. OS X (Apple)

How to start a new terminal from command line?

Dear All, Anyone knows how to start a new bash terminal from command line? Another question: when I use "open" command (open test.pdf) to open a pdf file, the PDF reader will start up, but cannot associate with that file. Anyone knows why? (1 Reply)
Discussion started by: andrewust
1 Replies

7. UNIX for Dummies Questions & Answers

How to examine and open a text file?

Hi I am a new to linux, i was faced a file to know is a text file but its type isnt text document and i can not open it please guide me. Regards ---------- Post updated at 02:52 AM ---------- Previous update was at 02:40 AM ---------- Thank you for your cooperation, my OS is a centOS 5.5... (1 Reply)
Discussion started by: mkhorami76
1 Replies

8. UNIX Desktop Questions & Answers

cannot open text file

Hi I am a new to linux, I was faced a file to know is a text file but its type isn't text document and I cannot open it, please guide me. Regards. (2 Replies)
Discussion started by: mkhorami76
2 Replies

9. Shell Programming and Scripting

How to open a huge text file?

Hi. I have a 10 Gb text file.the default text editor in ubuntu doens't open it. Does anyone know how can i open it?? Thanks (4 Replies)
Discussion started by: stalaei
4 Replies

10. Shell Programming and Scripting

Need lot of examples

Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance.. (2 Replies)
Discussion started by: karthikeayan
2 Replies

11. Solaris

Need steps for Netbackup Update from 7.1 to 7.5

Hello Friends, I need a document with steps to upgrade Symantec Netbackup from 7.1 to 7.5. Would you please help me on this. I have Symantec provided pdf but looks like reference book. I need only steps which is needed to be followed. Please guide me. Information about my Server My... (11 Replies)
Discussion started by: manalisharmabe
11 Replies

12. Post Here to Contact Site Administrators and Moderators

Best text to pdf converter for UNIX hp/ux 11.31

Hi, Can anyone tell me the best text to pdf converter? I need to convert several text files to pdf. :)I'm looking to evaluate any products before I purchase. thanks, Linda (1 Reply)
Discussion started by: lnemitz
1 Replies