paper size selection
chris epicier
seuchato at yahoo.de
Mon Nov 5 03:30:30 PST 2007
Hi
> These two are equivalent. Line breaks outside of string constants in
> PostScript are ignored. PPDs require the "*End" line after each piece of
> test in double quotes which is longer than one line. Probably the PPDs
> are generated with different PPD generator versions. They are
> functionally equal.
OK, but I wonder why it says
"Pondering option 'media=custom.840x594mm'"
and
"Unknown option CustomPageSize=True"
In my understanding the driver should understand it. I use Suse 10.2, latest updates. Could it be it is in pstops filter?
greets chris
>
> > Regarding large format printing and papersize selction, I compaired the ppd's of the following ppds taken from Suse 10.2, as per end of sept 07:
> >
> > HP-DesignJet_500ps-dnj650c.ppd
> > ...
> > *CustomPageSize True: "pop pop pop
> > <</PageSize [ 5 -2 roll ] /ImagingBBox null>>setpagedevice"
> > *End
> > *ParamCustomPageSize Width: 1 points 36 100000
> > *ParamCustomPageSize Height: 2 points 36 100000
> > *ParamCustomPageSize Orientation: 3 int 0 0
> > *ParamCustomPageSize WidthOffset: 4 points 0 0
> > *ParamCustomPageSize HeightOffset: 5 points 0 0
> > ...
> >
> > stp-pcl-desnj-2500.5.0.ppd
> > ...
> > *CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
> > *ParamCustomPageSize Width: 1 points 594 2592
> > *ParamCustomPageSize Height: 2 points 419 129600
> > *ParamCustomPageSize WidthOffset: 3 points 0 0
> > *ParamCustomPageSize HeightOffset: 4 points 0 0
> > *ParamCustomPageSize Orientation: 5 int 0 0
> > ...
> >
> > There are two differences:
> > 1. line feed after pop pop pop
> > 2. linefeed and *End after null>>setpagedevice"
> >
> > When I plot I get this in error_log:
> > GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
> > Pondering option 'media=custom.840x594mm'
> > Unknown "media" component: "custom.840x594mm".
> > ...
> > Found: %%BeginFeature: *CustomPageSize True
> > Unknown option CustomPageSize=True found in the job
> >
> > later:
> > renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAU
> > SE -r300x300 -sDEVICE=dnj650c -r600x600 -dBitsPerPixel=3 -sOutputFile=- -
> > foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOID
> > SAFER' '-dQUIET' '-dNOPAUSE' '-r300x300' '-sDEVICE=dnj650c' '-r600x600' '-dBitsPerPixel=3' '-sOutputFile
> > =%stdout' '-'
> > /undefined in --get--
> > Operand stack:
> > --dict:3/3(L)-- --nostringval-- --dict:3/3(L)-- --dict:50
> > /50(ro)(L)-- --dict:8/53(L)-- --dict:7/9(L)-- --dict:3/4(ro)(L)-- MediaWeight --dict:8/53(L)--
> > MediaWeight
> > Execution stack:
> > %interp_exit .runexec2 --nostringval-- --nostringval--
> > --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1
> > %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_po
> > p .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-
> > - 1 4 %oparray_pop --nostringval-- --nostringval-- --dict:7/9(L)-- --nostringval-- 16
> > %dict_continue --nostringval--
> > Dictionary stack:
> > --dict:1142/3371(ro)(G)-- --dict:0/20(G)-- --dict:109/200(L
> > )-- --dict:63/75(L)--
> > Current allocation mode is local
> > ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1
> > ...
> >
More information about the cups
mailing list