Raster mode problem
Raster mode problem
(OP)
I am quite new to the PCL buissnes, however I tried to
understand how does raster mode works.
What I have to do is to embed tiff images (content only)
with compression mode CCITT G3 (modified Huffman).
I use EscapeE (trial) and an hp laserjet 2300dn, to see
if it prints out corectly, and it doesn't. I used
"*b6M" compression mode. After a lot of failures.. I decided
to decompress the data (unencoded mode) and used "*b0M".
Needles to say it stil didn't work.
Then I wrote these following characters to make a simple
black pattern raster image :
&l27A&l1O*t300RTitle:Hand made image
*b0M *r1A *r3F *r8T *r8S *b8W ÿÿÿÿÿÿÿÿ *rB
(spaces for the sake of clarity)
what happens is that this raster doesn't makes its output
in a matrix, but as a contiguos 64 doted long line.
(both , EscapeE and the HP printer)
Both, handemade image and the tiff, are monocrome images.
Can someone tell me what I am doing wrong ?
thank you
RE: Raster mode problem
<esc>*r1A<esc>*b0M
<esc>*b1Wx
<esc>*b1Wx
...
<esc>*b1Wx 8th row
<esc>*rB
Linefeeds are shown for clarity.
Your TIFF image will first have to be decompressed, and then encoded into PCL format. You can encode it using one of the PCL compression schemes if you want.
PCL does NOT understand fax formats etc. You have to decode your input file to raw raster first, and then put it into a known PCL format.
Jim Asman