Commands, Query commands, 9 resolution – Compuprint 6314 CZL User Manual

Page 42: Jma (set resolution), 1 query, Hm (memory status), 2 ~ commands, 1 query commands

Advertising
background image

CZL – Programmer Manual

42

3.1.8.9 Resolution

The maximum resolution of the machine depends on the model being used (please refer to the User
Manual). If not required by the application, it is possible to select a resolution that is lower than the
allowed maximum in order to optimize processing times.

^JMa (Set resolution)

This command is used to choose between the maximum possible resolution and half of it.
a is letter A for maximum resolution (203 dpi/8 dots per mm or 300 dpi/12 dots per mm). It is letter

B for half resolution (100 dpi/4 dots per mm or 150 dpi/6 dot per mm).

Obviously, doubled dot size corresponds to half resolution, and thus the size of the images appears
doubled.

3.2 ~ Commands

Immediate commands are sent to the printer at any time and provide, where possible, for immediate
execution. They can be sent in groups or individually.
Commands regarding treatment of graphic images (~DG and ~DN) have already been described in
section 3.1.7.2 on page 30.
All immediate commands are preceded by the tilde character (~)

186

. In general, they are “high level”

commands through which it is possible to act “physically” on the printer configuration parameters.
Commands requiring a response by the printer work only if it is connected to the host through the
serial port since the parallel port is not bi-directional. In other words, to use these commands
correctly, the printer must be connected through the serial port: otherwise, the host may wait for a
response that will never arrive, and this could lead to malfunctions.

3.2.1 Query commands

~HM (Memory Status)

The printer returns the RAM memory status to the host. The returned string consists of 3 numbers
comprised of four digits separated by commas, according to the following format:

n

t

n

t

n

t

n

t

,n

d

n

d

n

d

n

d

,n

l

n

l

n

l

n

l

n

t

n

t

n

t

n

t

is the total number of Kbytes available on the machine;

n

d

n

d

n

d

n

d

is the number of Kbytes available to the user for saving graphic images, etc.;

186

The tilde control character (~) can be replaced by using the ~CC command on page 46.

Advertising
This manual is related to the following products: