0
Go to previous page in postscript code
New Here
,
/t5/postscript-discussions/go-to-previous-page-in-postscript-code/td-p/10125409
Sep 21, 2018
Sep 21, 2018
Copy link to clipboard
Copied
Hello,
in my code snippet, I'm trying to create a "go back" button with a text over a rectangle that brings the user to the previous page of a multi-page ps.
here after the code:
<</PageSize [842 595]>> setpagedevice
gsave
/Times-Roman-Bold findfont
12 scalefont
setfont
newpath
10 10 moveto
(BACK PAGE) show
grestore
[/Rect [9.000 9.0000 82.00 21.0]
/Border [1 1 1 [3]]
/Color [0 0 1]
/Page WANT TO GO TO THE PREVIOUS PAGE
/View [/XYZ null null 0]
/Subtype /Link
/ANN pdfmark
Is there a way to add in the code a command or attribute to bring the user to a previous page?
Thank you in advance if you could help me!
Jop
TOPICS
Programming
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/postscript-discussions/go-to-previous-page-in-postscript-code/m-p/10125410#M1600
Sep 24, 2018
Sep 24, 2018
Copy link to clipboard
Copied
Look under "View destinations" in the pdfmark reference.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

