Media Parameters
EasyCoder PL-Series Printer Programmer's Reference Manual
media.sense_mode
Type: getvar; setvar
This parameter refers to Media Sense mode.
getvar result
Return the printer's Media Sense mode.
Example
Description
Syntax
Result
setvar choices
bar, gap. Default = gap
Example
Description
Syntax
Result
media.status
Type: getvar
This parameter refers to the paper status.
getvar result
Returns ok or out.
Example
Description
Syntax
Result
media.tof
Type: getvar; setvar
This parameter refers to the print's top-of-form (TOF) setting.
You use the TOF setting to program the distance between the top-of-form
and the end of the next (positive value) or previous (negative value) eye-
sense mark or gap. You should use the eye-sense-mark or gap that is closer
to the top-of-form for top-of-form setting. For more detailed information
on the TOF setting, refer to "SET-TOF Command" in Chapter 9.
getvar result
Returns the current top-of-form setting.
Example
Description
Syntax
Result
setvar choices
0 through 119. Default = 119
Example
Description
Syntax
Result
Chapter 13— Configuration/Control Commands
Get current Media Sense mode.
! U1 getvar "media.sense_mode"
"bar"
Set Media Sense mode to bar (black index mark).
! U1 setvar "media.sense_mode" "bar"
Printer switches to Bar Sense mode.
Get current media status.
! U1 getvar "media.status"
"ok"
Get current top-of-form setting.
! U1 getvar "media.tof"
"0"
Set the printer's top of form.
! U1 setvar "media.tof" "
Printer sets top-of-form to 119.
119
"
131