Ethernet Printer Programmer’s Guide Audience This guide is for the system administrator or programmer using the network printer. Applicable Models All Del Sol and Advantage network e+Solutions™ enabled printers.
Overview Guide Conventions Notes and important comments are highlighted respectively with a border line and red text. Note: Contains information that helps prevent errors and provides tips on where to find additional information. Important: Indicates procedures and comments that must be followed or the software and/or printer could be misconfigured. This document is for a system administrator to follow and use as a guide to configure Cognitive’s network printers. It is not designed for an average user.
Programming Overview Programming Overview Bar code printers are programmable devices. Most Cognitive printers use the same command language, which has become an industry standard. Cognitive’s Ethernet printers accept a series of Variable Ethernet commands specific to this line of printers. These commands and other Ethernet functions are explained in this document. In typical label printing applications, simple ASCII commands control the printer. These commands are written to files called label formats.
Command Syntax Command Syntax Command descriptions throughout this document use only the explicit form. The command descriptions contain the following elements: COMMAND NAME Function: The purpose of the command. Command Form: COMMAND syntax Parameters: List any required or optional parameters included in the command syntax and the default values for variable elements of the syntax. Comments: Any additional comments relating to command usage. See Also: Lists related commands.
Programming Rules Programming Rules • Use blank spaces exactly as shown in the command descriptions, examples and syntax. Blank spaces are the delimiters between parameters. Omitting a necessary space may cause incorrect programming or a command recognition failure. • Do not send extraneous control characters to the printer. • End every command line with a line feed or a carriage return and line feed.
Variable Ethernet Commands BOOTP Function: The VARIABLE ETHERNET BOOTP command toggles BOOTP on and off. Command Form: VARIABLE ETHERNET BOOTP status Parameters: ON / OFF (default is ON) Example: ! 0 0 0 0 VARIABLE READ VARIABLE ETHERNET BOOTP ON VARIABLE WRITE VARIABLE ETHERNET RESET END FIRMWARE Function: Used in conjunction with BOOTP, the VARIABLE ETHERNET FIRMWARE command automatically updates the printer firmware.
Variable Ethernet Commands GATEWAY Function: The VARIABLE ETHERNET GATEWAY command establishes the Gateway address. Command Form: VARIABLE ETHERNET GATEWAY X.X.X.X Parameters: X.X.X.X, where X is a value between 0 and 255 (default is 0.0.0.0) Example: ! 0 0 0 0 VARIABLE READ VARIABLE ETHERNET GATEWAY 8.9.9.123 VARIABLE WRITE VARIABLE ETHERNET RESET END HEXDUMP Function: The VARIABLE ETHERNET HEXDUMP command causes the printer to print input from the Ethernet port directly to the print head label.
Variable Ethernet Commands Example: ! 0 0 0 0 VARIABLE READ VARIABLE ETHERNET IP 130.10.1.6 VARIABLE WRITE VARIABLE ETHERNET RESET END LPD Function: The VARIABLE ETHERNET LPD command toggles LPD on and off. Command Form: VARIABLE ETHERNET LPD status Parameters: ON / OFF (default is ON) Example: ! 0 0 0 0 VARIABLE READ VARIABLE ETHERNET LPD ON VARIABLE WRITE VARIABLE ETHERNET RESET END NETMASK Function: The VARIABLE ETHERNET NETMASK command establishes the Netmask value.
Variable Ethernet Commands RESET Function: The VARIABLE ETHERNET RESET command initiates current variable commands for the printer. Command Form: VARIABLE ETHERNET RESET Parameters: No Parameters. Comments: The VARIABLE ETHERNET RESET command must follow any VARIABLE ETHERNET commands to effect the change.
Variable Ethernet Commands RTEL PORT Function: The VARIABLE ETHERNET RTEL PORT command sets the reverse telnet port address. Command Form: VARIABLE ETHERNET RTEL PORT X Parameters: X (default is 9100) Comments: Changes to this value are not recommended. Example: ! 0 0 0 0 VARIABLE READ VARIABLE ETHERNET RTEL PORT 9100 VARIABLE WRITE VARIABLE ETHERNET RESET END TELNET Function: The VARIABLE ETHERNET TELNET command enables or disables Telnet communications with the printer.
Cognitive Information USA 691 Corporate Circle Golden, CO 80401 Tel: +1 303 273 1400 Toll free: +1 800 525 2785 Fax: +1 303 273 1414 sales@cognitive.com Europe Asia-Pacific Japan Atlantic Street Altrincham Cheshire WA14 5QJ UK Tel: +44 161 929 9933 Fax: +44 161 927 7664 europesales@cognitive.com PO Box 726 Level 3, 39 Leighton Place Hornsby NSW 2077 Australia Tel: +61 2 9477 1999 Fax: +61 2 9477 1453 asiasales@cognitive.