~HM
~HM

~HM

Sending
~HM
to the printer immediately returns a memory status message to the host. Use this command whenever you need to know the printer’s RAM status.

Host RAM Status

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
Example:
This example shows when the
~HM
is sent to the printer, a line of data containing three numbers are sent back to the host. Each set of numbers is identified and explained in the table that follows:
1
The total amount of RAM (in kilobytes) installed in the printer. In this example, the printer has 1024K RAM installed.
2
The maximum amount of RAM (in kilobytes) available to the user. In this example, the printer has a maximum of 780K RAM available.
3
The amount of RAM (in kilobytes) currently available to the user. 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 affects only the amount of RAM. The total amount of RAM and maximum amount of RAM does not change after the printer is turned on.