Tobias1983
Programmer
Hi everybody,
i have an problem with PCL Commands.
I try to print an 24Bit RGB Image with PCL.
But i don't know why it doesn't work.
Here my commands.
Start with RESET and PCL init
1. // Set 24bit RGB color
Command : \x1B*r3U
2. // the set Raster presenation
Command : \x1B*r0F
3. // set resolution
Command : \x1B*t300R
4. // Height for the Image == 30pxl
Command : \x1B*r30T
5. // Widthfor the Image == 30pxl
Command : \x1B*r30S
6. // Now Start the Grafik
Command : \x1B*r1A
7. // Set Data Format(RGB, 8bit for each Color)
Command : \x1B*v6W\x0\x3\x0\x8\x8\x8
8. // then Set compression off
Command : \x1B*b0M
9. // now i will send the data
// repeat the command for height=30 times
Command : \x1B*b90W 30 x (#r7-0#g7-0#b7-0) ...
10. after this i stop raster graphic
Command : \x1B*rC
the reset commands
now the printer prints right width and height.
but the wrong colors. only red and black not the RGB colors.
but why ???
I Hope someboy can help me.
Thanks for reply.
Tobias
i have an problem with PCL Commands.
I try to print an 24Bit RGB Image with PCL.
But i don't know why it doesn't work.
Here my commands.
Start with RESET and PCL init
1. // Set 24bit RGB color
Command : \x1B*r3U
2. // the set Raster presenation
Command : \x1B*r0F
3. // set resolution
Command : \x1B*t300R
4. // Height for the Image == 30pxl
Command : \x1B*r30T
5. // Widthfor the Image == 30pxl
Command : \x1B*r30S
6. // Now Start the Grafik
Command : \x1B*r1A
7. // Set Data Format(RGB, 8bit for each Color)
Command : \x1B*v6W\x0\x3\x0\x8\x8\x8
8. // then Set compression off
Command : \x1B*b0M
9. // now i will send the data
// repeat the command for height=30 times
Command : \x1B*b90W 30 x (#r7-0#g7-0#b7-0) ...
10. after this i stop raster graphic
Command : \x1B*rC
the reset commands
now the printer prints right width and height.
but the wrong colors. only red and black not the RGB colors.
but why ???
I Hope someboy can help me.
Thanks for reply.
Tobias