Chapter 13— Configuration/Control Commands
Memory Parameters
132
media.type
Type: getvar; setvar
This parameter refers to the media type that the printer is using.
By default, the printer checks for correct media alignment if it encounters
the eye-sense mark (black horizontal bars on back of media) during a print
cycle (Label mode). You can use the Journal command to disable this
automatic correction feature. Your program is responsible for checking and
ensuring the presence of paper when the printer is set to Journal mode.
Please refer to the status inquiry command (Get Extended Printer Status)
for details on checking for out-of-paper condition.
getvar result
Returns the current media type.
Example
Description
Syntax
Result
setvar choices
label, journal. Default = label
Example
Description
Syntax
Result
memory.flash_size
Type: getvar
This parameter refers to the total amount of flash memory.
getvar result
Returns the flash memory size.
Example
Description
Syntax
Result
memory.flash_free
Type: getvar
This parameter refers to the amount of available flash memory.
getvar result
Returns the flash memory available.
Example
Description
Syntax
Result
EasyCoder PL-Series Printer Programmer's Reference Manual
Get current media type.
! U1 getvar "media.type"
"label"
Set media type to journal.
! U1 setvar "media.type" "
Printer sets media type to journal.
Get flash memory size.
! U1 getvar "memory.flash_size"
"2097151 Bytes"
Get current available flash memory.
! U1 getvar "memory.flash_free"
"1345000 Bytes Free"
journal
"