7.5.3. MEMORY category; Example ; Example - Page 278

Brother HL-5350DN Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

CHAPTER 5 PJL - 69 

Example 

The application sends the following command to the printer : 

<ESC>%-12345X@PJL<CR><LF> 
@PJL INFO CONFIG<CR><LF> 
<ESC>%-12345X 

 

The printer may send back the answer for the above INFO command : 

@PJL INFO CONFIG<CR><LF> 
IN TRAYS [1 ENUMERATED]<CR><LF> 
 INTRAY1 

PC<CR><LF> 

 INTRAY2 

LC<CR><LF> 

OUT TRAYS [2 ENUMERATED]<CR><LF> 
 NORMAL 

FACEDOWN<CR><LF> 

PAPER [9 ENUMERATED]<CR><LF> 
 LETTER<CR><LF> 
 LEGAL<CR><LF> 
 A4<CR><LF> 
 EXECUTIVE<CR><LF> 
 MONARCH<CR><LF> 
 COM10<CR><LF> 
 DL<CR><LF> 
 C5<CR><LF> 
 B5<CR><LF> 
LANGUAGES [5 EMULATED]<CR><LF> 
 PCL<CR><LF> 
 POSTSCRIPT<CR><LF> 
 IBM<CR><LF> 
 EPSON<CR><LF> 
 HPGL<CR><LF> 

 

USTATUS [4 ENUMERATED] 
 DEVICE<CR><LF> 
 JOB<CR><LF> 
 PAGE<CR><LF> 
 TIMED<CR><LF> 
FONT CARTRIDGE SLOTS [2 ENUMERATED]<CR><LF> 
 CARTRIDGE<CR><LF> 
 CARTRIDGE1<CR><LF> 
MEMORY=2097152<CR><LF> 
DISPLAY LINES=1<CR><LF> 
DISPLAY CHARACTER SIZE=16<CR><LF> 
<FF> 

 

In this example, IN TRAYS [2 ENUMERATED] indicates that there are two options in IN TRAYS (paper 
sources) and MEMORY=2097152 indicates the RAM size in the printer is 2097152 bytes. 
 

7.5.3.

 

MEMORY category 

The application can use the 

@PJL INFO MEMORY

 command to check the size of total free memory and 

the largest free memory block in the printer. 

The free memory size may vary according to the personality (printer language).  In order to know the free 
memory size in PCL, use the

 <ESC>*s1M

 (Free Space command) in the PCL status readback commands.  

Example  

The application sends the following command to the printer : 

<ESC>%-12345X@PJL<CR><LF> 
@PJL COMMENT the INFO MEMORY command follows<CR><LF> 
@PJL ECHO This is a sample 2-28-1993 19:03:00<CR><LF> 
@PJL INFO MEMORY<CR><LF> 
<ESC>%-12345X 

The printer sends back the answer for the above command : 

@PJL ECHO This is a sample 2-28-1993 19:03:00<CR><LF> 
<FF> 
@PJL INFO MEMORY<CR><LF> 
TOTAL=159984<CR><LF> 
LARGEST=53322<CR><LF> 
<FF> 

Detailed Information for Brother HL-5350DN Command Reference Guide for Software Developers

Lists of information found in Brother HL-5350DN Command Reference Guide for Software Developers - Page 278

  • 7.5.
  • 3. MEMORY category The application can use the @PJL INFO MEMORY command to check the size of total free memory and the largest free memory block in the printer.

Related Documents for Brother HL-5350DN Command Reference Guide for Software Developers