[bug-pcl] problem about CID Command

Yang Xin yangx at nanjing-fnst.com
Tue Jul 12 02:19:12 PDT 2005


Hi:

  One problem when using "Configure Image Data (CID) Command", here are the
sequences of my pcl commands about an image printing:

    ESC *r0F                          //presentation
    ESC *t700R                      //resolution
    ESC *v6W<0x00><0x30><0x00><0x08><0x08><0x08>    //CID
in this command, I have set "Direct by Pixel" PEM and every 8 bits represent
one value.
    ESC *r1A                         //start raster graphic
    ...IMAGE DATA

  The IMAGE DATA here, is managed as: first 8 bits represent R value of
the 1st RGB, then 8 bits represent G of the 1st RGB, then 8 bits
represent B of 1st; the next 24 bits represent the 2nd RGB value. But
problem comes, the pcl program won't recognizes the commands right, it
always treats the IMAGE DATA as 1 bit represent a color of white or
black, then the image ouput will be 24 time longer of the original one.
It doesn't interpret every 24 bits into one color, but 24 mono colors.

  My ghostPCL's version is 1.38, and OS is Linux 2.4.21, the same
problem occurs when printing in HP LaserJet Printer 2200.

  Thanks in advance!

Yang Xin


More information about the bug-pcl mailing list