From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <543EC4C3.4020405@thax.hardliners.org> Date: Wed, 15 Oct 2014 21:02:27 +0200 From: Tobias Hoffmann MIME-Version: 1.0 References: <34701921-5F04-411C-B35C-78CED619AAC3@apple.com> <5432910A.4030500@gmail.com> <54344707.4080604@gmail.com> <54345EF9.5010405@thax.hardliners.org> <54350A8E.1010406@gmail.com> <54354CDA.50401@thax.hardliners.org> <5435A44F.7080504@thax.hardliners.org> <54383C34.6020108@thax.hardliners.org> <5438486E.9050201@gmail.com> <543D9108.6050307@thax.hardliners.org> <543E5168.9010108@thax.hardliners.org> <543E72C7.3090603@gmail.com> <543E9F5F.8090106@thax.hardliners.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Printing-architecture] Number of copies in pure PDF workflow List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Korobkin Cc: "printing-architecture@lists.linux-foundation.org" , Till Kamppeter On 15/10/14 19:06, Alex Korobkin wrote: > Till, your patch works for me, at least for pure PDF workflow. I > haven't tested all cases yet, just a JCL-based PPD and a PDF printing. > > Tobias, I haven't tested your patch. Is it different from Till's patch? > Till's patch only reached me after if sent mine, but, the basic idea is obviously the same. My patch 1) also fixes an existing issue of memory ownership when ppd->jcl_ps is replaced 2) will only insert @PCL SET COPIES, when jcl_begin uses the known PJL begin sequence (copied from what pstops does wrt. to PCL). 3) but it does not handle *Copies specially. That did not seem that important to me; it probably makes some sense for the "*JCLToPDFInterpreter exists, but it's not PCL" case. IMO a final patch should include 1) and 2), and might also include 3). Tobias