[cups.general] Print PCL with printer info from PPD?

James Cloos cloos at jhcloos.com
Wed Mar 14 12:20:39 PDT 2012


> Well, I use poppler based pdftops 0.18.3 and Ghostscript 9.05 and could 
> print all the lcms2 docs (2-2.1) without any problems.

My poppler is git master; gs is 9.05.

Using pdftops -level2 creates ps which does this once the job gets to
page 89:

Error: /rangecheck in --xyshow--
Operand stack:
   474.947   590.637   (\003R)   --nostringval--   (\003R)
   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
   --nostringval--   2   %stopped_push   --nostringval--
   --nostringval--   --nostringval--   false   1   %stopped_push   1894
   1   3   %oparray_pop   1893   1   3   %oparray_pop   1877   1   3
   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--
   %errorexec_pop   .runexec2   --nostringval--   --nostringval--
   --nostringval--   2   %stopped_push   --nostringval--
   --nostringval--
Dictionary stack:
   --dict:1161/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
   --dict:74/75(L)--   --dict:19/25(L)--   --dict:9/15(L)--
Current allocation mode is local
Last OS error: 11
Current file position is 6654592
GPL Ghostscript 9.05: Unrecoverable error, exit code 1

pdftops -level2sep gives the same error.

Gs is happy with the -level3 and -level3sep output.

The -level1 and -level1sep ps is grayscale and dies at the same point as
the level2.

pspcl6 (the language switch build) from ghostpdl master also dies on
page 89 with a rangecheck error in xyshow.

That said, most of the file which crashed my printer worked in gs.  But
I never managed to convince the printer to use the duplexer with pcl or
pxl files.  I tried adding the (correct) pjl commands at the start of
the file, but they were ignored.

GS might have encluded pcl/pxl code specifying simplex printing?

Or it is a bug in the printer.

(The doze driver generates xps; I don't know what the osx driver does.)

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6




More information about the cups mailing list