Printronix SL4M Programmer's Reference Manual
Printronix SL4M Programmer's Reference Manual

Printronix SL4M Programmer's Reference Manual

Printer protocol interpreter (ppi) dgl thermal series
Hide thumbs Also See for SL4M:
Table of Contents

Advertisement

Printer Protocol Interpreter (PPI) DGL™
Programmer's Reference Manual for DGL,
®
a Datamax
DPL
Printer Protocol Interpreter
Thermal Series Printers

Advertisement

Table of Contents
loading

Summary of Contents for Printronix SL4M

  • Page 1 Printer Protocol Interpreter (PPI) DGL™ Programmer’s Reference Manual for DGL, ® ™ a Datamax Printer Protocol Interpreter Thermal Series Printers...
  • Page 3 Printer Protocol Interpreter (PPI) DGL Programmer’s Reference Manual for DGL, a Datamax DPL Printer Protocol Interpreter Thermal Series Printers...
  • Page 4: Trademark Acknowledgments

    Trademark Acknowledgments DPL is a trademark and Datamax is a registered trademark of Datamax Technologies Corporation. PPI is a trademark of Printronix, Inc. Printronix and PSA are registered trademarks of Printronix, Inc. COPYRIGHT © 2006 PRINTRONIX, INC. All rights reserved.
  • Page 5: Table Of Contents

    STX A - Set Time and Date ... 19 STX a - Enable Feedback Characters ... 19 STX B - Get Printer Time and Date Information ... 19 STX c - Set Continuous Paper Length... 19 STX E - Set Quantity For Stored Label... 19 STX e - Select Edge Sensor...
  • Page 6 STX k - Test RS-232 Port ... 20 STX L - Enter Label-Formatting Command ... 20 STX m - Set Printer To Metric... 21 STX n - Set Printer to Imperial (Inches)... 21 STX o - Cycle Cutter... 21 STX Q - Clear All Modules... 21 STX q - Clear Module ...
  • Page 7 m Set Metric Mode... 25 n Set Inch Mode (Imperial) ... 25 P Set Print Speed ... 25 Q Set Quantity Of Labels To Print ... 25 R Set Row Offset Amount... 25 r Recall Stored Label Format... 25 S Set Slew Rate... 26 s Store Label Format In Module ...
  • Page 8 STX g - Internal Batch Software Mode ... 34 STX N - Enter Internal Batch ... 34 STX s - Set Printer to single buffer mode ... 34 e - Recall Printer Configuration... 34 f - Set Present Speed ... 35 M - Select Mirror Mode ...
  • Page 9 Flash / Ram Module compatibility... 42 Bi-Directional Communications... 43 Cutter Commands... 43 Emulations ... 44 Printer Configuration... 44 Command Reference... 44 A Configuration Setting Compatibility... 47 B Contact Information... 57 Printronix Customer Support Center... 57 Printronix Supplies Department ... 57 Corporate Offices... 58...
  • Page 10 Table of Contents...
  • Page 11: Introduction

    ™ Datamax Graphic Language (DGL) Utility and the Datamax language. Use this manual with your SL5000r / T5000r or SL4M/T4M User’s Manual for complete printer-protocol operation. NOTE: When substituting a Datamax printer with an SL5000r/T5000r or SL4M/T4M printer, refer to the DGL Menu Conversions on page 47.
  • Page 12: Dgl Setup Menu

    For SL5000r/T5000r printers, these menus are only present when ‘Admin User’ is set to ‘Enable’ in the ‘PRINTER Metric CONTROL’ menu. For SL4M/T4M printers, these menus are only present when ‘Admin User’ is set to ‘Enable’ in the ‘PRINTER SETUP’ menu. German...
  • Page 13: Dgl Setup Submenu

    For SL5000r/T5000r printers, these menus are only present when ‘Admin User’ is set to ‘Enable’ in the ‘PRINTER CONTROL’ menu. For SL4M/T4M printers, these menus are only present when ‘Admin User’ is set to ‘Enable’ in the ‘PRINTER SETUP’ menu.
  • Page 14: Character Set

    The default ‘User-Defined’ values are shown in the table above. Feedback Chars When enabled, the printer returns a Hex 1E [RS] after each label successfully prints, and Hex 1F [US] after each batch of labels is printed. For invalid characters, the printer responds with Hex 07 [BEL].
  • Page 15: Row Offset

    Off. No signal to the user when errors are detected. • Report. The printer will beep when one or more errors are detected, and the first command that contains an error is shown on the printer’s LCD in mnemonic form. •...
  • Page 16: Vertical Dpi Adjust

    Chapter DGL SETUP Menu Vertical DPI Adjust This option fine adjusts the resolution used to scale the page elements/ coordinates. In cases where the printed label length is incorrect, the vertical resolution value DGL uses for calculations can be fine adjusted by this menu between -100 and +100.
  • Page 17: Sensor Cmd (E,R)

    DGL SETUP Submenu Sensor Cmd (e,r) Allows the user to disable the commands that select the Gap / Mark sensor (<STX>e and <STX>r). Format Attr.(A) Allow the user to disable the commands that select the Format Attribute.
  • Page 18 Chapter DGL SETUP Menu...
  • Page 19: Fully Supported Commands

    This command sets the number of labels to print for the label format currently stored in the print buffer. (The printer automatically stores the most recent label format in the buffer until the printer is reset or turned ‘Off’.) To print, this command is used in conjunction with the <STX>G command.
  • Page 20: Stx F - Form Feed

    The <STX>E command is used to enter the quantity. STX I - Input Image Data This command must precede image data downloading from a host computer to the printer. The data that immediately follows the command string will be image data. STX i - Downloading Scalable Fonts The command structure for downloading TrueType (.TTF) scalable fonts...
  • Page 21: Stx M - Set Printer To Metric

    Media Handling menu is set to ‘Cut’, and the DGL Advanced-User Menu ‘Cut Cmds’ is set to ‘Process’. STX Q - Clear All Modules This command instructs the printer to clear all of the Flash, RAM, and Internal Modules. STX q - Clear Module This command clears the selected memory module (Flash or RAM).
  • Page 22: Stx V - Software Settings

    STX v - Print Firmware Version Information This command causes the printer to respond by sending a version string. The version may be different from printer to printer (this data is the same as that printed on the configuration label).
  • Page 23: Set Count By Amount

    - (<) Make Last Field Entered Decrement Numeric (Alphanumeric) The printer is capable of counting down fields on labels in a batch. This command is useful when printing labels need to be numbered in reverse sequence. The data in the field will decrement by the value after the minus sign with every label printed.
  • Page 24: D - Set Dot Size Width And Height

    When the printer is processing Label-Formatting Commands and receives an ‘E’ command, it will immediately print a label based upon the data received at that point. Even if no printable data has been received, the printer will generate and feed a label (other termination commands are ‘X’ and ‘s’).
  • Page 25: H - Enter Heat Setting

    Set Metric Mode This command sets the printer to measure in metric. When this command is sent, all measurements will be interpreted as metric values, (e.g., a column offset of 0010 will be interpreted as 1.0mm). All printers default to Imperial (inch) mode.
  • Page 26: Set Slew Rate

    This command sets the rate for the printer to feed non-printed areas of the label through the printer. The slew rate remains unchanged unless another slew rate command is sent, the printer is reset or a new rate is set via the menu.
  • Page 27: Stx S Recall Global Data And Place In Field

    Time and date string data is selected by choosing the string character A through Z and a through h to retrieve data from the printer’s internal clock. The date string characters are not printed, instead the printed label will show the corresponding print values.
  • Page 28 Chapter : EAN-13 : EAN-8 : Health Industry Barcode (HBIC) (Code 39 barcode with a modulo 43 checksum) : Codabar : Interleaved 2 of 5 with a modulo 10 checksum : Plessey (See Partially Supported Commands) : Interleaved 2 of 5 with a modulo 10 checksum and shipping bearer bars : 2-digit UPC addendum : 5-digit UPC addendum : Code 93...
  • Page 29: Soh *- Reset

    SOH A - Send ASCII Status String This command allows the host computer to check the current printer status. The printer returns a string of eight characters to the host, followed by a carriage return. Each character is either a ‘Y’ or ‘N’ indicating that the associated condition is true (Y) or false (N).
  • Page 30: Soh E - Send Batch Quantity

    (1 or 0) represents one of the printer’s status flags, followed by a carriage return, see table below. If an option is unavailable for the printer, the single bit will always be 0. A satisfied condition equals 1. (Not supported.) SOH U - Update System Database with Current Database This command will copy the current User database into the system database.
  • Page 31: Stx Kf - Select Factory Defaults

    PAUSE and CANCEL keys; or, 3) via the printer’s menu system entry System Settings / Set Factory Defaults. (Not supported.) STX KF - Select Factory Defaults This command restores the printer’s configuration to the “factory default”...
  • Page 32: Stx Kb - Backfeed Time Delay

    (Obsolete Extended System Command.) STX M - Set Maximum Label Length This command instructs the printer to travel this distance in search of top-of- form (label edge, notch, black mark, etc.) before declaring a paper out fault. The fault condition can occur if this value is set too close to the physical length of the label (within 0.1inch/2.54mm).
  • Page 33: Stx P - Character (Hex) Dump Mode

    STX T - Printhead Dot Pattern Test Label This command instructs the printer to print a dot pattern test label. To view all dots, the labels must be at least four inches (102mm) long and as wide as the maximum print width.
  • Page 34: Stx Z - Print Internal Information

    Chapter received, the printer will respond with the internal A-D sensor values, see table below. To repeat the display of values, send the printer a ‘SPACE’ (20 hexadecimal). Send <ESC> to terminate the function. (Not supported.) STX Z - Print Internal Information This command prints the configuration.
  • Page 35: F - Set Present Speed

    This command is used for the “Peel and Present” and “Cut Label Operations”. It allows the user to specify the rate at which the printer will reverse the label direction to align the next start of print position. The rate set by this command remains in effect until another backup speed command is received, see Appendix L for valid ranges.
  • Page 36: Fonts

    Chapter Fonts See the tables below for the different types of fonts that will be available. All Single-Byte fonts will be supported, and will be available in DGL by default. Double-Byte support has not been planned.
  • Page 37 Internal Bitmapped Non-Proportional fonts: Type DPI Height Width Spacing Point Size 96-character alphanumeric font, uppercase and lowercase. 203 7 300 10 145-character uppercase and lowercase alphanumeric font that includes desenders and ascenders. 203 13 300 19 138-character alphanumeric upper and lowercase font. 203 18 300 27 62-character alphanumeric uppercase font.
  • Page 38: Slash Zero

    Chapter ISmooth, Scalable and Downloaded fonts: Size field (eee) A04 – A72 000 - 010 100 - 999 S50 - S5z... S90 - S9z U50 -U5z... U90 -U9z u50 -u5z... u90 -u9z Font ID 9 uses the Size field ( eee ) in the Record Format to select the Smooth, Scalable, or Downloaded fonts.
  • Page 39: Codepages

    Codepages Resident Bitmap Fonts The Resident Bitmap fonts don’t use different codepages; the characters are mapped at predefined positions, defined in the table below. See the print samples in Appendix C in the ‘Class Series Programmers Manual’ for the reference characters. Valid ASCII Characters for bitmap fonts: Font Valid ASCII Characters (decimal)
  • Page 40: Barcode Symbologies

    PDF interpretation. Origin UPC / EAN If the user provides the checksum, the printer will check that it matches the expected checksum. If it does not match, the printer will print all zeros and the expected checksum. (Not supported for UPC-E.)
  • Page 41 UCC/EAN Code 128 DGL follows the UCC standards, and requires the amount of data that is defined for the provided AI (Application Identifier). For example, with barcode ‘Q’ the required amount of data is 19 according to the Datamax manual. An AI of ‘00’...
  • Page 42: Images

    Chapter Images Images can be downloaded to the printer to be stored in Flash or DRAM in the following formats using the <STX>I Command. Image Formats: 7-bit Datamax image load file .BMP 8-bit format (image will be flipped) black & white .BMP 8-bit format (save image as received) black &...
  • Page 43: Bi-Directional Communications

    The only problem that might occur is when there is bi-directional communication needed for a Windows driver, which might verify an object got stored correctly by requesting a module directory. When specifying a module that is not available, the printer will automatically select the default module. Bi-Directional Communications Bi-Directional communications can be divided in two groups: time-critical (immediate), and non-time-critical responses.
  • Page 44: Emulations

    DGL. Printer Configuration All DPL commands affecting the printer configuration will be ignored. DGL has its own configuration management to save / load configuration settings that can be used instead. See table below for the affected commands (all ignored): <SOH>U...
  • Page 45 DataMax Values do not correspond with PTX values. <STX>D Memory Dump (Test Mode Only) <STX>d Set Printer to double buffer mode <STX>s Set Printer to single buffer mode This only affects the internal processing of dynamic fields, cannot be changed in DGL, which always prints using display list.
  • Page 46 Controlled Pause These commands can be supported by using PAA to filter out the commands, and have GPIO put the printer in Single Label Mode. A panel-key can then be assigned by GPIO to either print the next label (for <STX>J ), or disable pause mode again (for <STX>p ).
  • Page 47: A Configuration Setting Compatibility

    Configuration Setting Compatibility The tables below list the Datamax configuration setting along with a description of its behaviour on Datamax printers, and the corresponding Printronix menu setting. Table 1. Media Settings menu Datamax Setting MEDIA TYPE Selects the printing method.
  • Page 48 Objects extending beyond this limit will NOT print. *04.10, 06.61 or 08.52 (0 - 08.52) SENSOR CALIBRATION Adjusts the printer to sense your media. Table 2. Print Control Menu Datamax Setting HEAT Controls the ‘burn-time’ of the printhead.
  • Page 49 Datamax Setting FEED SPEED Controls the rate of label movement between printing areas. *6 (2-12 ips) REVERSE SPEED Controls the rate of label movement during backup positioning for start of print, cutting or present distance. ROW OFFSET Shifts the vertical start of print position.
  • Page 50 Appendix A Table 3. Printer Options Menu Datamax Setting MODULES Memory available for user storage of graphics, fonts and label formats. PRINT DIRECTORY Prints a label directory of selected, or of all available modules. PRINT FILE The user may select from a list of available files for sample printing.
  • Page 51 Table 3. Printer Options Menu Datamax Setting GPIO PORT Model dependant option used to interface the printer to an external controlling device. Table 4. System Settings Menu Datamax Setting CONFIGURATION FILE Options for storage and recall of printer configuration files.
  • Page 52 Resets the Resettable Counter to zero. PRINT CONFIGURATION Prints the effective configuration of the system. CONFIGURATION LEVEL To upgrade the application program (resident software) version of the printer. Description PTX Setting SL5000r/T5000r: PRINTER → CONTROL Memory 900 KBytes* (50 to 900...
  • Page 53 Table 4. System Settings Menu Datamax Setting PRINTER KEY Each printer has a unique Key number in the following form: vvvv-wwxx-yyyyyy-zzz UPGRADE PRINTER CODE This function is used to upgrade the software feature level of the printer. SET FACTORY DEFAULTS...
  • Page 54 Selects the measurement system in which the system’s settings are represented in the menu system and on configuration labels. METRIC, *IMPERIAL INPUT MODE Defines the type of printer language. *DPL, LINE PLUS EMULATION Provides compatibility with ALLEGRO EMULATION legacy Datamax emulations.
  • Page 55 Settings which affect all communications with a host HOST TIMEOUT The number of seconds a communications port must be idle before the printer may process data from a different port. *10 SEC (1-60) CONTROL CODES Allows the operator to change...
  • Page 56 Appendix A Table 6. Diagnostics Menu Datamax Setting HEX DUMP MODE Prints data and instructions received from the host rather than interpreting them as label formats ENABLE, *DISABLE OPTIONS TESTING Tests currently installed options PRINT TEST RATE (min) The number of minutes to delay between the printing of batches of labels in Quick Test Mode.
  • Page 57: B Contact Information

    Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/public/servicessupport/default.aspx Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies. Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/public/supplies/default.aspx (714) 368-2686 (31) 24 6489 410...
  • Page 58: Corporate Offices

    NL-6600 Ad Wijchen The Netherlands Phone: (31) 24 6489489 Fax: (31) 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone: (65) 6542 0110 Fax: (65) 6546 1588 Visit the Printronix web site at www.printronix.com...
  • Page 60 *250103-001* 250103-001D...

This manual is also suitable for:

Sl5000rT4mT5000r

Table of Contents