beautypg.com

Memory category – Brother HL-2170W User Manual

Page 276

background image

CHAPTER 5 PJL - 72

Example

The application sends the following command to the printer :

%-12345X@PJL
@PJL INFO CONFIG
%-12345X

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

@PJL INFO CONFIG
IN TRAYS [1 ENUMERATED]
INTRAY1

PC

INTRAY2

LC

OUT TRAYS [2 ENUMERATED]
NORMAL

FACEDOWN

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

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

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 *s1M (Free Space command) in the PCL status readback commands.

Example

The application sends the following command to the printer :

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

The printer sends back the answer for the above command :

@PJL ECHO This is a sample 2-28-1993 19:03:00

@PJL INFO MEMORY
TOTAL=159984
LARGEST=53322