maxpower24
Programmer
Hi,
I have a problem with printing a coloured grafik using PCL3 for inkjets.
I am writing the software for a microcontroller that is directly (this means there is no operation system) sending data to the printer in order to print them out...It works quite well. The microcontroller holds something like a
bitmap in its memory where each bit represents one pixel....hence the printer just prints black/white....
Now the printer shall also be able to print (a simple) coloured picture, but I do not really know, how to do this...I do not know about the main principle...
So, let's assume that I have a normal 3Byte RGB bitmap in the memory and I want to print that out - what do I have to do that the printer recognises that now 3Bytes represent 1 pixel??
I found the following PCL commands...I think it is PCL3...
Start Raster Grafic Esc * r 0 A
Set number of raster planes per row Esc * r 3 U (for RGB Palette)
Transfer Number of bytes Esc * b # W [data]
Transfer graphics data by plane Esc * b # V [data]
I do not know in which way those commands have to be sent to the printer...Am I right, that I have to choose a the palette with the command "Esc * r 3 U"..? Do the commands "Esc * b # W [data]" and "Esc * b # V
[data]" exclude each other or do they have to be combined in any way??
I hope anybody will help me a little bit and I thank you for your effort.
Marco.
I have a problem with printing a coloured grafik using PCL3 for inkjets.
I am writing the software for a microcontroller that is directly (this means there is no operation system) sending data to the printer in order to print them out...It works quite well. The microcontroller holds something like a
bitmap in its memory where each bit represents one pixel....hence the printer just prints black/white....
Now the printer shall also be able to print (a simple) coloured picture, but I do not really know, how to do this...I do not know about the main principle...
So, let's assume that I have a normal 3Byte RGB bitmap in the memory and I want to print that out - what do I have to do that the printer recognises that now 3Bytes represent 1 pixel??
I found the following PCL commands...I think it is PCL3...
Start Raster Grafic Esc * r 0 A
Set number of raster planes per row Esc * r 3 U (for RGB Palette)
Transfer Number of bytes Esc * b # W [data]
Transfer graphics data by plane Esc * b # V [data]
I do not know in which way those commands have to be sent to the printer...Am I right, that I have to choose a the palette with the command "Esc * r 3 U"..? Do the commands "Esc * b # W [data]" and "Esc * b # V
[data]" exclude each other or do they have to be combined in any way??
I hope anybody will help me a little bit and I thank you for your effort.
Marco.