[NTG-context] disabling page scaling

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Jul 4 18:03:41 CEST 2016


> Pablo Rodriguez <mailto:oinos at gmx.es>
> 4. Juli 2016 um 17:49
> Dear list,
>
> I have the following sample:
>
> \setupinteractionscreen[option={paper,page}]
> \starttext
> \ConTeXt\ is awesome!
> \stoptext
>
> The values for the option key should enable "/PickTrayByPDFSize true"
> and "/Duplex /Simplex" in the PDF file. But I get an undesired
> "/PrintScaling /None" (I need to reduce the document to printing margins.)
>
> Checking lpdf-mis.lua, I see that there are two lists (or dictionaries,
> maybe [the technical term is beyond my knowledge]) controlling the
> printing options: pagespecs and plusspecs (both are local).
>
> page, portrait, landscape and paper involve fixed in the pagespecs
> dictionary. But these values don’t involve fixed in the plusspecs 
> dictonary.
>
> How can I invoke the plusspecs dictionary from ConTeXt, so I can get
> duplex printing in the PDF file (or "/PickTrayByPDFSize true") without
> having to disable page scaling?
The plusspec entries are used for the second and following arguments of 
the option key,
you can use this and pass the none keyword as first argument in the list 
which doesn’t
preset values.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160704/085428ed/attachment.html>


More information about the ntg-context mailing list