Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_add_note(3) [php man page]

PS_ADD_NOTE(3)								 1							    PS_ADD_NOTE(3)

ps_add_note - Adds note to current page

SYNOPSIS
bool ps_add_note (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open) DESCRIPTION
Adds a note at a certain position on the page. Notes are like little rectangular sheets with text on it, which can be placed anywhere on a page. They are shown either folded or unfolded. If folded, the specified icon is used as a placeholder. 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 $llx - The x-coordinate of the lower left corner. o $lly - The y-coordinate of the lower left corner. o $urx - The x-coordinate of the upper right corner. o $ury - The y-coordinate of the upper right corner. o $contents - The text of the note. o $title - The title of the note as displayed in the header of the note. o $icon - The icon shown if the note is folded. This parameter can be set to comment, insert, note, paragraph, newparagraph, key, or help. o $open - If $open is unequal to zero the note will be shown unfolded after opening the document with a pdf viewer. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_add_pdflink(3), ps_add_launchlink(3), ps_add_locallink(3), ps_add_weblink(3). PHP Documentation Group PS_ADD_NOTE(3)

Check Out this Related Man Page

PS_ADD_PDFLINK(3)							 1							 PS_ADD_PDFLINK(3)

ps_add_pdflink - Adds link to a page in a second pdf document

SYNOPSIS
bool ps_add_pdflink (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename, int $page, string $dest) DESCRIPTION
Places a hyperlink at the given position pointing to a second pdf document. Clicking on the link will branch to the document at the given page. The first page in a document has number 1. The hyperlink's source position is a rectangle with its lower left corner at ($llx, $lly) and its upper right corner at ($urx, $ury). The rectangle has by default a thin blue border. 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 $llx - The x-coordinate of the lower left corner. o $lly - The y-coordinate of the lower left corner. o $urx - The x-coordinate of the upper right corner. o $ury - The y-coordinate of the upper right corner. o $filename - The name of the pdf document to be opened when clicking on this link. o $page - The page number of the destination pdf document o $dest - The parameter $dest determines how the document is being viewed. It can be fitpage, fitwidth, fitheight, or fitbbox. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_add_launchlink(3), ps_add_locallink(3), ps_add_weblink(3). PHP Documentation Group PS_ADD_PDFLINK(3)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CDE - Icon positions when ICONISING

Stupid question I know, but. I have a lot of users that have an application open, which covers the upper left corner of the screen. Because this app has a number of windows that can be open at once. I have been asked to enable the excess windows to iconise down the right hand side of the screen... (1 Reply)
Discussion started by: jagannatha
1 Replies

2. Shell Programming and Scripting

sed or ????

I have a big text file that has specific paragraph titles always in the same order. If I wanted to delete all text after a certain title would I want to use sed or another command? The paragraph titles are "unique" in the way that they are not located anywhere else in the file. (3 Replies)
Discussion started by: iCONAN
3 Replies

3. 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

4. UNIX for Dummies Questions & Answers

Generating key values for leader records

All, I have a file with text as shown below. I want the o/p file with generated values in the first column as shown in the o/p file. Pls note that the size of my file is 6 GB. How do i do this ? Input file 999999abcdef 999999ghijkl 999999mnopq 777777rosesarered 777777skyisblue Output... (1 Reply)
Discussion started by: ajfaq
1 Replies

5. Shell Programming and Scripting

Need your HELP:: Shell script to detect paragraph in coordinate-based code.

Hi Friends!! I have obtained following output from a tool called pdftoxml: <xml> <text top="423" left="521" width="333" height="20" font="3">Although the the number of fuzzy rules of a system is </text> <text top="441" left="500" width="355" height="20" font="3">directly dependant on these... (2 Replies)
Discussion started by: parshant_bvcoe
2 Replies

6. 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

7. Shell Programming and Scripting

How to put content of file into a variable?

For example, I have a simple text file note: this a note a simple note a very very simple notewhen I use this command, temp=$(cat "note.txt")then I echo temp, the result is in one line. echo $temp note: this a note a simple note a very very simple noteMy variable doesn't have newline. How... (7 Replies)
Discussion started by: 14th
7 Replies

8. 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

9. Ubuntu

Software to work and convert to pdf with good frontend

Hello, I use pdftk for join pdf and split pages and more option! But this is through terminal! I need the software with frontend and, especially, with option on button right mouse hover icon document whit option "convert direct to pdf". This software, or frontend exist? Thanks (0 Replies)
Discussion started by: enodev
0 Replies

10. What is on Your Mind?

New Login Button for UNIX.COM

Hey, Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right. I have tested and it seems to work fine (has been working on mobile for quite some time); but I may tweek the... (14 Replies)
Discussion started by: Neo
14 Replies