Chapter 13— Configuration/Control Commands
File Parameters
128
display.text
Type: getvar; setvar
This parameter refers to the display's text content. The display text size is 4
lines of text and 20 characters per line.
getvar result
Returns the text currently displayed on the printer.
Example
Description
Syntax
Result
setvar choices
Text to be displayed. The tab character moves the text position to the
next line. Specifying more than 80 characters results in text to wrap.
Default = "Intermec" followed by printer model such as "PL4"
Description
Example
Syntax
Result
file.delete
Type: do
You use this command to delete printer files.
Note: Exercise caution when deleting files and ensure that factory installed
files are not deleted.
do parameters
Name of file to be deleted.
Description
Example
Syntax
Result
file.dir
Type: getvar
This parameter refers to the printer file directory.
getvar result
Returns the printer file directory.
Description
Example
Syntax
Result
EasyCoder PL-Series Printer Programmer's Reference Manual
Get the current text displayed.
! U1 getvar "display.text"
"Intermec PL4"
Change the displayed text.
! U1 setvar "display.text" "Please
pickup the printed SKU list and bring to
customer service desk."
Printer displays "Please pickup the printed SKU list and
bring to customer service desk."
Instructs the printer to delete a specified file.
! U1 do "file.delete" "abcd.cpf"
Deletes ABCD.CPF from the printer.
Get printer file directory.
! U1 getvar "file.dir"
Directory
INDEX .WML
631
CONFIG .SYS
19
1793000 Bytes Free
"ok"