DevicesCustom Commands for Epson Devices

If the Family selected is Family Driver and the Model selected is ESC/Label, or if the Family selected is Epson, then the Custom Commands tab displays the following options. For more information about drivers and Loftware Enterprise™ SP, see Managing Devices.

Custom commands are sent even if Send Device Options is cleared in the Advanced tab.

Note: You can enter lower ASCII control codes by using mnemonic text representation. The mnemonic text must be upper case. For example, you can use <ESC> for an escape character or <HT> for a tab character. To enter upper case text that includes < or > but should not be converted to a control code, enclose the text with << and >>. For example, <<US>> is converted to <US>. Lower case or mixed case text enclosed in < and > will remain as is and will not be converted into a control code. For a list of common control codes, see Lower ASCII Control Codes.

Command Location

You can configure custom ESC/Label commands to occur in specific locations within the job.

Note: For some custom commands, it may be necessary to add Start Format (^XA) and End Format (^XZ) as part of the command.

Option Description

Before Label

Command to occur as the first command sent to the device at the start of the job. On an extended print job (multiple label requests in print stream), this command occurs only before the first label request.

This location is outside the boundaries of an ^XA-^XZ format string.

After Control Strings

Command to occur after the configuration part of the print stream.

This location is inside the boundaries of an ^XA-^XZ format string.

Last Command Before ^PQ

Command to occur after all the fields are defined and immediately before the ^PQ (Print Quantity) command.

This location is inside the boundaries of an ^XA-^XZ format string.

Last Command After ^PQ

Command to occur immediately after the ^PQ (Print Quantity) command.

This location is inside the boundaries of an ^XA-^XZ format string.

After Label

Command to occur as the last command sent after each label.

This location is outside the boundaries of an ^XA-^XZ format string.

Example: Preventing Superimposed Label Designs

If another application prints to the same device as Loftware Enterprise SP and that application neglects to send the Map Clear command (^MCY), you might need to enter the following custom command in the After Label field to prevent a print request from the other application from being superimposed on top of a label design printed by Loftware Enterprise SP. Because this location is outside the boundaries of an ^XA-^XZ format string, you must include those commands.

^XA^MCY^XZ

Example: Manually Changing the Print Speed

If you are using a device that is only partially supported and you need to manually change the print speed by a means other than using the Print Speed option on the Media tab, you could enter the following custom command in the After ZPL Control Strings field to change the print speed to 10ips. Because this location is inside the boundaries of an ^XA-^XZ format string, you do not include those commands.

^PR10

Note: For more information about ESC/Label, see your Epson documentation.