Skip to main content
Participant
August 10, 2010
Question

help with a variable...

  • August 10, 2010
  • 1 reply
  • 1037 views

Hello to all the community, I would ask if I can help in a case I have to do with postscript,

I  wanted to know which variable is the postscript occupied when you print  multiple pages on one sheet, and I need to save that data to implement a  system of printing,

will be very helpful.

greetings.

This topic has been closed for replies.

1 reply

Dov Isaacs
Legend
August 10, 2010

What you are trying to accomplish is something called imposition. There is no variable in PostScript that automatically provides such a function. There are any number of ways of writing PostScript for a print job to accomplish such imposition or n-up printing. None involve simply setting a variable someplace. Strongly suggest you learn the PostScript language if you need to pursue this further.

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
estierkolAuthor
Participant
August 10, 2010

Thank  you for responding Dov.

I explain a little, I'm developing a program  where he studied printing, postscript and rescan the number of leaves by  counting the string "%% page" and the number of copies of another  string "%% BeginNonPPDFeature: NumCopies "then  I need to know the other name of the string, where does the number of  pages in a single leaf, I hope I have explained, it is to know when a  command to print multiple pages on one sheet, not if you say this is called taxation.
I will be very attentive to your answer.
Greetings.
Attentively

Luis Elizalde

Dov Isaacs
Legend
August 10, 2010

(1)     The lines beginning %% are comment lines in the PostScript program; they are not PostScript code itself and you cannot rely on them.

(2)     There is absolutely no available command in PostScript to print multiple pages per sheet.

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)