The attached file cannot be read by GhostPCL head (r1063) or early versions. Instead the following error is printed: Warning interpreter exited with error code -992 Flushing to end of job PCL XL error Subsystem: KERNEL Error: IllegalAttributeValue Operator: SetColorSpace Position: 200 file position of error = 131289 main/obj/pcl6 -sOutputFile=test.ppm -sDEVICE=ppmraw -dNOPAUSE ./ricoh1357ex_1page_vector.spl This file prints correctly on the newer HP printers I sent it to (P3005 and CP3505), older printers (4100 and 4500) instead printed error messages.
Created attachment 5909 [details] ricoh1357ex_1page_vector.spl
The palette data - for paletteDepth 2 (8-bit) gray, there should be 256 entries rather than 48; OTOH, the image which follows has 4-bit color depth, which means it expects 16 entries. 48 is just neither. ubyte 1 ColorSpace // eGray=1 ubyte 2 PaletteDepth ubyte_array [ uint16 48 0000 00 FF FE 0F 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ] PaletteData // Op Pos: 200 Op fOff: 21263 Op Hex: 6A Level: 0 SetColorSpace
This does print on the HP Color Laserjet 4600 but I'm hesitant to attempt to emulate the behavior on the HP. It is obviously wrong with respect to the specification. HP probably does not check the palette data sizes and simply continues. Back to the customer for feedback. Thanks for looking at this also, Hin-Tak.
Customer has been notified. I'm closing this, will reopen if necessary.
Changing customer bugs that have been resolved more than a year ago to closed.