7.4.9. Execute data; 7.4.10. AppleTalk configuration; Execute data - Page 126

Brother HL-5240 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 106 

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]. 

Detailed Information for Brother HL-5240 Command Reference Guide for Software Developers

Lists of information found in Brother HL-5240 Command Reference Guide for Software Developers - Page 126

  • 16.66h8.
  • 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.
  • 7.4.
  • 67. ï‚Ÿ # stands for number of bytes in the data which is following this command.

Related Documents for Brother HL-5240 Command Reference Guide for Software Developers