Specifications

Table Of Contents
~HM
Host Memory Status
Description: Sending the ~HM to the printer immediately returns a memory status
message to the host. Use this command whenever you need to know the status of the
memory.
When ~HM is sent to the Zebra printer, a line of data containing information on the
total amount, maximum amount, and available amount of memory is sent back to the
host.
Format: ~HM
Parameters: When ~HM is sent to the printer, a line of data containing three
numbers is sent back to the host. For example:
1024,0780,0780
The first value is the total amount of RAM (Random Access Memory) installed in
the printer. This number is in kilobytes. In this example, the printer has 1024K
RAM installed.
The second value is the maximum amount of RAM available to the user. This
number is in kilobytes. In this example, the printer has a maximum of 780K RAM
available.
The third value is the amount of RAM currently available to the user. This number is
in kilobytes. In this example, there is 780K of RAM in the printer currently
available to the user.
Comments: Memory taken up by bitmaps is included in the currently available
memory value (due to ^MCN).
Downloading a graphic image, fonts, or saving a bitmap only affects the amount of
RAM. The total amount of RAM and maximum amount of RAM will not change
after the printer is turned on.
ZPL II Programming Guide Volume One: Command Reference for X.10
149