Mobile Printer CPCLProgramming Manual P14-19
file.rename
type: do
This command can be used to rename printer files.
do parameters Original filename and new filename
Example Description Rename file abc.cpf to efg.cpf.
Syntax ! U1 do “file.rename” “abc.cpf
efg.cpf”
Result File abc.cpf will be renamed to
efg.cpf.
file.run
type: do
This command can be used to execute a batch file or la-
bel file stored in the printer’s file system.
do parameters File to execute
Example Description This command instructs the printer
to execute the file called ftn.bat.
Syntax ! U1 do “file.run” “ftn.bat”
Result The file ftn.bat will be executed.
file.type
type: do
This command can be used to retrieve contents of a file.
do parameters Filename to display contents
Example Description This command instructs the printer
to respond with the contents of the
file called config.sys.
Syntax ! U1 do “file.type” “config.sys”
Result ! U
BEEP 2
PRINT