From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95334 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: disabling page scaling Date: Mon, 04 Jul 2016 18:03:41 +0200 Message-ID: <577A88DD.60400@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2750599144424557022==" X-Trace: ger.gmane.org 1467648285 13019 80.91.229.3 (4 Jul 2016 16:04:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2016 16:04:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 04 18:04:33 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bK6MK-0001pg-I9 for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jul 2016 18:04:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 981B110DC1; Mon, 4 Jul 2016 18:04:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oLO8Kys5N5Q2; Mon, 4 Jul 2016 18:04:10 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8722910DC2; Mon, 4 Jul 2016 18:04:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 092B610DC0 for ; Mon, 4 Jul 2016 18:04:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id daEFgQXhEfR8 for ; Mon, 4 Jul 2016 18:04:09 +0200 (CEST) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 814DC10DBF for ; Mon, 4 Jul 2016 18:03:59 +0200 (CEST) Original-Received: by mail-wm0-f46.google.com with SMTP id a66so121276941wme.0 for ; Mon, 04 Jul 2016 09:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=3Vng4H0MxAXq3eSU/uEFbON+rYmbSWLlvuRYctAlCHY=; b=e0Gp9d8CbGTCd0KIp7F4GNQvUfPD77ubLDJlUq1G+nV4IRMGhtFl4DAsxfpnYK8D1C WbEHqx9SNujQsULLM2C4sLAouDeDk+0PGUxxRv0luA6xbPKd7FUK24kQElmuDmNIiJzK fod3MP8CtmiD/DDllPlDksjFY39wkq03JZ8HmQ7/Y+XVMR5v+ISjU3JTm6Qx+qpePqTQ DgY4Xdi+2Mk3R6BFSaWoIf3fSqZ8zarSyTtAu8BMrQjKjRMVGhBok5nDMU9DPrDL97oz tkIG7WhlknNKKhYKkXyQDQaD98U7ucKkjFrFnAlzZblNl+A5VNlX5K5t4fJoUj1X9SQB owNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=3Vng4H0MxAXq3eSU/uEFbON+rYmbSWLlvuRYctAlCHY=; b=gDLOqEn0W3w1pRFulwH0lQC+BeFxUfLa7q3dxC53YbQW4Pmauft1FJ5U5GyHYx7z/k EjhtUk//qZMHC+m64Dnzg40TTxaHiXryvwBJ2sqP3kweMdy6EyO+WT52KOGu384xnTEO sQn8oJPA2JIQoEvbsIg9kmPZKUItqEPw+gUj5xh2RjPNNOKrElUS9Sve/ib4MhiP2TNF tvQGKPcy+6fVh+kOLW19oXGiwpJb0Sgaa9u2fDpb5K0je1mhungisvngD6SsALspVdTL DMAlcyX2RoDgdJ471idDh4aRE541ivW6cahUJ3MAKOzctc+H/wjK1lI1xtwQD3KFB561 ICYg== X-Gm-Message-State: ALyK8tLkBscobczbzDSgkFnpfBkowtaixYknRnDFWs2X6qRJAMI5ud7tejnQUFm8mU+OsA== X-Received: by 10.194.89.138 with SMTP id bo10mr11072709wjb.122.1467648238009; Mon, 04 Jul 2016 09:03:58 -0700 (PDT) Original-Received: from keima.localdomain (x2f2aa33.dyn.telefonica.de. [2.242.170.51]) by smtp.gmail.com with ESMTPSA id vu10sm6556268wjb.27.2016.07.04.09.03.57 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Jul 2016 09:03:57 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95334 Archived-At: This is a multi-part message in MIME format. --===============2750599144424557022== Content-Type: multipart/alternative; boundary="------------080602030202090702000807" This is a multi-part message in MIME format. --------------080602030202090702000807 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 4. Juli 2016 um 17:49 > Dear list, > > I have the following sample: > > \setupinteractionscreen[option=3D{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 margin= s.) > > 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=E2=80=99t involve fixed in the plusspe= cs=20 > 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=20 the option key, you can use this and pass the none keyword as first argument in the list=20 which doesn=E2=80=99t preset values. Wolfgang --------------080602030202090702000807 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
4.= =20 Juli 2016 um 17:49
Dear list,

I hav= e=20 the following sample:

=20 \setupinteractionscreen[option=3D{paper,page}]
\starttext
=20 \ConTeXt\ is awesome!
\stoptext

The values for the option=20 key should enable "/PickTrayByPDFSize true"
and "/Duplex /Simplex" in the PDF file. But I get an undesired
"/PrintScaling /None" (I need=20 to reduce the document to printing margins.)

Checking=20 lpdf-mis.lua, I see that there are two lists (or dictionaries,
maybe=20 [the technical term is beyond my knowledge]) controlling the
printing options: pagespecs and plusspecs (both are local).

page,=20 portrait, landscape and paper involve fixed in the pagespecs
dictionar= y. But these values don=E2=80=99t involve fixed in the plusspecs dictonary.=

How can I invoke the plusspecs dictionary from ConTeXt, so I can get
dupl= ex printing in the PDF file (or "/PickTrayByPDFSize true") without
havin= g to disable page scaling?
The plusspec entries are used for the second and following arguments of=20 the option key,
you can use this and pass the none keyword as first argument in the list which doesn=E2=80=99t
preset values.

Wolfgang
--------------080602030202090702000807-- --===============2750599144424557022== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2750599144424557022==--