Re: Add ViewerPrefs PrintScaling=none to pdf created by pcl6?

Ken Sharp <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
At 08:18 10/11/2014 +0000, Ken Sharp wrote:

>If you want to add this youreself then you should look at the 
>implementation of pdfmark in the PostScript interpreter (which is done in 
>PostScript, see ghostpdl/gs/Resource/Init/gs_pdfwr.ps). You will see from 
>there that the PostScript code builds an appropriate dictionary argument 
>and then calls .pdfputparams to send the dictionary argument to the device.

I forgot to point out that you can't create a PostScript dictionary from 
PCL either (this was intended to show you how to work out what kind of 
argument was needed by looking at the dictionary being provided by the PS 
interpreter), so you will need to look at the actual put_params code to see 
how to turn the dictionary PostScript argument into a param_list (which is 
supported in the PCL interpreter) and pass the param_list to the device's 
put_params method.


                     Ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.