我在页面模式下打印图像数据时遇到困难。我能够以标准模式打印图像数据,如下所示:
data[] = { ESC ,
'*' ,
0 , // 8-dot single density mode
width , // nl: image width
0 } // nh: image width
for each 8 x image_width block of pixels in a monochrome image
for each 8 x 1 (vertical) strip of pixels in the block
append pixel (0 or 1) data to the array, data[]
write data to COM port
我在页面模式下打印的(不成功的)尝试是上述的一种变体,其过程如下:
select page mode by writing the chars, ESC and 'L' to the COM port
write pixel data as described above
print by writing the characters ESC and FF
我究竟做错了什么?我是否必须指定打印区域或类似的东西?
顺便说一句,我正在编程爱普生 TM-T88III。