Please enable JavaScript to view this site.

ESL Documentation

"EXIT"

ESLPR.EXE will respond with the string 'EXIT' and exits after processing any other commands within the same command line.

If there are additional commands to process, the ESL runtime will initially receive the "DONE" or an error response.

When the ESLPR.EXE responds with the string "EXIT", your application must stop the local application, otherwise it is impossible to restart and print additional documents.

If the ESLPR.EXE Local Application is not required for a long time, then use the ESL statement "stop".

Example

send "FILE c:\\Print.txt EXIT\n" to PRINTER_LA

...

response to line from PRINTER_LA

 switch input is

    case char "EXIT" is

        stop PRINTER_LA

...

     default is

 end switch