I am having a problem with image printing in raster mode
when data is compressed in CCITT modified Huffman.
I want to draw (for ex.) 2 black lines using the
encoding mentioned before. I am encoding each row, and
what I am getting (using EscapeE as a PCL viewer) is
an interlaced image, this is after i double the number of
rows. Somehow i am inserting in the raster empty rows,
having in the end 4 rows instead of 2, alternating black
with white.
the code :
IMG 2 rows
00110101 White 0
000000010101 Makeup Black 2170
000011011100 Term Black 0
packed as bytes
IMG 2 rows
00110101 35
00000001 01
01010000 50
11011100 DC
so my pcl code whould look something like this
*r4T // doubled raster rows
*r2176S
*b6M // compression mode ModHuff
*r1A
*b4W5PÜ // row 1
*b4W5PÜ // row 2
*rB
with the side effect before mentioned
any ideea why ?
thank you for your patience if u reached the end
of the message
when data is compressed in CCITT modified Huffman.
I want to draw (for ex.) 2 black lines using the
encoding mentioned before. I am encoding each row, and
what I am getting (using EscapeE as a PCL viewer) is
an interlaced image, this is after i double the number of
rows. Somehow i am inserting in the raster empty rows,
having in the end 4 rows instead of 2, alternating black
with white.
the code :
IMG 2 rows
00110101 White 0
000000010101 Makeup Black 2170
000011011100 Term Black 0
packed as bytes
IMG 2 rows
00110101 35
00000001 01
01010000 50
11011100 DC
so my pcl code whould look something like this
*r4T // doubled raster rows
*r2176S
*b6M // compression mode ModHuff
*r1A
*b4W5PÜ // row 1
*b4W5PÜ // row 2
*rB
with the side effect before mentioned
any ideea why ?
thank you for your patience if u reached the end
of the message