[NTG-context] extended printing options in ConTeXt

Hans Hagen pragma at wxs.nl
Thu Feb 4 19:51:32 CET 2016

On 2/1/2016 8:22 AM, Pablo Rodriguez wrote:
> Hans,
> would it be possible to implement two extended printing options defined
> in the PDF specification?

remind me in a few weeks as i have other priorities now

> You have kindly implemented duplex printing and page scaling options.
> At my workplace, we are it on a daily basis for mail merging (I had to
> make an “extension” to distinguish between duplex printing and page
> scaling [it isn’t an option for me]).
> In the present implementation, page, portrait and landscape values sets
> page scaling to none. In most of the documents we generate, we have to
> fit page contents to printer margins. It is a must for us, since
> corporate templates are the way they are (wrong designed).
> Would it be possible to have the PDF printing options in different keys
> than the one used for the the viewing options?
> It would be also extremely useful to be able to specify the number of
> copies and select page size from PDF document. These are the keys
> /NumCopies and /PickTrayByPDFSize (described on page 365 from the PDF
> specification).
> The keys and their values would be:
>      duplex          page portrait landscape (only a duplex key required)
>      fixed           (no value is required)
>      copies          number
>      pdfsize         yes no
> This way, the user has only to press the OK button in the printing
> dialog or enter (and forget about selecting which kind of document
> requires which options).
> I’m asking this for my own needs (it is essential for us at work,
> where none knows what ConTeXt might be).
> But this implementation benefits any ConTeXt user.
> Many thanks for your help,
> Pablo


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl

More information about the ntg-context mailing list