3

画像データをページモードで印刷できません。次のように、標準モードで画像データを印刷できました。

   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

私は何を間違っていますか?印刷領域などを指定する必要がありますか?

ところで、私は Epson TM-T88III をプログラミングしています。

4

1 に答える 1

4

答えを見つけました。ESC J nピクセルの 8 x image_width ブロックごとに COM ポートに書き込んだ後、書き込み(印刷と紙送り) コマンドを実行します。

于 2011-12-12T18:09:28.630 に答える