Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Go to previous page in postscript code

New Here ,
Sep 21, 2018 Sep 21, 2018

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
170
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 24, 2018 Sep 24, 2018
LATEST

Look under "View destinations" in the pdfmark reference.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines