Citizen iDP-3221 Series User Manual page 141

Line thermal printer
Hide thumbs Also See for iDP-3221 Series:
Table of Contents

Advertisement

Example of the Use of Page Mode
The following explains specific uses of page mode.
When in page mode, the commands are typically sent from the host to the printer in the following sequence:
(1) An ESC L puts the printer in page mode.
(2) An ESC W specifies the print area.
(3) An ESC T specifies the print direction.
(4) Print data is sent.
(5) An FF instructs the printer to print the print data in a batch.
After printing, the printer returns to standard mode.
<Example 1>
100 PRINT#1, chr$(&H1b); "L"
110 PRINT#1, chr$(&H1b); "W";chr$(0);chr$(0);chr$(0);chr$(0);
120 PRINT#1, chr$(200) ;chr$(0);chr$(144);chr$(1);
130 PRINT#1, chr$(&H1b); "T";chr$(0);
140 PRINT#1, "Page mode lesson Test1"
150 PRINT#1, chr$(&Hc);
The program in Example 1 reserves a print area of 200 (400 pitches extending from the start point (0, 0)), and then
prints the text "Page mode lesson Test 1" on the first line of the print area as shown in
Print Area
Figure 1-1
125
iDP3221 User's Manual
Paper
CITIZEN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Idp3221rfIdp3221pf

Table of Contents