Hi all,
I would like to extract BMP image from PCL and have a success with 24 bit BMP, but the extraction was incorrect in case the PCL file includes two PCL commands "Destination Raster Height/Width" (Esc * t # V and Esc * t # H). According to HP document, i know we need to implement raster scaling at here, but i don't clearly understand the specification.
Here is the extraction of my PCL file
[ ESC * p 666 X ]
[ ESC * p 74 Y ]
[ ESC * t 70 h ] Raster Graphics Width : 70
[ ESC * t 73 V ] Raster Graphics Height : 73
[ ESC * r 29 s ] Raster Graphics Width : 29
[ ESC * r 30 T ] Raster Graphics Height : 30
[ ESC * r 3 A ] Start Raster Graphics : Scaled at current X position
[ ESC * b 3 M ] Set Raster Compression :
.....
Please help me the basic ideas to archive this.
Thanks in advance.
Tuan Nguyen.
I would like to extract BMP image from PCL and have a success with 24 bit BMP, but the extraction was incorrect in case the PCL file includes two PCL commands "Destination Raster Height/Width" (Esc * t # V and Esc * t # H). According to HP document, i know we need to implement raster scaling at here, but i don't clearly understand the specification.
Here is the extraction of my PCL file
[ ESC * p 666 X ]
[ ESC * p 74 Y ]
[ ESC * t 70 h ] Raster Graphics Width : 70
[ ESC * t 73 V ] Raster Graphics Height : 73
[ ESC * r 29 s ] Raster Graphics Width : 29
[ ESC * r 30 T ] Raster Graphics Height : 30
[ ESC * r 3 A ] Start Raster Graphics : Scaled at current X position
[ ESC * b 3 M ] Set Raster Compression :
.....
Please help me the basic ideas to archive this.
Thanks in advance.
Tuan Nguyen.