Please enable JavaScript to view this site.

ESL Documentation

"FILE filename"

Sets the name of the file to print. The full path should be included in the filename, to ensure the correct file is located by ESLPR. If the filename contains embedded spaces, it is recommended that it is enclosed in double-quotes to ensure that any command keyword is not interpreted.

As the full path filename will require the inclusion of the back-slash character "\", you will need to use the escape sequence "\\", as in the following example.

The FILE command is the only essential command for ESLPR to process a print.

(Note. The maximum length of a filename, including path, is 256 characters.)

Example

application PRINTER_LA "ESLPR.EXE"

 

response to start

...

   start local PRINTER_LA "eslpr.exe" 

 

response to ....

   send "FILE \"c:\\Documents and Settings\\ESL\\My Documents\\Print.txt\"\n" to PRINTER_LA