HP PCL/PJL reference - Printer Job Language Technical Reference Manual

7-22 Status Readback Commands EN
MEMORY Category
The INFO MEMORY command returns the total number of bytes of
free memory space and the largest free memory block.
Note To determine the amount of memory available for a particular
personality, use the personality command instead of the INFO
MEMORY command. For example, to find the amount of memory
available for PCL 5, use the Free Space command (<ESC>*s1M).
See the PCL 5 Printer Language Technical Reference Manual for
more information about PCL status readback.
Example: Using the INFO MEMORY Command
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Using @PJL INFO MEMORY <CR><LF>
@PJL ECHO 14:51:48.3 12-18-92 <CR><LF>
@PJL INFO MEMORY <CR><LF>
<ESC>%-12345X
A sample HP LaserJet 4 printer response for this example is shown
below. Other printers may respond differently.
@PJL ECHO 14:51:48.3 12-18-92<CR><LF>
<FF>
@PJL INFO MEMORY<CR><LF>
TOTAL=1494416<CR><LF>
LARGEST=1494176<CR><LF>
<FF>