2001/10/02
CHAPTER 2 "PCL" - 97
120 REM --- SET FONT TO LETTER GOTHIC (18 DOTS WIDE) ---
130 LPRINT ESC$+"(s0p16.66h8.5v0s0b130T";
140 REM --- PRINT COMMENT ---
150 LPRINT "Printed by this printer";
160 REM --- SET CURSOR POSITION X=1790 DOT, Y=-40 DOT ---
170 LPRINT ESC$+"*p1790x-40Y";
180 REM --- PERFORM SHADING ---
190 REM --- SET SHADING WIDTH TO 23 CHARACTERS + 20 DOTS ---
200 LPRINT ESC$+"*c";23*18+20;"A";
210 REM --- SET SHADING HEIGHT TO 30 DOTS ---
220 LPRINT ESC$+"*c60B";
230 REM --- DRAW SHADING PATTERN (5% GRAY SCALE) ---
240 LPRINT ESC$+"*c5g2P";
250 REM --- END MACRO DEFINITION ---
260 LPRINT ESC$+"&f1X";
270 REM --- MACRO OVERLAY ON (PRINT THE MESSAGE ON EVERY PRINTOUT)
-- 280 LPRINT ESC$+"&f4X";
290 REM --- SET FONT TO BROUGHAM 10 ---
300 LPRINT ESC$+"(s0p10h12v0s0b128T";
310 REM --- MACRO OVERLAY ON, PAPER EJECT ---
320 LPRINT "MACRO OVERLAY ON"
330 LPRINT CHR$(12);
340 REM --- MACRO OVERLAY ON, PAPER EJECT ---
350 LPRINT "MACRO OVERLAY ON"
360 LPRINT CHR$(12);
370 REM --- MACRO OVERLAY OFF (PRINT WITHOUT THE MESSAGE) ---
380 LPRINT ESC$+"&f5X";
390 REM --- MACRO OVERLAY OFF, PAPER EJECT ---
400 LPRINT "MACRO OVERLAY OFF"
410 LPRINT CHR$(12);
420 END
7.4.9. Execute data
The data saved in the storage device by using Printer's control panel "SAVE DATA" function can be printed by
the following command. It can also be printed by operation of the Printer control panel.
EscCR!#E (27)(13)(33)#(69) <1Bh><0Dh><21h>#<45h>
• # indicates the DATA ID.
• Execute the data which is saved in the flash memory card or Hard Disk card.
• The printer uses the current environment when this command is executed.
• While executing the data, it is possible to change the emulation or reset the printer.
• If this command is included in the last data which was saved by the "SAVE DATA" operation from the
printer's control panel, the printer enters a permanent loop so that saved data such as DEMO printing keeps
printing. To stop it, press the RESET key on the printer's control panel. This function is available only for
the Flash ROM card.
7.4.10. AppleTalk configuration
Esc&b#W[key]<sp>[value] (27)(38)(98)#(87)[Key](32)[value]
<1Bh><26h><62h>#<57h>[Key]<20h>[value]
• # value can be from 0 to 32767.
• # stands for number of bytes in the data which is following this command.
• [key] should be [RENAME], [JOB] or [TYPE].