Skip to main content
Participant
December 21, 2011
Answered

Printing a PDF document within a postscript file

  • December 21, 2011
  • 4 replies
  • 7438 views

I know it is possible to print a PDF document from within a postscript file using Document Structuring Comments and Document Comment Extensions.  Is is possible to print a single page PDF document multiple times as a booklet?  For example I have a PDF document that is a page of graph paper.  I want to print this PDF file 8 times in the form of a booklet.  Is this possible and if it is how would I code the postscript to do this?

Thank you  in advance

David

This topic has been closed for replies.
Correct answer Dov Isaacs

Where do you know that “it is possible to print a PDF document from withint a PostScript file using Document Structuring Comments and Document Comment Extensions” from?

PDF is absolutely not part of the PostScript language itself. Nor is there anything in the DSC specifications that provides for printing a PDF document from within a PostScript file.

Attached to this posting are the two existing pieces of documentation of DSC from Adobe. Neither references such a capability.

DSC are simply “comments” within a PostScript program file which may be used by preprocessing software or external applications for various puposes, especially associated with prepress actions and placing of EPS (Encapsulated PostScript) in other graphic arts documents.

Conceivably some implementor of some PostScript product may have provided some capability to embed a PDF file or to invoke the printing of a PDF file from within a PostScript file using custom DSC. However, this is certainly not part of the official PostScript language. I have also attached those specifications as well!

          - Dov

4 replies

beenice2
Participant
February 1, 2018

I'm beginning to write a book but i was writing it the old fashion way by writing it down on a legal tablet pad. So how could i load it on my tablet and get it edit with the right words like correcting my mistakes

Dov Isaacs
Legend
February 2, 2018

And this has what to do with PostScript Programming?

Please don't post to totally irrelevant message threads and forums.

This thread is being locked.

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
Inspiring
March 13, 2012

Postscript 3 can interpret PDF , Tiff directly

If you wrap PS code around the PDF and send it directly either to PS 3 printer the interpreter will treat them as two print jobs

The only way is to to print the PDF within PS code is to convert the PDF to PS or EPS - better PS  using Acrobat standard/professional.

and simply combined them in one file.

Dr. Adam

Participating Frequently
December 22, 2011

The only PostScript implementation I know of which interpretes PDF as well (as an implicit extension of the PostScript language) is Ghostscript.

With Ghostscript, you can embed a PDF document using the run operator.

But selecting e.g. a speical PDF page this way requires quite a deep knowledge on how Ghostscript's PDF interpreter works

internally.

Helge

Dov Isaacs
Dov IsaacsCorrect answer
Legend
December 21, 2011

Where do you know that “it is possible to print a PDF document from withint a PostScript file using Document Structuring Comments and Document Comment Extensions” from?

PDF is absolutely not part of the PostScript language itself. Nor is there anything in the DSC specifications that provides for printing a PDF document from within a PostScript file.

Attached to this posting are the two existing pieces of documentation of DSC from Adobe. Neither references such a capability.

DSC are simply “comments” within a PostScript program file which may be used by preprocessing software or external applications for various puposes, especially associated with prepress actions and placing of EPS (Encapsulated PostScript) in other graphic arts documents.

Conceivably some implementor of some PostScript product may have provided some capability to embed a PDF file or to invoke the printing of a PDF file from within a PostScript file using custom DSC. However, this is certainly not part of the official PostScript language. I have also attached those specifications as well!

          - Dov

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