Procedure to load the device types such as ZLEX1 and ZOPTRA: 1) The latest versions of the device types are on SAPSERVX. They are also available on the Lexmark SAP homepage http://service.sap.com 2) Login with privileges to add printer device types, and start transaction SE38. "Execute" report RSTXSCRP to load the device types ZLEX1 or ZOPTRA, etc. Put the name (not the .pri extension) of the device type in the Object Name field. Change the Mode field to IMPORT. Press the EXECUTE button (F8). Example of screen fields for ZLX4059 device type through SAP Release 3.0x: SAPscript-Object: PRIN Object name: ZLEX1 Dataset name: /tmp/ZLEX1.PRI Binary file format: Mode (EXPORT/IMPORT): IMPORT Language vector: Example of screen fields for ZOPTRA device type starting with Release 3.1x/4.X: SAPscript Export to Dataset / SAPscript Import from Dataset Device type: (check this radio button, not the next 3 below) Layout set: (don't check) Style: (don't check) Standard text: (don't check) Object name ZOPTRA Mode (EXPORT,IMPORT): IMPORT Ctrl parameters for file operation File system: Server (check this button) File system: GUI (don't check this button, but see NOTE below) Dataset name: /tmp/********&&&& Binary file format: (don't check) Display dataset contents: (don't check) Control of language versions Language vector: (leave blank) Only export original language: (don't check) NOTE: If you are running SAP-GUI from Windows, you may also use the local PC filesystem to get the device type for your unix SAP system. Press the radio button "File System: GUI" and press the EXECUTE button. You will get a small dialog box titled: "Transfer to a Local File". Enter the path and filename of the device type, IE: C:\TEMP\ZOPTRA.pri, and press the TRANSFER button. IMPORTANT: after above installation (or modification of a device type): a) Reset the Cache of SAPscript, by calling transaction SE38, and then execute the report RSTXDELL. (use client = '*') b) Reset the character code cache: Start transaction SP12. ->character sets -> Conf. buffer(CCC) -> Invalidate CCC The reset is only valid on the actual instance. Therefore you have to connect on the instance on which the spool work process is running c) Restart of the spool work process Start transaction SM50. Highlight the spool work process "SPO". From the toolbar: -> Process -> cancel without core (F9) The spool work process should restart automatically after a few seconds (or the next interrupt). Possible format modifications and default sets: In transaction SPAD, press Full Administration, then select Device Types button. Select and double-click the new device type, ie: ZLEX1 or ZOPTRA, etc. Press the FORMAT button, then select and double-click the format you want to modify, ie: X_65_132. Press the CHANGE button, and then double-click within the line "Printer Initialization". In order to enable the desired functions listed below, remove the hash "#" sign (and blank) from the beginning of each desired line. When done, press the SAVE button once (the data will be saved to the temporary buffer). Press SAVE once more. Press the RETURN (left green arrow) button. # set MultiUp (not for use with xx50-series printers, which does not support the LMULTIPAGEPRINT command ) # @PJL SET LMULTIPAGEPRINT = OFF\r\n # @PJL SET LMULTIPAGEPRINT = 2UP\r\n # @PJL SET LMULTIPAGEPRINT = 3UP\r\n # @PJL SET LMULTIPAGEPRINT = 4UP\r\n # @PJL SET LMULTIPAGEPRINT = 6UP\r\n # @PJL SET LMULTIPAGEPRINT = 9UP\r\n # The following MULTIPAGEPRINT only supported by Optra T and W # @PJL SET LMULTIPAGEPRINT = 12UP\r\n # @PJL SET LMULTIPAGEPRINT = 16UP\r\n # JOBOFFSET only supported by Optra W # @PJL SET JOBOFFSET = ON\r\n # @PJL SET JOBOFFSET = OFF\r\n # @PJL SET JOBOFFSET = BETWEENJOBS\r\n # @PJL SET JOBOFFSET = BETWEENCOPIES\r\n # LPUNCH only supported by Optra W # @PJL SET LPUNCH = ON\r\n # @PJL SET LPUNCH = OFF\r\n # LSTAPLE only supported by Optra W # @PJL SET LSTAPLE = ON\r\n # @PJL SET LSTAPLE = OFF\r\n # Set resolution to 300 dpi # @PJL SET RESOLUTION = 300\r\n # Set resolution to 600 dpi (standard) @PJL SET RESOLUTION = 600\r\n # Set resolution to 1200 dpi # @PJL SET RESOLUTION = 1200\r\n # Set resolution to image Quality OFF @PJL SET LIMAGEENHANCE = OFF\r\n # Set resolution to image Quality ON # @PJL SET LIMAGEENHANCE = ON\r\n # Set Econmode OFF # @PJL SET ECONMODE = OFF\r\n # Set Econmode ON # @PJL SET ECONMODE = ON\r\n # Set quality mode to PQET (Print Quality Enhancement Technology) # @PJL SET RET = OFF\r\n # @PJL SET RET = ON\r\n # Set print darkness to normal # @PJL SET DENSITY = 3\r\n # Set print darkness to dark # @PJL SET DENSITY = 4\r\n # Set print darkness to darkest # @PJL SET DENSITY = 5r\n # Set print darkness to light # @PJL SET DENSITY = 2\r\n # Set print darkness to lightest # @PJL SET DENSITY = 1\r\n Selection of the input tray:: # select input tray 1 # \e&l1H # select input tray 2 # \e&l5H # select input tray 3 # \e&l4H # select input tray 4 # \e&l20H # select input tray 5 # \e&l21H # select multipurpose feeder # \e&l8H Selection of the output bin: (ZLEX1, ZOPTRA) # select standard output bin # \e&l1G # select output bin 1 # \e&l2G # select output bin 2 # \e&l4G # select output bin 3 # \e&l5G # select output bin 4 (ZLEX1, ZOPTRA) # \e&l6G # select output bin 5 (ZLEX1, ZOPTRA) # \e&l7G # select output bin 6 (ZLEX1, ZOPTRA) # \e&l8G # select output bin 7 (ZLEX1, ZOPTRA) # \e&l9G # select output bin 8 (ZLEX1, ZOPTRA) # \e&l10G # select output bin 9 (ZLEX1, ZOPTRA) # \e&l11G # select output bin 10 (ZLEX1, ZOPTRA) # \e&l12G Duplex printing: (ZLEX1, ZOPTRA) # set duplex printing long edge binding # \e&l1S # set duplex printing short edge binding # \e&l2S in SAPSCRIPT: Printcontrols: Selection of the input trays: TRY01 input tray 1 TRY02 input tray 2 TRY03 input tray 3 (ZLEX1, ZOPTRA) TRY04 input tray 4 (ZLEX1, ZOPTRA) TRY05 input tray 5 (ZLEX1, ZOPTRA) Selection of the output bins: (ZLEX1, ZOPTRA) TROST Standard output bin TRO01 Output bin 1 TRO02 Output bin 2 TRO03 Output bin 3 TRO04 Output bin 4 (ZLEX1, ZOPTRA) TRO05 Output bin 5 (ZLEX1, ZOPTRA) TRO06 Output bin 6 (ZLEX1, ZOPTRA) TRO07 Output bin 7 (ZLEX1, ZOPTRA) TRO08 Output bin 8 (ZLEX1, ZOPTRA) TRO09 Output bin 9 (ZLEX1, ZOPTRA) TRO10 Output bin 10 (ZLEX1, ZOPTRA) Additional barcodes: To use a barcode, descibed below, it must be defined within the systembarcodes: (Transaction SE73, Systembarcodes, change, insert into the following mask the values of the corresponding line) Z_128C Code 128C 01 40 9,00 CM 1,30 CM Z_AUST Australian 4-state postal 08 08 7.00 CM 0.70 CM Z_C128A Code 128A 01 40 9,00 CM 1,30 CM Z_CD39E Code 3 of 9 extended 01 40 5,00 CM 1,30 CM Z_CD39EC Code 3 of 9 ext.+ check digit 01 40 9,00 CM 1,30 CM Z_CD93 Code 93 01 50 5,00 CM 1,30 CM Z_CD93E Code 93 extended 01 50 9,00 CM 1,30 CM Z_CODA Codabar 01 30 9,00 CM 1,30 CM Z_CODAC Codabar + mod 16 check digit 01 30 9,00 CM 1,30 CM Z_DANPTT Danish PTT 3 of 9 01 40 5,00 CM 1,30 CM Z_EAN132 EAN/JAN-13 +2-digit supplement 14 14 5,00 CM 1,30 CM Z_EAN135 EAN/JAN-13 +5-digit supplement 17 17 5,00 CM 1,30 CM Z_EAN82 EAN/Jan-8 +2-digit supplement 09 09 5,00 CM 1,30 CM Z_EAN85 EAN/JAN-8 +5-digit supplementa 12 12 5,00 CM 1,30 CM Z_FREPOS French Postal 3 of 9 A/R 01 40 5,00 CM 1,30 CM Z_GP25I German Postal 2 of 5 Identcode 11 11 5,00 CM 1,30 CM Z_GP25L German Postal 2 of 5 Leitcode 13 13 5,00 CM 1,30 CM Z_INDUS Industrial 2 of 5 02 26 5,00 CM 1,30 CM Z_INDUSC Industrial 2 of 5 +check digit 01 25 5,00 CM 1,30 CM Z_MATR Matrix 2 of 5 02 26 5,00 CM 1,30 CM Z_MATRC Matrix 2 of 5 + check digit 01 25 5,00 CM 1,30 CM Z_MAXI MaxiCode 48 48 2.60 CM 2.60 CM Z_PDF417 2D Barcode PDF417 01 50 15,00 CM 10,00 CM Z_PSN11 POSTNET11-dig deliv Point Code 11 11 5,00 CM 1,30 CM Z_SGP Singapore 4-state postal 06 06 4.50 CM 0.70 CM Z_UCC128 UCC 128 19 19 5,00 CM 1,30 CM Z_UKRM UK Royal Mail 4-state postal 09 09 5.00 CM 0.70 CM Z_UPCA UPC-A 12 12 5,00 CM 1,30 CM Z_UPCA2 UPC-A +2-digit supplemental 14 14 5,00 CM 1,30 CM Z_UPCA5 UPC-A +5 digit supplemental 17 17 5,00 CM 1,30 CM Z_UPCE UPC-E 07 07 5,00 CM 1,30 CM Z_UPCE2 UPC-E +2-digit supplemental 09 09 5,00 CM 1,30 CM Z_UPCE5 UPC-E +5-digit supplemental 12 12 5,00 CM 1,30 CM Z_USPSS USPS sack label 8digit 2of5 08 08 5,00 CM 1,30 CM Z_USPST USPS tray label 10digit 2of5 10 10 5,00 CM 1,30 CM NOTE: Print Control info for 2D barcodes, ie: PDF417 (SBP99) and MaxiCode (SBP94): SAP internally limits the length of the barcode data to 70 characters. The programmer must determine the length of the barcode data field, and must change the print control character sequence to reflect the data length.