Changes

Jump to navigation Jump to search
719 bytes added ,  08:41, 25 February 2018
added Print Page Range & minor corrections
==Background==
The PDF specification describes some options that may be included in documents to make printing easier when related to number of copies, paper size, scaling , print page range and duplex printing.
At least for me, this was useful in two scenarios:
It is possible to disable print scaling in the document with the <code>fixed</code> value in the key <code>option=</code> from the <code>\setupinteractionscreen</code> command.
This may be a useful setting for printing documents where no content is placed on the margin area. ''Adobe '' products may shrink the content to printing area, ''whether this is required or not''. When the document has no content on the printer margins, resulting output will be smaller than it should.
==Paper Size From PDF Document==
Unless paper size is read from the PDF document, Adobe ''Acrobat'' will use the default paper size (A4 in Europe and letter in America).
<code>paper</code> is the value for the <code>option</code> key that specifies the selection of paper size from the document.
As explained before , <code>\setupinteractionscreen[portrait, fixed, paper]</code> would print duplex flipping the long side, no scaling and taking paper size from the PDF document.
==Number of Copies==
The number of copies is set with the <code>copies</code> key from <code>\setupinteractionscreen</code>.
Although the specification limits the number of copies to the maximum offered by the print dialog, ''Adobe '' limited the number to a maximum of five for security reasons. ==Print Page Range== It is possible to print only a certain range of pages in the PDF document by specifying it with a workaround. A keyword is used to define the pages that are going to be printed, such as in: # You specify the keyword that will be used for the print range, such as in <code>\setupinteractionscreen[print={usedname}]</code>.# Then, you mark the pages with that keyword. There are two ways of doing it. Either you write the pages with <code>\markpage[usedname][1,2,3,4]</code>, or you write the command <code>\markpage[usedname]</code> at the beginning of the page you want to tho be marked. This requires a beta version after 2018.02.23 22:11.
== Conformant PDF Readers ==
To the best of my knowledge, only ''Adobe Acrobat'' (Reader or notin both versions) from version 9 supports this feature.
evince ''Evince'' allows duplex options in its printing dialog, but it cannot read these from the PDF document. There is an open issue in poppler to [https://bugs.freedesktop.org/show_bug.cgi?id=92779 implement this feature].
139

edits

Navigation menu