PCL Colour Raster Problem
PCL Colour Raster Problem
(OP)
Dear all, I have a block of data that is basically a BMP file without the header which I believe to be of the format RGBRGBRGB etc. I am trying to output this in PCL without much joy, I am getting a red block with assorted garbage within. Any help would be appreciated, the PCL looks something like this:
<Esc>*v6W Configure image data = 6
{<NUL><ETX><NUL><BS><BS><BS>}
<Esc>*t75R Raster resolution 75 dots per inch
<Esc>*r160s Raster width = 160 pixels at current resolution
160T Raster height = 160 raster rows
<Esc>*r3U Number of planes per row = 3
<Esc>*b0M Raster compression mode, unencoded
<Esc>*r1A Start raster graphics at current cursor
<Esc>*b480W Transfer 480 bytes of raster data
0 1 2 3 4 5 6 7 - 8 9 A B C D E F 0123456789ABCDEF
0000 FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF ................
Thanks!
<Esc>*v6W Configure image data = 6
{<NUL><ETX><NUL><BS><BS><BS>}
<Esc>*t75R Raster resolution 75 dots per inch
<Esc>*r160s Raster width = 160 pixels at current resolution
160T Raster height = 160 raster rows
<Esc>*r3U Number of planes per row = 3
<Esc>*b0M Raster compression mode, unencoded
<Esc>*r1A Start raster graphics at current cursor
<Esc>*b480W Transfer 480 bytes of raster data
0 1 2 3 4 5 6 7 - 8 9 A B C D E F 0123456789ABCDEF
0000 FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF ................
Thanks!
RE: PCL Colour Raster Problem
The following link provides a brief history of the PCL language, and links to the PCL Technical Reference manual, and also to other PCL5 & PJL manuals:
http://h2
The PCL5 Technical Reference manual describes various monochrome raster formats (unencoded, Run-Length Compression, Tagged Image File Format, Delta-Row Compression, Adaptive Compression, etc.).
The Colour Technical Reference manual expands on this to describe how colour raster images are encoded.
Be aware that some of the manuals (in PDF format) are multi-megabyte downloads.
RE: PCL Colour Raster Problem
As can be seen from the CID command, I am trying to output a colour image as Mode 3: Direct By Pixel (page 2-11), this shouldn't require any transformation unless my understanding is wrong?
RE: PCL Colour Raster Problem
You would appear to be using a single plane 24 bits/pixel.
Jim Asman
RE: PCL Colour Raster Problem