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
Copy link to clipboard
Copied
Look under "View destinations" in the pdfmark reference.