Home
TBarCode/SAPwin
Contents
1. size Index Symbol size rows x columns Index Symbol size rows x columns 0 Automatic sizing 21 101 x 101 1 21x21 22 105 x 105 2 25 x 25 23 109 x 109 3 29 x 29 24 113 x 113 4 33 x 33 25 117x117 5 37x37 26 121 x 121 6 41x41 27 125 125 7 45 x 45 28 129 x 129 8 49 x 49 29 133 x 133 9 53 x 53 30 137 x 137 10 57x57 31 141 x 141 11 61 x 61 32 145 x 145 12 65 x 65 33 149 x 149 13 69 x 69 34 153 x 153 14 73x73 35 157x157 15 77x77 36 161 x 161 16 81 x 81 37 165x 165 17 85 x 85 38 169 x 169 18 89 x 89 39 173 x 173 19 93 x 93 40 177 x 177 20 97x97 Table 43 QR Code Symbol Sizes 22 4 Micro QR Code Symbol Sizes Versions This table shows the possible user defined symbol sizes for Micro QR Code You can set them by the print control MOV Index The column Index represents the value that defines the corresponding size Index Symbol size rows x columns 0 Automatic sizing 1 M1 11 x 11 2 M1 13 x 13 3 M1 15 x 15 4 M1 17 x 17 Table 44 Micro QR Code Symbol Sizes WWW TEC IT COM Page 64 of 90 22 5 MicroPDF Symbol Sizes Versions This table shows the possible user defined symbol sizes for MicroPDF417 You can set them by the print control The column Index represents the value that defines the corresponding size Index Symbolgr e Sp
2. C E128 43 3D 45 31 32 38 UCC EAN128 C E13 43 3D 45 31 33 EAN13 C E13 2 43 3D 45 31 33 2B 32 EAN13 2 digits add on C E13 5 43 3D 45 31 33 2B 35 EAN13 5 digits add on C E14 43 3D 45 31 34 EAN 14 C E8 43 3D 45 38 EAN8 C E8 2 43 3D 45 38 2B 32 8 2 digits add C E8 5 43 3D 45 38 2B 35 EANG 5 digits add on C FLM 43 3D 46 4C 4D Flattermarken C G128 43 3D 47 31 32 38 GS1 128 C HL128 43 3D 48 4C 31 32 38 HIBC LIC Code 128 C HL39 43 3D 48 4C 33 39 HIBC LIC Code 39 C HLCB 43 3D 48 4C 43 42 HIBC LIC CODABLOCK F C HLDM 43 3D 48 4C 44 4D LIC Data Matrix C HLMP 43 3D 48 4C 4D 50 LIC Micro PDF417 C HLPD 43 3D 48 4C 50 44 LIC PDF417 C HLQ 43 3D 48 4C 51 LIC QR Code 2 C HP128 43 3D 48 50 31 32 38 HIBC PAS Code 128 C HP39 43 3D 48 50 33 39 HIBC PAS Code 39 C HPCB 43 3D 48 50 43 42 HIBC PAS CODABLOCK F C HPDM 43 3D 48 50 44 4D PAS Data Matrix C HPMP 43 3D 48 50 4D 50 HIBC PAS Micro PDF417 C HPPD 43 3D 48 50 50 44 HIBC PAS PDF417 C HPQ 43 3D 48 50 51 PAS QR Code 114 43 3D 49 31 34 ITF 14 C IMB 43 3D 49 4D 42 USPS Intelligent Mail Barcode C ISBN 43 3D 49 53 42 4E ISBN 13 C IB 5 49 42 2B 35 ISBN 13 with Add on 5 digits C ISMN 43 3D 49 53 4D 4E ISMN C ISSN 43 3D 49 53 53 4E ISSN 15 2 43 3D 49 53 2B 32 ISSN with Add on 2 digits C IP25 43 3D 49 50 32 35 Italian Postal 2 of 5 C IP39 43 3D 49 50 33 39 Italian Postal 3 of 9 C JP 43 3D 4A 50 Japanese Pos
3. 23 20 How to enable Hebrew Double Byte character set This information is releveant for SAPlpd Hebrew characters are represented as Double Byte Character Set DBCS SAPlpd exe needs to know the Codepage in order to decode the DBCS correctly Also other DBCS are supported Japanese Kanji etc Change the WinCharSet option to Hebrew as follows Edit the file win ini in the Windows directory and add or edit the following section SAPlpd WinCharSet 177 WWW TEC IT COM Page 75 of 90 Save win ini and restart SAP1pd to read in new settings 23 21 How to encode more than 70 characters in a 2D bar code SAPscript but also Smart Forms has a maximum limit of 70 characters per bar code This limit causes problems when using 2D symbologies for high data capacity like PDF417 and Data Matrix For SAPscript there are two workarounds available Work with a reduced font size as shown in SAP note 197177 Use the new command RAWTEXT as shown in SAP note 497491 For Smart Forms there is a solution described in SAP note 497380 Alternatively TBarCode SAPwin offers the possibility for splitting up transmission of the bar code data into several portions please contact TEC IT s support sap tec it com for details See also our Online FAQ http www tec it com support faq sap barcode dll aspx 23 22 How can l encode Flattermarken alias OMR Add a new System Barcode and then add a new Printer barcod
4. CC B Data Mode WWW TEC IT COM Page 44 of 90 MPV MicroPDF Version version of data columns and data rows 4D 50 56 3D version index 0 default Automatic selection gt 0 Adjust specific symbol version see table in 22 4 The version determines the maximum number of code able data characters and influences also the graphical data density of the symbol Table 21 MicroPDF417 Print Control Parameters 13 2 11 Parameters specific for QR Code Com Explanation Values ASCII Hex Code Explanation mand QRE Error Correction QRE 0 51 52 45 3D 30 Error Correction Level ECL QRE 1 51 52 45 3D 31 0 1 Low ECL QRE 2 51 52 45 3D 32 1 M Standard QRE 3 51 52 45 3D 33 2 Q 3 H Highest ECL QRFM QR Code Format QRFM 0 51 52 46 4D 3D 30 Format Specification QRFM 1 51 52 46 4D 3D 31 0 default Standard QRFM 2 51 52 46 4D 3D 32 1 UCC EAN 2 Industry QRFI must be set QRFI QR Code Format Indicator QRFl a 51 52 46 49 3D Wert Code Format Indicator used for QRFM 2 Value can be 1 alphanumeric character or 2 numeric chars QRM QR Code Mask QRM 1 51 52 4D 3D 2D 31 Graphic Mask Pattern QRM 0 51 52 4D 3D 30 1 or not set default Mask is QRM 1 51 52 4D 3D 31 calculated automatically as per QRM 2 QR Code specification QRM 3 QRM 0 Selects Mask 0 QRM 4 m QRM 5 QRM 7 Selects Mask 7 QRM 6 It is recommended to not set QRM 7
5. 3A 3A ajaHieoe CHR Spool Administration Create Output Device DeviceAttributes Host Spool Access Method Host printer Destination host Query status through polling Do Not Query Host Spooler for Output Status Figure 6 Spool Administration Change Output Device Access Method Access Method Output Attributes 5 Print Using SAP Protocol HOST12345 PRINTER1 HOST12345 for front end printing SAPIpd 5 or U for server based printing for Control Technology frontend The name of a shared network printer needs Windows printer driver Frontend printing DEFAULT uses Windows Default Printer on client Name of the system where SAPsprint exe or SAPLpd exe is installed e g name of a print server available with Access method 5 WWW TEC IT COM Page 16 of 90 In the tab Host SpoolAccMethod adjust the following values Parameter Description Host spool access method For the Access method enter S F or G Use access method if you set up a print server with SAP1pd or SAPSprint Alternatively you can also use access method TBarCode SAPwin was installed on the print server Use access method if you want to use front end printing with the new Control Technology TBarCode SAPwin was installed on the client Use access method if you print on the SAP client with SAPIpd TBarCode SAPwin was installed on the client
6. 43 50 43 3D 34 33 37 43 50 43 3D 31 32 35 32 As alternative to the pre defined code pages you can specify the code page ID directly e g 437 for ASCII extended If a CPC is specified the CP parameter will be ignored The EM parameter must be 0 Barcode data digits characters D 1234ABCD 44 3D Data characters that are encoded in the barcode Must be at the end of the print control prefix DH Barcode data in hexadecimal format DH 31323334 44 48 3D Data characters to be encoded in hexadecimal format 2 hex digits per Byte Can be used for binary data If you supply data in this format bar code specific code pages are not applied Must be at the end of the print control prefix Translate Escape Sequences refer to Escape sequences amp Control characters E 0 45 3D 30 No translation e g t t E 1 45 3D 31 Translation On e g t TAB x0d Hex 00 Encoding Mode EM 0 EM 1 EM 2 EM 3 EM 4 45 4D 3D 30 45 4D 3D 31 45 4D 3D 32 45 4D 3D 33 45 4D 3D 34 Switch between code page or raw binary encoding 0 Default Convert data to given code page see also parameters CP and CPC 1 Encode Lower Byte gt Unicode ignore ANSI no conversion done Select this option to disable code page conversions 2 As Byte Stream Low High Byte gt Unicode LO Byte before HI BYTE ANSI no conversion done 3 A
7. Height 3 mm no text PSNO Release 3 0E For the Kyocera KYO device types United States Postal Service USPS Postnet For the HPLJ4 device type ZIP 4 POSTNET 9 Height 3 mm no text C128A 00 Code 128 character set A height 5 mm no plain text C128A 01 Code 128 character set A height 5 mm no plain text C128B 00 Code 128 character set B height 5 mm no plain text C128B 01 Code 128 character set B height 5 mm no plain text CD39C 00 Code 39 with checksum height 5 mm no plain text CD39C 01 Code 39 with checksum height 5 mm no plain text CD39 00 Code 39 without checksum CD39 01 Code 39 without checksum height 5 mm no plain text KUNAUNR sales order number Code 128 KUNAUPS sales order item Code 128 MBBARC test barcode inventory management Code 128 MBBARC1 test barcode 1 inventory management EAN 8 RSNUM reservation number Code 128 RSPOS reservation item Code 128 RUECKNR confirmation number Code 128 Table 38 Predefined System Barcodes gt current list of predefined print controls is also available at http help sap com gt Usually the listed bar codes are already defined in the SWIN device type however sometimes the print controls are missing or incorrect so you have to edit them WWW TEC IT COM Page 58 of 90 19 Printer Barcodes Below you find the Printcontrols for the approp
8. New e Barcode DLL uses the latest Barcode Engine TBarCode Library V7 e precision of the drawing routines was enhanced again e Printer driver problems can be solved better now barcode ini GDIRect Bug Fixes e Anerror with product licensing was fixed Sometimes Demo was printed in the bar code This error occurred exclusively with parallel processing of print jobs in SAPSprint Multi Threading Problem e Unexpected error messages in the SAPSprint SAPlpd log file in spite of working bar code generation The inconsistent evaluation of return codes is the reason full details see below function Barcodelnit SAPlpd and SAPSprint expect in the latest implementation a return code unequal to 0 true To avoid misleading error log messages we changed our implementation to correspond with this return code in spite of the fact that the SAP Interface Specification requires a return code of 0 o function BarcodePrint SAPSprint expects in the latest available version v1 0 1 1 a return value of 0 now supplied by our DLL This conforms to SAP Interface Specification Some previous SAPSprint Versions expect a return code unequal to 0 true producing unwanted log file error messages Contrary to the Interface Specification SAPIpd expect always a return code unequal to 0 true this is now supplied by our DLL WWW TEC IT COM Page 88 of 90 V9 0 0 New e Aztec Code Micro QR Cod
9. Printer Fonts System Bar Codes Display TrueType Font installieren SAPscript Font Maintenance Change Printer Bar Codes Print Controls SNI 4011 24 L0850 emul Siemens Nixdorf 9014 EPSON Siemens Nixdorf 2013 Windows printing via SAPIpd EPSON ESC P2 Thai Printer Thai PDF 4 6C needs TTFfont MS Windows Printer via SAPLPD Thai PostScript printing TOPCALL Telefax TOPCALL Teletex TOPCALL Telex TROY MICR printer 1BM5577 HP LaserJet PCL 5 Trad Chinese Lexmark 7522 Tradit Chinese PDF Converter Tradit Chinese MS Windows driver via SAPLPD Taiwanese PostScript printing SAPscript RDI Unicode SAP Smart Forms XDF Ausgabe SAP Smart Forms XSF Ausgabe HP PS level 2 Barcode Tray 2 PS level 2 Barcode Tray1 3 Windows printing via SAPIpd Figure 8 SAPscript Font Maintenance Device Types WWW TEC IT COM Page 18 of 90 Choose your device type created in chapter 6 Create a Device Type Copy Double click it or press A list of printer barcodes available for the device type is displayed SAPscript Font Maintenance Change Printer Bar Codes Di Maint Print Control ZSWIN ARTNR SBPO1 58501 ZSWIN AUFNR SBP82 sesa ZSWIN BARCLVS SBP03 58501 ZSUIN 01288 5 21 58501 ZSWIN CD39 5 11 sesa ZSWIN 00390 5 16 58501 ZSWIN 13 SBP13 58501 ZSWIN BC EANB 5 1
10. gt If you want to add a new barcode you must add a system barcode as well as a printer barcode If you only want to edit existing print controls read ahead in chapter 8 2 Modifying Print Controls WWW TEC IT COM Page 30 of 90 12 2 1 New System Barcode If you want to use a barcode type which is not already defined in the system you have to define a new system barcode first Run transaction SE73 or follow the path 1 Utilities SAPscript Administration Font 2 Select System barcodes and then Change 3 Choose Create F5 to define a new barcode SAP systems starting with Release 4 7 need to know which barcode technology should be used In the upcoming dialog choose old conventional system barcode Unfortunately barcode integration into SAP1pd or SAPSprint is not possible with the newer technology PDF417 2D Barcode Figure 22 Create Change a System Barcode Enter the following information Parameter Description Barcode Enter the name of your new barcode The name must begin with a Z to avoid conflicts between your barcodes and the SAP system barcodes Description Just for informational purposes Barcode type This selection is only for informational use you can choose UNDEF Min character number Minimum number of characters for barcode choose 1 Max character number Maximum number of characters for barcode choose highest possible value Thi
11. 19 19 99 18 1 lt DIR gt 3 19 10 99 18 1 DIR 1 3 File s 9 bytes 2 828 447 744 bytes free C users gt m Figure 36 System ID WWW TEC IT COM Page 80 of 90 To get this System ID please perform the following commands 1 Open the command prompt DOS Box cmd exe on your client 2 Change to the drive containing your operating system usually drive C by typing C followed by carriage return 3 Type the DOS command dir or dir more followed by carriage return 4 The System ID is displayed as Volume serial number refer to screen shot 23 30 How to license the product in barcode ini After you have ordered TBarCode SAPwin you will receive your license data containing the license key The license data consist of several lines which have to be entered or copied with Copy and Paste into the barcode ini file This file must reside inthe application data program data path see chapter 23 2 How can verify if TBarCode SAPwin was installed correctly the same directory as the Barcode dll program file refer to the installation path of TBarCode SAPwin the Windows directory When using SAPIpd you have to restart SAPlpd or your system so the changes can take effect If a valid license file is installed on your client it turns your restricted installation which is printing a Demo text over the barcode into a full featured installatio
12. 23 18 2 Solutions The Barcode DLL is called from SAPsprint SAPIpd only if the print control Esc b has been received then the rest of the print control will be decoded and the barcode will be drawn The Barcode DLL doesn t have a direct influence to the tray control Please perform the following checks Please check if you are using always the same device type Make sure you are printing always the same document or form frequently the A4 Letter problem causes such problems Perhaps a print control which was used for barcodes previously was changed in order to be used for tray control purposes and this Print control is still used in the document Check if there is a barcode related Print control that begins with T instead of b Make sure it is not printer driver related problem choose another printer driver sure you are using the latest SAP1pd exe version 23 19 No Frontend Printing possible with SAPSprint You want to use Frontend Printing with Host Spool Access Method F but it is not working Check out SAP Note 821519 Front end printing with control technology If you have R 3 4 6c you don t have the required patch level to update to the new spool access method G SAPSprint is a spooling software and is not intended to be used for front end printing gt Frontend printing with Method F will use gt Frontend Printing with SAPFprint can be used with host spool method G
13. Code 128 Code 39 EAN UPC WWW TEC IT COM Page 81 of 90 2113 2D license for two dimensional codes PDF417 Matrix The 2D license includes also the 1D bar codes MaxiCode Data Licensee Usually the company name License Kind ID of the license type 1 Single Site World Enterprise Number Of Licenses Number of licenses Licence Key License key WWW TEC IT COM Page 82 of 90 24 Supported Barcodes The following is a summary of the supported bar code types The bar codes can be activated via the Print controls described in 13 2 1 Further details about bar codes can be found in our Barcode Reference PDF 24 1 Linear Bar Codes 1D Barcode Description CodaBar 2 Widths CodaBar 2 Width CodaBar2 Code 20F5 IATA Code 2 of 5 IATA Version International Air Transport Association Code 2OF5 Industry Code 2 of 5 Industry Version Code 2OF5 Interleaved Code 2 of 5 Interleaved alias ITF or Code 2 5 IL Code 2 5 Matrix Code 2 of 5 Matrix alias 20f5 Standard Code 2OF5 Standard Code 2 of 5 identical with Code 2 of 5 Matrix Code 32 Code 32 Italian Pharmacode Code 39 Code 3 of 9 alias Code 39 Code 39 Full ASCII Code 3 of 9 Extended Version ASCII Code 93 Code 93 Code 93 Full ASCII Code 93 Extended Version ASCII Code128 Code
14. If you encounter problems with the FAX software please make 15 10 53 sure that the FAX software is started before SAPLPD and SAPGUI 15 10 15 10 83 TBarCode SAPwin V9 0 0 15 10 93 Barcode DLL for SAPIpd exe 15 10 83 Copyright TEC IT Datenverarbeitung GmbH www tec it com 1998 2009 15 10 93 TEC IT Datenverarbeitung GmbH www tec it com 15 10 83 License granted to UNLICENSED DEMO VERSION with Demo text 15 10 93 Application path barcode dilj RATBarcode TBarCode SAPWin trunk test saplpd 15 10 83 Icon DLL loaded 15 10 53 15 10 53 Network Communication via SAP NiLib 15 10 53 Hostname athene 15 10 53 IP Address 172 16 100 14 15 10 53 TRACE Snclnit J Initializing Secure Network Communication SNC 15 10 53 TRACE PC with Windows NT mt ascii SAP UC long void 1 4 4 15 10 53 TRACE Snclnit J Reading configuration from SAPLPD INI 15 10 53 TRACE Snclnit J Initializing Secure Network Communication SNC 15 10 53 TRACE PC with Windows NT mt ascii SAP UC long void 1 4 4 15 10 53 TRACE Snclnit J Reading configuration from WIN INI 15 10 53 15 10 53 SAPLPD Version 6 15 for Windows NT is listening 15 10 53 OS Info version 5 1 build 0 2600 text Service Pack 3 15 10 53 Copyright 1992 2001 SAP AG L mo in c Figure 26 SAPlpd Start Screen Log file If TBarCode SAPwin was installed successfully and it was loaded by the marked messag
15. If you want to use non printable or special characters in your barcode data you have to use Escape Sequences They always start with a backslash V followed by the sequence see table below You can use them also for encoding binary data Bytes into your barcode if the symbology offers this feature e g PDF417 or Data Matrix gt f you want to use escape sequences you have to turn on translation of escape sequences with the print control E 1 to be done for each barcode type separately gt Note Please keep in mind that when translation of escape sequences is enabled you cannot code a backslash V directly Use V instead 14 1 1 Implemented Escape Sequences Esc Sequence Description a Bell alert b Backspace f Form feed n New Line r Carriage Return t Horizontal Tab v Vertical Tab The Backslash itself 10000 ASCII character in octal notation 000 octal digits 0 7 ddd ASCII character in decimal notation ddd decimal digits 0 9 xhh ASCll character in hexadecimal notation hh hexadecimal digits 0 F F or Gs x1d used in UCC EAN codes as field separator E ECI Extended Character Interpretation used in 2D codes like MaxiCode Data Matrix and QR Code Is used for switching between various code pages multiple character sets contact us to get further information EB EE special ECI identifiers for nesti
16. MaxiCode Maxi Code used by UPS Micro QR Code Micro QRCode Micro Quick Response Code available in TBarCode V9 amp Barcode Studio V9 MicroPDF417 Micro PDF 417 MicroPDF PDF417 PDF 417 used by VDA GTL ODETTE VDA Belom PDF417 Truncated PDF 417 Truncated Version QR Code Quick Response Code ISO IEC 18004 2000 uses 932 Shift JIS standard character set QR Code 2005 QRCode 2005 ISO IEC 18004 2006 uses Latin 1 ISO 5589 1 as standard character set RSS 14 Stacked EAN UCC RSS14 Stacked RSS 14 Stacked Omnidir EAN UCC 5514 Stacked Omnidirectional RSS Expanded Stacked EAN UCC RSS Expanded Stacked Table 53 Supported Two Dimensional Codes 2D 24 4 HIBC Barcodes Barcode Description HIBC LIC 128 HIBC LIC variant of Code 128 HIBC LIC 39 HIBC LIC variant of Code 39 HIBC LIC Codablock F HIBC LIC variant of Codablock F HIBC LIC Data Matrix HIBC LIC variant of Data Matrix HIBC LIC MicroPDF417 HIBC LIC variant of MicroPDF417 HIBC LIC PDF417 HIBC LIC variant of PDF417 HIBC LIC QR Code HIBC LIC variant of QR Code HIBC PAS 128 HIBC PAS variant of Code 128 HIBC PAS 39 HIBC PAS variant of Code 39 HIBC PAS Codablock F HIBC PAS variant of Codablock F HIBC PAS Data Matrix HIBC PAS variant of Data Matrix HIBC PAS MicroPDF417 HIBC PAS variant of MicroPDF417 HIBC PAS PDF417 HI
17. S3 18 53 33 3D width Analog to S1 modules wide S3 900 S4 Width of a bar that is four S4 24 53 34 3D width Analog to S1 modules wide S4 1200 Ww Bar width reduction in percent W 0 573D30 Compensates dot gain of the module width W 10 573D3130 W 0 is default no reduction W 10 reduces the bar width by 1096 based upon module width the printed size of the small bar element will be 90 of the nominal value Table 14 Barcode Size Print Control Parameters 13 2 4 Position Orientation Com Explanation Values ASCII Hex Code Explanation mand R Rotation of the barcode R 0 52 3D 30 Rotation of the barcode symbol R 90 52 3D 39 30 degrees clockwise R 180 52 3D 31 38 30 R 270 52 3D 32 37 30 X Horizontal starting position of X 100 58 3D start position X Distance to the left side of the the barcode symbol page mms mms If not specified the actual cursor position will be used Y Vertical starting position of the Y 120 59 3D start position Y Distance to the upper side of barcode symbol the page mms mms If not specified the actual cursor position will be used Table 15 Barcode Position Orientation Print Control Parameters 13 2 5 Human Readable Text Com Explanation Values ASCII Hex Code Explanation mand A Human readable text A 0 41 3D 30 A 0 no human readable text is printed A 1 41 3D 31 A 1 the human readable text
18. raw No Printcontrols are processed and no bar codes are generated Printer Printer Receives print job in the correct Printer language Figure 25 Data Flow Receives print job in the correct Printer language With the SWIN device type the so called SAPWIN data stream is generated This is a generic printer language and must be translated into the printer language of the destination printer e g PCL or Postscript Print data in the SAPWIN data format can be processed by SAPSprint SAPlpd or SAPGUI via SAPWIN DLL Only through the SAPWIN intermediate format Windows printer drivers can be used ultimately WWW TEC IT COM Page 60 of 90 21 DefaultSet Values The information in this chapter applies if you want to use presets a set of default values for designated bar code parameters Precaution Set the parameter DefaultSet 1 in the file barcode ini in order to enable this feature The default values in the table below are common values used in the industry and should create a readable bar code on most printers SETTINGS DefaultSet 1 Please note default module width is used if the parameter B is not set in the print control The default height is used if the parameter H is not set in the print control The default text option is used if the parameter A is not set in the print control barcode symbology is not listed in the table the following standard values are use
19. 1 2 50 52 3D 31 3A 32 3A 31 32 Specifies the ratio between several bars and spaces in the bar code Structure gt lt Sn gt With B1 Bn as bar widths and S1 Sn as space widths Combining M and PR is a shorter alternative to the L and S parameters QZ Quiet Zone in number of modules QZ 10 QZ 10 5 QZ 5 0 0 0 51 3D 31 30 Specifies the quiet zone in the unit of number of modules with module width M The syntax is variable and uses the Colon for parameter separation QZ AllSides QZ Horz Vert QZ Left Right Top Bottom 61 Width of a single module for a bar in the symbol ratio pixel mm 51 6 1 300 53 31 3D width in Pixel 53 31 3D 2D width in 0 001 mm If you want to specify the module width please use the M parameter If the value of S1 is less 0 the width is given in mm 0 001 mms 51 300 gt module width 0 3 mm If no symbol width is specified B 0 this parameter controls the module width of the smallest bar element in Pixel Note the final width depends on the printer resolution If the symbol width was specified B lt gt 0 the print ratio of the bars adapts to the ratio of all S values S2 Width of a bar that is two 52 12 53 32 3D width Analog to S1 WWW TEC IT COM Page 39 of 90 modules wide 52 600 S3 Width of a bar that is three
20. 123456789012 3 1234 DataLen 18 Checkdigit 1 Startpoint x 1493 y 3971 Endpoint x 2912 y 3409 Original C R CC D B 60 H 40 D 12 34567890123 1234 Hex 31 32 33 34 35 36 37 38 39 30 31 32 33 7c 31 ete tee tete te tete de tete de tede dete de dete dede tede dede de tee de tede de tede de ede dete de de tede dede de dede de tede de es 128 48 12 0 0123456789 xpos 1493 ypos 5031 Type 128B Data 0123456789 DataLen 10 Checkdigit 1 Startpoint x 1493 y 5071 Endpoint x 2629 y 4788 Original C 128B B 48 H 12 D 0123456789 Hex 30 31 32 33 34 35 36 37 38 39 HINEIN C 39 B 50 H 20 P 0 D 0123456789 w s 3 Ln 1 Col 1 Figure 27 BarCode log gt Ensure that the parameter Level in the file barcode ini is set to 0 for production use restart SAPIpd to read in the new settings 23 3 2 SAPIpd Log File The 5 1 4 file is written by SAPlpd and contains information about the SAP printing system This feature is enabled only when 5 was started with command line option gn n 0 9 gt Please make sure to start SAP1pd without this parameter for normal operation also ensure to delete existing SAPlpd_F log files before continuing with normal operation 23 3 3 SAPSprint Log Files You can help to find problems by enabling logging in SAPSprint Here are the commands you need to enter on the command line turn on logging with maximum log
21. 128 all sub sets and Compressed Mode Code128A Code 128 Subset A Code128B Code 128 Subset B Code128C Code 128 Subset C EAN8 EAN 8 also JAN or IAN 8 2 EAN 8 also JAN or IAN with 2 digit add on EAN8P5 EAN 8 also JAN or IAN with 5 digit add on EAN13 EAN 13 also JAN or IAN EAN13 P2 EAN 13 also JAN or IAN with 2 digit add on EAN13 P5 EAN 13 also JAN or IAN with 5 digit add on EAN14 EAN 14 GTIN coded with GS1 EAN 128 symbology EAN128 EAN 128 alias UCC 128 alias GS1 128 Flattermarken Flattermarken identification marks used in book production GS1 128 GS1 128 identical to EAN 128 UCC 128 GS1 DataBar GS1 DataBar Symbologies all based upon RSS Codes ISBN 13 ISBN 13 International Standard Book Number 13 digits ISBN13 P5 ISBN13 with 5 digit supplement ISMN ISMN International Standard Music Number ISSN ISSN International Standard Serial Number ISSN P2 ISSN with 2 digit supplement ITF 14 ITF14 Code 2of 5 Interleaved 14 digits LOGMARS DOD Logmars Department of Defense Logmars MSI MSI Barcode variants with different check digits Pharmacode One Track Pharmacode One Track 1 Track Pharmacode Two Track Pharmacode Two Track 2 Track PLANET 12 Digit Planet Code 12 digits Postal Alpha Numeric Encoding Technique PLANET 14 Digit Planet Code 14 digits WWW TEC IT COM Page 83 of 90 Plessey Plessey Unidirectional Plessey Bidirectional Plessey Bidire
22. 13 Barcode Print Control Reference 3 4 Supported Operating Systems amp SAP components Bar code extension for SAPSprint SAPlpd and SAPGUI SAPWIN dll For SAPIpd Version or higher For SAPSprint V1 0 0 1 or higher For SAPgui with SAPWIN dll V1 0 0 6 or higher For SAP EH amp S WWI SP31 For Microsoft Windows XP SP3 2003 Vista Client and Server 2008 2008R2 Windows 7 Windows x64 Editions 2011 Windows 8 2012R2 For SAP Release 2 2 and all newer SAP systems including ECC 6 With SPAD Host Spool Access U or G in combination with all SAPWIN SWIN based device types Barcode management through System Barcodes Printer Barcodes and Printcontrols Suitable for SAPscript SmartForms and With Unicode interface SAPSprint 730 Patch 16 SAPgui 730 Patch 10 or higher WWW TEC IT COM Page 9 of 90 4 Installation 4 1 Installation Steps The first part of this document chapter 5 to 10 covers the installation of TBarCode SAPwin The second part concentrates on bar coding within SAP R 3 SAPscript SmartForms and in general In order to enhance SAP with complete bar coding features the following installation steps are required Please follow these steps in the order specified Step Operation Chapter Required SAP Transaction 1 Install TBarCode SAPwin 5 Yes 2 Create a Device Type Copy 6 Yes SPAD 3 Assign the Device Type to a Printer 7
23. 3 system Default not activated because of leading character commented out Table 36 Barcode Ini Section DEBUG Example logging enabled fixed bar code print control The following setting prints always a Code128 symbol with encoded data This is a test independent from the Printcontrol in SAP Level 1 BCText C 128 A 1 H 10 D This is a Test WWW TEC IT COM Page 56 of 90 17 Hex ASCII Conversion Table This table helps you to enter the print controls as a sequence of hex codes Each character may also be represented by an equivalent hex code e g Hex 43 or 2 Hex 32 Hex code Character Hex code Character Hex code Character Hex code Character 0 NUL 20 space 40 60 1 SOH 21 41 A 61 a 2 STX 22 42 62 b 3 ETX 23 43 C 63 4 24 44 D 64 d 5 ENQ 25 96 45 E 65 e 6 ACK 26 amp 46 F 66 f 7 BEL 27 i 47 G 67 g 8 BS 28 48 H 68 h 9 HAT 29 49 l 69 i A LF 2A Bi 4A J 6A j B VT 2B 4B K 6B k FF 2C 4C L 6C D CR 2D 4D M 6D m E SO 2E 4 6E n F ST 2F 4F 6F 10 SLE 30 0 50 P 70 p 11 CS1 31 1 51 Q 71 q 12 DC2 32 2 52 R 72 r 13 DC3 33 3 53 S 73 S 14 DC4 34 4 54 T 74 t 15 NAK 35 5 55 U 75 u 16 SYN 36 6 56 V 76 V 17 ETB 37 7 57 77 w 18 CAN 38 8 58 x 78 x 19 EM 39 9 59 Y 79 y 1A STB 3A 5A Z 7A 2 1 5 3B 5B
24. 5 0 339 21 9 J Italian Postal 20f5 30f9 0 254 10 2 N Japanese Postal 0 577 3 5 N Korean Postal 0 423 4 0 N MAXICODE 0 870 25 0 N MSI 0 254 10 2 N NVE 18 0 254 10 2 N PDF417 0 254 Row height 0 762mm N PDF417 Truncated Default Row Col Ratio 11 1 Planet 12 Planet 14 0 577 3 2 N Plessey 0 254 10 2 N Plessey Bidirectional PostNet 10 ZIP 4 9 digits 0 577 3 2 N PostNet 5 ZIP 5 digits 0 577 3 2 N PZN7 PZN8 0 254 10 2 N Royal Mail 4 State Customer 0 508 2 5 N RSS Codes stacked variants 0 254 Height depends on N module width and data content RSS Codes linear variants 0 254 10 2 N UPCA 0 339 26 1 J UPCA P2 0 339 26 1 J UPCA P5 0 339 26 1 J UPCE 0 339 10 2 Y UPCE P2 0 339 10 2 Y UPCE P5 0 339 10 2 Y USPS Intelligent Mail Barcode 0 577 3 7 N VIN FIN 0 254 10 2 N 2D Matrix Codes Data Matrix QR Code 1 016 25 4 N Micro QR Aztec Code Table 40 DefaultSet Values WWW TEC IT COM Page 62 of 90 22 2D Symbol Sizes 22 1 Aztec Code Symbol Sizes This table shows the possible user defined symbol sizes for Aztec Code The symbol size can be defined by the Print Control AZS Index The column Index represents the value that defines the corresponding size Index Symbol size rows x cols Index Symbol size rows x cols 0 automatic calculation 19 91x91 1 15x15 20 95x95 2 19 x 19 21 101 x 101 3 23 x 23 22 105 x 105 4
25. 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 58501 OOOOOOOOOOOOOOOOOOOoOoOooo The select the print control prefix of the barcode you want to change and press Maint Print The field s Hexadecimal switch and Control Char Sequ are now editable and you can adapt the barcode settings to your requirements We recommend entering the control sequences in hexadecimal code form ASCII being sure to mark the Hex switch with an X in this case Figure 13 Print Control Maintenance Detail gt Converting print controls from ASCII into hex codes is supported by the TEC IT Software Barcode Studio refer to 12 4 Print Controls with Barcode Studio Confirm your changes and save your settings before you go back to the main menu Controls gt For adjusting the print control suffix 58501 refer to chapter 12 Introduction to Print WWW TEC IT COM Page 21 of 90 9 Test Barcode Printing It is strongly recommended to perform a barcode printing test after all previous installation steps are completed The following used SAPscript test document is based upon style S TEST which has all br codes defined as character format 9 1 SAP R 3 SAP systems are shipped with a predefined test document It prints the most important bar codes see 18 Predefined System Barcodes To test barcode printing perform the following steps 1
26. 7B 1C FS 3C 5C 7C 10 GS 3D 5D 7D 1E RS 3E gt 5E 5 1F US 3F 5F _ 7F Table 37 ASCII HEX Conversion Page 57 of 90 WWW TEC IT COM 18 Predefined System Barcodes Print controls for the following system barcodes are predefined in SAP starting with 3 04 Description Barcode Type ARTNR Article number Code 128 AUFNR Request number Code 128 BARCLVS Test Barcode in LVS Code 39 without check digit 93 Code 93 height 13 mm no plain text BC C128B Code 128B height 13 mm no text BC CD39 Code 39 without check digit no text height 1 3 mm CD39C Code 39 with check digit height 18 mm no text BC 8 EAN 8 height 13 mm no text 1 EAN 13 height 13 mm text BC EANH Release 3 0E For the Kyocera KYO device types Code 128 For the HPLJ4 device type EAN 128 height 13 mm no text BC 125 Interleaved 2015 without check digit height 13 mm no text BC 125 Interleaved 2015 width check digit height 13 mm no text BC MSI MSI without check digit height 13 mm no text MSIC MSI with single mod 10 check digit height 13 mm no text BC MSIC1 MSI with mod 10 check digit Height 13 mm no text MSIC2 MSI with mod 11 check digit Height 13 mm no text PSN5 Release 3 0E For the Kyocera KYO device types United States Postal Service USPS Postnet For the HPLJ4 device type ZIP 4 POSTNET 5
27. Codablock F Pharmacode 1 2 Spur RSS 14 Flattermarken Setup of font characteristics for EAN UPC barcodes through barcode ini file parameters New print controls W Bar Width Reduction T Text Alignment Bug Fixes 2D Symbologies PDF417 the symbol height was influenced by the text flag Print control A 1 BarSIMM compatibility for PDF417 was improved Default X Y Ratio V5 1 0 23 New New print controls FN FS FW for individual barcode fonts Default setting of font characteristics in the barcode ini file V5 1 0 24 New Default Property OptResolution in the barcode ini is now possible OptResolution enhances the readability of the barcode for low print resolution problems V5 1 1 25 Bug Fixes An error with the selection of the default check digit was eliminated occurred e g in Codabar 2 Width V5 1 1 26 New The barcode ini settings are displayed in the barcode log file now V6 0 0 27 New e RSS Reduced Space Symbology all sub variants e EAN UCC Composite Symbology all sub variants e MicroPDF417 Enhanced error messages with indication of non code able characters e Demo text instead of horizontal line in unlicensed mode e _ Shift parameter barcode ini for vertical baseline adjustment e Print control parameter M for convenient module width adjustment e Tested SAPSprint and SAPWIN dll support access method G e Barcode generator is based on new TBarCodeLib V6 V6 0 2 32
28. End Printing SAP GUI for Windows 23 28 1 2 Central printing SAPSprint or SAPIpd is running on a Windows server e g print server TBarCode SAPwin will be installed on this server use access method s SAP protocol with device type ZSWIN or the name of your SWIN copy You can use local and network printers which are installed on the print server Remote Printing Access Methods S and U Defining an Output Device for Remote Printing on Microsoft Windows PCs 23 28 2 List printing What can do with the normal list printing when it is running with the same output devices ext output management system and when have to define different output devices One and the same output device can contain two drivers the SAPscript and the list driver You can also use another driver for list printing that is not indicated in the output device but in the device type ZSWIN In the SAP Information look at the following link you can use SWIN and or ZSWIN for list printing But you can also use PCL Postscript and so on Editing Device Types 23 29 How to retrieve the System ID For a Single License TEC IT needs the System ID of the computer the client where you want to use TBarCode SAPwin Microsoft R Windows NT TH C Copyright 1985 1996 Microsoft Corp C users gt saplpd C users gt dir Volume in drive has nq Label Volume Serial Number is 36A3 51BD Directory of C users 19 19 99 18 1 lt DIR gt
29. Hex Code Explanation mand Code selection C 128 43 3D 31 32 38 Code 128 barcode symbology C 128A 43 3D 31 32 38 41 Code 128 Character Set A C 128B 43 3D 31 32 38 42 Code 128 Character Set B C 128C 43 3D 31 32 38 43 Code 128 Character Set C C 25l 43 3D 32 35 49 Code 2 of 5 Industrial C 25L 43 3D 32 35 4C Code 2 of 5 Interleaved C 25M 43 3D 32 35 4D Code 2 of 5 Matrix C 25A 43 3D 32 35 41 Code 2 of 5 IATA C 32 43 3D 33 32 Code 32 Italian Pharmacode C 39 43 3D 33 39 Code 39 Code 3 of 9 C 39E 43 3D 33 39 45 Code 39 Extended Full ASCII C 93 43 3D 39 33 Code 93 C 93E 43 3D 39 33 45 Code 93 Extended Full ASCII C APC37 43 3D 41 50 43 33 37 Australia Post 37 CUST C APC52 43 3D 41 50 43 35 32 Australia Post 52 CUST C APC67 43 3D 41 50 43 36 37 Australia Post 67 CUST C APCRP 43 3D 41 50 43 52 50 Australia Post REPLY Paid C APCRD 43 3D 41 50 43 52 44 Australia Post Redirect C APCRT 43 3D 41 50 43 52 54 Australia Post Routing C AZT 43 3D 41 5A 54 Aztec Code C BCN 43 3D 42 43 4E Brazilian CEPNet C CBF 43 3D 43 42 46 Codablock F C CODA 43 3D 43 4F 44 41 Codabar C DFT 43 3D 44 46 54 DAFT Code C DMX 43 3D 44 4D 58 Data Matrix C DPD 43 3D 44 50 44 DPD Code C DPI 43 3D 44 50 49 Deutsche Post Identcode C DPL 43 3D 44 50 4C Deutsche Post Leitcode needs 2D license WWW TEC IT COM Page 34 of 90
30. Host printer Enter DEFAULT if you want to use the Windows Default Printer on the SAP client Or enter the name of a shared network printer having a Windows printer driver Destination Host Is required for Access Method s and u Name of the system e g Print server or Spool server where SAPSprint exe Or SAPLpd exe is running e g name of a print server With F1 you can list examples of possible entries Table 5 Output Device Host Spool Access Method Save all your settings with B Go back to the main menu using e 7 2 Next step After you have saved the settings get back to the main menu and adjust the required printer barcodes Please refer to the next chapter WWW TEC IT COM Page 17 of 90 8 Define Printer Barcodes Printer bar codes are defined within SAP R 3 to make a connection between print controls they are device type dependent and the system barcodes device type independent The next chapters are using the device type copy ZSWIN refer to chapter 6 Create a Device Type Copy to demonstrate printer barcode maintenance 8 1 Adding new Printer Barcodes Invoke transaction SE73 or choose SAP Menu Tools SAPscript Administration Font to open the dialog SAPscript Font Maintenance Initial Screen SAPscript Font Maintenance Initial Screen FontFamilies System Fonts Printer Fonts System Bar Code Selection Font Families System Fonts
31. Onthe Spool Administration Initial Screen transaction SPAD choose Utilities For device types Test data SAPscript 2 Printthe predefined document SAPSCRIPT BARCODETEST specifying ST as the document ID and DE or EN as the language If you want to test rotated barcode printing choose SAPSCRIPT BARCODETEST2 gt The test document is usually only available in client 000 9 2 SAP ERP ECC 6 0 If the SAPscript document SAPSCRIPT BARCODETEST is not available in your ECC 6 0 system you can request it as ITF file from our support sap tec it com Procedure for the rest as in 9 1 WWW TEC IT COM Page 22 of 90 10 Obtain a License 10 1 Product Variants TBarCode SAPwin can be licensed in two variants The difference between these variants is the number of supported barcode symbologies Product variant Description TBarCode SAPwin 1D Supports linear barcodes like Code128 Code39 EAN UPC EAN128 2 of 5 Interleaved No 2D Symbologies are supported TBarCode SAPwin 2D Supports linear barcodes and the following 2D barcodes with high data density PDF417 PDF417 Truncated Micro PDF417 Data Matrix MaxiCode QR Code Micro QR Code Codablock F Aztec Code Also supported are RSS Stacked Varianten EAN UCC Composite Symbology Table 7 Product Variants gt The installation files binary files of the 1D and 2D version are
32. ProgramData directory see table below or the Windows directory Operating System Barcode ini Directory Windows XP Windows versions and earlier C Documents and Settings All Users Application Data TEC IT TBarCode SAPwin lt version number Windows Vista and newer C ProgramData TEC IT TBarCode SAPwin lt version number gt Table 29 Barcode Ini Default Location The default location is the Application Data and ProgramData directory see table 16 2 Section LICENSE_DATA Parameter Name Description License_Product The product ID depending on product version and licensed bar code types 1D or 2D Licensee Name of licensee as issued in license key License_Kind ID of the license kind 1 Single 2 Site 3 World Number_Of_Licenses Number of purchased licenses e g 1 License_Key The license key in hexadecimal format 32 characters Table 30 Barcode Ini Section LICENSE DATA Example License Product 2012 Licensee John Doe Limited License Kind 2 Number Of Licenses 1 License Key 4D757374657220436F6D70616E792047 16 3 Section SETTINGS Parameter Name Description Direction Selects the printing direction of the barcodes up or down Change this setting if the position of the bar code looks wrong This parameter was introduced due to a bug in some SAPIpd versions Refer to 23 23 How to change the vertical ali
33. The unit is mm decimal places must be separated by a point The parameter affects all bar codes in a document 0 no offset Default 10 5 shift 10 5 mms downward OnError Specifies what to do if an error occurred during barcode printing e g wrong print control Ignore print nothing Message print error box Default DefaultSet Uses a set of default values for specific bar code parameters If particular bar code parameters are not defined via Print control they can be also initialized from presets de facto industry standards The default set contains values for module width symbol height plain text on off PDF417 row col ratio depending on the selected bar code type See also chapter 21 DefaultSet Values 0 No set of standard values Default 1 Use Set 1 common industry standards Hint If no preset is available for a specific bar code De fModWidth is used DefModWidth Specifies the default module width in 1 1000 mm e g 500 0 5 mm The module width is the width of the smallest bar element in the symbol also called narrow bar width It influences the total width On demand you can specify the width of the single bars and spaces by using the L and S parameters in the print control prefix Most barcode specifications need a module width gt 0 19 mm For 300 dpi printing resolution we recommend 0 254 mm DefModWidth 254 Note The DefModWidth value applies only if the total barcode width is not set by print control parameter B Def
34. Yes SPAD 4 Define Printer Barcodes 8 No SE73 5 Test Barcode Printing 9 Recommended SO10 6 Obtain a License 10 Yes Table 1 Basic Workflow for Printing Barcodes These steps are described in detail in the following sections gt TEC IT s support is available for questions at any time Please send an email to sap tec it com 4 2 System Requirements TBarCode SAPwin is a tool for generating barcodes SAP ERP TBarCode SAPwin is available as Barcode DLL and can be used with SAPSprint SAPGUI for Windows SAPFprint SAPIpd Also OMSPRINT WWI support the Barcode DLL interface Supported Platforms only Microsoft Windows XP SP3 Windows 2003 Windows Vista Windows 7 Windows SAP client print server Server 2008 2008R2 2011 Windows 8 2012R2 platforms are relevant 32 Bit and x64 systems 64 Bit are supported Client as well as server operating systems are supported SAP SAPIpd V2 10 SAP R 3 Release 2 2 or higher SAPSprint V1 0 0 1 SAPGUI with SAPwin dll V 1 0 0 6 or higher WWI SP31 WwiBC dll Host Spool Access Method F S or G U with SAPSprint Table 2 System Requirements 32 Bit Windows DLL the 64 Bit version is available as Barcode64 dll starting with V10 0 2 2 WWI with SP31 WWW TEC IT COM Page 10 of 90 5 Install TBarCode SAPwin 5 1 SAPSprint SAP GUI and TBarCode SAPwin can be used with th
35. always the same only one setup program but the license key to unlock the product is different 10 2 License Key and License Types TBarCode SAPwin can be used immediately after setup As long as TBarCode SAPwin stays in unlicensed mode an additional horizontal bar or a small text mark Demo will be printed over the barcode Usually this demo restriction does not affect the readability of the bar code for evaluation purposes however you can request a temporary license key if necessary A valid license removes this restriction There are three possible license modes to choose from License Mode Description Single This license gives you the right to use TBarCode SAPwin on exactly one computer one client and print to local printers It is not permitted to use this license on a server or for network printers Note TEC IT needs the System ID of the target machine for this license refer to 23 29 How to retrieve the System ID Site This license gives you the right to use TBarCode SAPwin at exactly one site within your company Installation is allowed on as many clients as required within this site also on a server and with network printers A site is defined as a legal unit of an organization operating under one postal address World or Enterprise Multi Site This license gives you the right to use TBarCode SAPwin worldwide at all sites of your company no restrictions in the number of sites
36. check the correct setting of this print control with the SAPscript Font Maintenance like follows Transaction SE73 Select Printer barcodes gt Button Display Select Device Type e g ZSWIN gt F2 to select Select Suffix 5 501 any barcode gt Button Display Print Control If you selected Extended in the above dialog you should see Variant 5 in the print control Figure 33 Correct Print Control Definition of SBS01 Font Maintenance 23 12 How can achieve similar results as with Barcode DIMM SIMM Printer Extensions In the barcode ini file adjust the following red marked settings SETTINGS Direction 1 Shift 1 DefaultSet 1 DefFontName Courier New DefFontSize 9 DefFontWeight bold OnError Ignore OnNoData Ignore DefModWidth 254 DefGuardWidth 254 DefBarWidthReduction 0 DefOptResolution 1 ConvertToSpace EAN UPC FontName Courier New FontSize 10 FontWeight bold Now the default bar code settings match the settings of Barcode DIMM SIMM modules Depending on the Windows printer driver PCL or PostScript the vertical printing position passed from SAPSprint or SAPIpd to the Barcode DLL can vary To compensate this problem you can use the Shift parameter the barcode ini file to fine tune the vertical position For almost all PCL printers you should set Shift 1 23 13 am using WAS and try to print SAPSCRIPT BARCODETEST but some barcod
37. control prefix must be set to extended and not to direct lame Windows printing via SAPIpd Attributes Print Controls Print Control Selectig Print Controls C Control Character Sequence b6 128B B 48 H 12 D bc 39 B 50 H 13 A 0 D bC 8 B 30 H 13 A 0 D il ma ea aa Figure 31 Print Control Settings Proceed this way Transaction SPAD Spool Administration Initial Screen Tab Device Types Button Device Types Select your device type g ZSWIN Button Print Controls Button Change F8 Page Down until required print control is displayed Then change setting to ex tended and save 23 4 5 Missing Visual Studio Runtime DLLs on the Target System Specific Microsoft Visual Studio Runtime DLLs are required to operate the Barcode DLL These are installed automatically with the setup program of TBarCode SAPwin If you copy the Barcode DLL manually or via script into the SAPIpd or SAPSprint directory it can be that the required Runtime DLLs are missing on the target system and the Barcode DLL cannot be loaded You should see an error message in the event log of the target system please check Solution Either use the original setup of TBarCode SAPwin or install the missing Runtime DLLs from Microsoft Visual C Redistributable Packages WWW TEC IT COM Pag
38. level Set Log level to maximum C Program Files SAP SAPSprint gt sapsprint oi LogLevel 9 Keep spool file after printing for analysis C Program Files SAP SAPSprint gt sapsprint oi KeepFile 1 Optional Log TCP IP parameters C Program Files SAP SAPSprint gt sapsprint oi NiTrace 1 Stop and Start SAPsprint C Program Files SAP SAPSprint gt sapsprint C Program Files SAP SAPSprint gt sapsprint s In newer SAPSprint versions you can use the tool SAPSprintOptEdit to set the logging options You should find the log files in the SAPSprint sub directory Logs WWW TEC IT COM Page 68 of 90 23 3 4 Test Tool SAP spool error log With the test tool you can enable logging the first 100 KB of print job data for a specific output device The log can be viewed in the SAP output request log Enable the test tool SPAD gt Output Devices F8 Change SAP Menu Edit Test tool Logging Data Logging the first 100 KEI Figure 28 SPAD Test tool Logging the first 100 KB Save your settings Print the document you want to log Then view the generated log as follows SAP Menu System gt Own spool requests Double click the status field in the list of spool requests Click the log icon m ot rn ano oma Forme alfa SENEC 1 armor Figure 29 SPAD Test tool Logging the first 100 KB In the log for the output request cl
39. or clients Table 8 License Variants purchased gt Redistributing TBarCode SAPwin is generally NOT allowed regardless of the license you WWW TEC IT COM Page 23 of 90 gt The unlicensed product may only be used for test purposes Use in production environments is not allowed 10 3 License File Barcode ini After you ordered a license you receive a license key which has to be copied entered into the barcode ini file Barcode ini is located below the common application data path Path Windows versions before Windows Vista C Documents and Settings All Users Application Data TEC IT TBarCode SAPwin 9 0 Path Windows versions since Windows Vista C ProgramData TEC IT TBarCode SAPwin 9 0 If you want to use the product on more clients e g when using a Site or World License you have to copy the licensed barcode ini file to each system client Relevant for SAPlpd You have to restart SAPlpd to reload TBarCode SAPwin The license file is only read once at startup gt The demo restriction horizontal demo bar or text disappears when applying a valid license file WWW TEC IT COM Page 24 of 90 11 Using Barcodes in SAP A short introduction about barcode printing concepts of SAP is available in chapter 12 Introduction to Print Controls 11 1 SAPscript In SAPscript you can choose between two methods for embedding a barcode 11 1 1 Using Chara
40. the information contained therein Reproduction use or disclosure to third parties without express authority is strictly forbidden Fur dieses Dokument und den darin dargestellten Gegenstand behalten wir uns alle Rechte vor Vervielf ltigung Bekanntgabe an Dritte oder Verwendung au erhalb des vereinbarten Zweckes sind nicht gestattet 1998 2015 TEC IT Datenverarbeitung GmbH Wagnerstr 6 A 4400 Austria t 43 0 7252 72720 f 43 0 7252 72720 77 http www tec it com WWW TEC IT COM Page 7 of 90 3 About TBarCode SAPwin 3 1 Introduction TBarCode SAPwin is a generic printer independent extension for SAP systems for bar code printing It upgrades virtually all printers available on the market with barcode printing functionality TBarCode SAPwin is available as Barcode DLL for SAPSprint SAPGUI sapwin dll SAPIpd and WWI You can use it server side or client side TBarCode SAPwin prints barcodes on any printer supported by Microsoft Windows unifies bar coding barcodes are generated a complete device independent way barcode fonts are not required reduces barcode printing costs no special barcode printers are required generates more than 50 barcode symbologies linear as well as 2D codes i a cost effective solution The licensing scheme does not depend on the number of printers or users uns as plug in for SAPsprint Windows SAPGUI and SAPIpd 3 2 Linear and 2D Sym
41. 0 gt module width 0 3 mm If the value for L1 is greater 0 and no symbol width is specified B 0 this parameter controls the module width in pixel Note the final width depends on the printer resolution If the symbol width was specified B lt gt 0 the print 5 with Direction 1 barcode ini the direction will be reversed WWW TEC IT COM Page 38 of 90 ratio of the spaces adapts to the ratio of all L values L2 Width of space gap for two modules in the symbol L2 12 L2 600 4C 32 3D width Analog to L1 L3 Width of space gap for three modules in the symbol L3 18 L3 900 4C 33 3D width Analog to L1 L4 Width of space gap for four modules in the symbol L4 24 L4 1200 4C 34 3D width Analog to L1 Module width in 1 1000 mm M 254 4D 3D width Module width width of the narrow bar element If the width B is undefined the bar code width depends on the module width and the number of encoded characters M 254 m width 0 254 mm Optimize module width ll 4F 3D 30 4F 3D 31 Optimize the module width for the actual printing resolution Hereby the module width will be aligned to the pixel raster of the printer The bar code may get smaller thereby O 0 No optimization 1 Optimize Default See DefOptResolution Barcode ini PR Ratio between small and wide bars spaces Print Ratio PR 1 2
42. 1 WWW TEC IT COM Page 3 of 90 23 8 23 8 1 23 8 2 23 9 23 10 23 11 23 12 23 13 23 14 23 15 23 16 23 17 23 18 23 18 1 23 18 2 23 19 23 20 23 21 23 22 23 23 23 23 1 23 24 23 25 23 26 23 26 1 23 26 2 23 27 23 27 1 23 27 2 23 28 23 28 1 Barcode type is always 2 of 5 Interleaved Wrong base device type LOCL Printer Wrong barcode data wrong output Barcode error messages while printing Unwanted characters are printed after or beside the barcode How can achieve similar results as with Barcode DIMM SIMM Printer Extensions am using WAS and try to print SAPSCRIPT BARCODETEST but some barcodes are missing SAPIpd on Windows Terminal Server uses always the same printer How can create a silent setup for deployment in my company Why is a horizontal bar drawn across the barcodes Testing tray selection and print mode selection The wrong paper tray is used Problem Solutions No Frontend Printing possible with SAPSprint How to enable Hebrew Double Byte character set How to encode more than 70 characters in a 2D bar code How can encode Flattermarken alias OMR How to change the vertical alignment of the bar codes Solution How can adjust the bar code width The Font Courier isn t printing correctly with SAPIpd How can use Application Identifiers FNC1 Sample GS1 EAN 128 prefix Encoding Examples get the error message NilBind service 515 in use SAPIpd Possible Cau
43. 10 1 or later 0 Auto detection default The bar code library examines the print control and conforms automatically to the its encoding 1 ANSI Mode The bar code library assumes that the print control is in ANSI format 2 Mixed Mode Experts only The bar code library assumes that the print control is in mixed format 16 bit UNICODE and ANSI characters DefEncodingMode Specifies how the input data shall be interpreted The encoding mode is an integer argument that may have following values 0 Code Page Default The input string is converted to the selected code page default see DefCodePagelndex 1 Encode Lower Byte The input string is treated as a sequence of ASCII characters ranging from 0 to 255 If the input data is UNICODE UTF 16 gt only the Lower Byte is encoded Single Byte ANSI gt itis used as it is no conversion is done 2 As Byte Stream Low High Byte The input string is treated as byte stream Low Byte before High Byte If the input data is UNICODE UTF 16 gt 16 bit characters in the input stream are interpreted as two ASCII characters This encoding mode is used for encoding binary and untranslated UNICODE data Single Byte ANSI gt itis used as it is gt no conversion is done 3 As Byte Stream High Low Byte The input string is treated as byte stream High Byte before Low Byte If the input data is UNICODE UTF 16 gt 16 bit characters in the input stream are interpreted as two
44. 2 seso E ZSWIN BG EANH 5 22 58501 ZSWIN I25 SBP15 58501 ZSWIN 1250 SBP14 58501 ZSWIN MSI SBP17 58501 ZSWIN MSIC 5 18 seso 1 ZSWIN BC_MSIC1 SBP19 58501 E ZSWIN MSIC2 5 20 8500 ZSWIN PSN5 5 23 sesa ZSWIN PSN9 SBP24 58501 U ZSWIN KUNAUNR SBP84 58501 ZSWIN KUNAUPS SBP85 58501 O ZSWIN MBBARC SBP86 58501 17 ZSWIN MBBARC1 SBP87 58501 ZSWIN RSNUM SBPG8 58501 ZSWIN RSPOS SBPO9 58501 ZSWIN RUECKNR SBP18 sesa Figure 9 SAPscript Font Maintenance Change Printer Barcodes Choose Create F5 to define a new printer barcode 01284 80 28A 00 SBP26 Figure 10 Assign Print Control Prefix Suffix In this dialog you create a new printer barcode It contains a barcode prefix and a barcode suffix If you decide to choose a predefined barcode print control select it in the dropdown menu Enter the following information Parameter Description Barcode The name of the system barcode that you want to print If the desired barcode is not listed here you have to create a new system barcode see chapter 12 2 1 New System Barcode Barcode prefix The name of the prefix print control in the form SBP lt nn gt nn is an ID number You can select any identification number you want The print control name must be unique among the print controls that have been defined
45. 27x27 23 109 x 109 5 31 x 31 24 113x 113 6 37 x 37 25 117x117 7 41x41 26 121 x 121 8 45 x 45 27 125 125 9 49 x 49 28 131 x 131 10 53 x 53 29 135 x 135 11 57 x 57 30 139 x 139 12 61 x 61 31 143 x 143 13 67 x 67 32 147 x 147 14 71 71 33 151 x 151 15 75x 75 34 19 x 19 reader 16 79 x 79 35 23 x 23 reader 17 83 x 83 36 27 x 27 reader 18 87x87 Table 41 Aztec Code Symbol Sizes 22 2 Data Matrix Symbol Sizes This table shows the possible user defined symbol sizes for Data Matrix The symbol size can be defined by the print control DMS Set DMS to that index value that corresponds to the selected size Index Symbol size rows x cols Index Symbol size rows x cols 0 automatic calculation 16 64 x 64 1 10x10 17 72x72 2 12x 12 18 80 x 80 3 14x 14 19 88 x 88 4 16 x 16 20 96 x 96 5 18x18 21 104 x 104 6 20 x 20 22 120 x 120 7 22x22 23 132x 132 8 24 x 24 24 144 x 144 9 26 x 26 25 8x18 10 32x32 26 8x32 11 36 x 36 27 12x26 12 40 x 40 28 12x36 WWW TEC IT COM Page 63 of 90 13 44 x 44 29 16 x 36 14 48 x 48 30 16 x48 15 52 x 52 Table 42 Data Matrix Symbol Sizes 22 3 QR Code Symbol Sizes Versions This table shows the possible user defined symbol sizes for QR Code You can set them by the print control ORV Index The column Index represents the value that defines the corresponding
46. 3 43 31 38 Serial Shipping Container Code 100 C TEL 43 3D 54 45 4C Telepen C TELA 43 3D 54 45 4041 Telepen Alpha C UA 43 3D 55 41 UPC A C UA 2 43 3D 55 41 2B 32 UPC A 2 digits add on C UA 5 43 3D 55 41 2B 35 UPC A 5 digits add on C UC1 UPC D1 not supported C UC2 UPC D2 not supported C UC3 UPC D3 not supported C UC4 UPC D4 not supported C UC5 UPC D5 not supported C UCE 43 3D 55 43 45 UPC E C UCE 2 43 3D 55 43 45 2B 32 UPC E 2 digits add on C UCE 5 43 3D 55 43 45 2B 35 UPC E 5 digits add on C VIN 43 3D 56 49 4E Vehicle Identification Number VIN FIN Table 12 Barcode Type Print Control Parameters 13 2 2 Barcode Data Encoding Com Explanation Values ASCII Hex Code Explanation mand CP Code Page Index CP 1 43 50 3D 31 Select one of the predefined CP 2 43 50 3D 32 code pages Parameter EM CP 3 43 50 3D 33 must be 0 or default CP 4 43 50 3D 34 1 Barcode type default CP 5 43 50 3D 35 Z ANSI CP 6 43 50 3D 36 3 Windows 1252 1252 CP 7 43 50 3D 37 4 ISO 8859 1 Latin 28591 CP 8 43 50 3D 38 5 ASCII Extended 437 CP 9 43 50 3D 39 6 UTF 8 CP 10 43 50 3D 31 30 7 Korean 949 CP 11 43 50 3D 31 31 8 Japanese Shift JIS 932 CP 12 43 50 3D 31 32 9 Simplified Chinese 936 WWW TEC IT COM Page 36 of 90 10 Traditional Chinese 950 11 ANSI Cyrillic 1251 12 Russian KOI8 R 20866 CPC Custom Code Page CPC 437 CPC 1252
47. ARCODE INTO V BARCODE ENDDO FORMAT COLOR OFF INTENSIFIED OFF If the barcode is the first element on the page the following write statement is needed otherwise you get a date in the first print control WRITE Begin of barcode Print control prefix from the ZSWIN device type The print control contains the barcode parameters type size PRINT CONTROL FUNCTION SBP22 Barcode data content NO GAP is important to avoid unwanted characters or CR LF WRITE V BARCODE NO GAP End of barcode Print control suffix 5 501 or ESCAP from the ZSWIN device type PRINT CONTROL FUNCTION ESCAP This WRITE statement prevents inserting of Carriage Return Line Feed into barcode data WRITE NO GAP WRITE gt Format Color off Intensified off is necessary on some SAP systems as the list processor otherwise inserts print controls by its own resulting in disturbed barcode output WWW TEC IT COM Page 29 of 90 12 Introduction to Print Controls 12 1 Usage SAP uses the term Print Control for control character sequences which are used to adjust various output device features like bar coding SAP R 3 is using a 3 tier system for defining print controls 1 System Barcodes 2 Printer Barcodes 3 Print Controls 12 1 1 System Barcodes A system barcode is a system wide device independent definition of an available barcode type Only if a system barcode is defined y
48. ASCII characters This encoding mode is used for encoding binary and untranslated UNICODE data reverse byte order of 2 Single Byte ANSI gt itis used as it is no conversion is done 4 As sequence of Hexadecimal digits Data characters are treated as binary data in Hexadecimal format two hex digits per Byte value If you supply data in this format bar code specific code pages are not applied DefCodePagelndex Following predefined code pages can be used Default depends on bar code type ANSI Code Page Windows 1252 1252 ISO 8859 1 Latin 28591 ASCII Extended 437 UTF 8 Korean 949 Japanese Shift JIS 932 9 Simplified Chinese 936 10 Traditional Chinese 950 11 ANSI Cyrillic 1251 12 Russian KOI8 R 20866 Attention The encoding mode must be set to Code Page default to use this setting 60 23 y gv d ONS DefCodePageCustom The Code page ID Alternatively to the predefined code pages it is possible to enter the code page id directly Any value set here overrides DefCodePagelndex Attention The encoding mode must be set to Code Page default to use this setting 437 set the code page to ASCII Extended 437 Table 33 Barcode Ini Section SETTINGS part 3 WWW TEC IT COM Page 54 of 90 16 4 Section EAN UPC This section is relevant for EAN 8 EAN 13 UPC A UPC E and related barcode symbologies Parameter Name Description FontNa
49. BC PAS variant of PDF417 HIBC PAS QR Code HIBC PAS variant of QR Code Table 54 Supported HIBC Bar Codes 24 5 GS1 Composite Varianten 2D Codes Barcode Description RSS 14 Composite Component CC A CC B RSS 14 Stacked Composite Component CC A CC B WWW TEC IT COM Page 85 of 90 RSS 14 Stacked Omnidirectional Composite Component CC A CC B RSS Limited Composite Component CC A CC B RSS Expanded Composite Component CC A CC B RSS Expanded Stacked Composite Component CC A CC B EAN 13 Composite Component CC A CC B EAN 8 Composite Component CC A CC B UPCA Composite Component CC A CC B UPCE Composite Component CC A CC B UCC EAN128 Composite Component CC A CC B CC C Table 55 Supported Composite Codes 2D 24 6 Related Symbologies With the previously listed symbologies you can create the following variants as well USS Code 39 AIAG PPN Code NTIN Code GS1 USS Code 128 UCC 128 ISBT 128 SCC 14 JAN Bookland USS ITF 2 5 1 2 5 ITF 14 SSC 14 DUN14 USPS DOD Logmars Department of Defense Logmars SCS UPC Serial Shipping Symbol WWW TEC IT COM Page 86 of 90 25 Version Information Version Notes V1 03 Start of version history The following features were not implemented Barcode types UPC version D1 to D5 Se
50. BearerBarWidth Specifies the default bearer bar width in 1 1000 mm e g 500 0 5 mm This value is used if the width of the bearer bar is not set by the print control 0 no bearer bar will be drawn default 300 bearer bar with a line width of 0 3 mms is drawn DefBarWidthReduction The value specifies in percent how much you want to decrease the bar width in percent This parameter is used for ink jet printers where unwanted ink flow can increases the bar width 0 no width reduction default 10 bar width is printed 90 instead of 100 100 the thin bars disappear not recommended DefOptResolution Optimizes the module width for actual printing resolution The module width is aligned to the pixel boundaries of the actual output device whereby it is always downsized to the next full pixel the bar code becomes less wide in this case The resolution is retrieved during printing This setting has an impact on all printers This measure increases the bar code decode ability and quality grade at low printing resolution thermo transfer printers See also our FAQ 0 no optimization Default 1 Optimize module width StripWhiteSpace The value specifies the white space stripping method that should be applied to the bar code data This parameter is used for avoiding unintentional spaces before and behind the bar code data N no white space stripping default L white space stripping on the left side R white space stripping on the right side WWW TEC IT
51. CII Hex Code Explanation mand PDEC Error Correction Level PDEC 1 50 44 45 43 3D 2D 31 Error Correction Level ECL PDEC 0 50 44 45 43 3D 30 1 or not defined The error PDEC 1 50 44 45 43 3D 31 correction level is set PDEC 2 automatically based upon the u code length PDEC 3 0 No error correction only PDEC 4 error recognition PDEC 5 1 Lowest error correction PDEC 6 8 Highest error correction PDEC 7 PDEC 8 PDFC Fixed number of columns PDFC 1 50 44 46 43 3D 2D 31 1 or not defined Automatic PDFC 1 50 44 46 43 3D 31 calculation of the number of WWW TEC IT COM Page 43 of 90 CC A Data Mode en 50 44 46 43 3D 32 columns used for data PDFC 30 representation 1 30 Number of columns Note rows and columns can t be fixed together one has to be in automatic mode PDFR Fixed number of rows PDFR 1 50 44 46 52 3D 2D 31 1 or not defined Automatic PDFR 3 50 44 46 52 3D 33 calculation of the number of u 50 44 46 52 3D 34 rows within PDF417 PDFR 90 1 30 Number of rows in the symbol PDRH Row Height PDRH 1 50 44 52 48 3D Height 1 or not defined Row height in 1 1000 mm PDRH 1000 will be calculated from the symbol height PDRH gt 0 Row height 1 1000 mm PDPC Row Column Ratio Column PDPC 1 50 44 50 43 3D 2D 31 1 default No col row ratio PDPC 2 50 44 50 43 3D predefined automatic adap Column Ratio tation to
52. COM Page 52 of 90 A white space stripping on both sides Attention Avoid white space stripping if your bar code data is binary or could contain white spaces on the begin or at the end of the bar code ConvertToSpace Replacement Character for Space Sometimes trailing spaces are eliminated by SAP but should be encoded This parameter specifies a character which can be used instead of a space During printing before generating the bar code all occurrences of the adjusted character are converted to space hex code 20 All occurrences of are replaced with a space character All occurrences of are replaced with a space character DefCompositeSeparator Set the default composite separation character This setting is used only if a composite symbol has to be generated A composite symbol consists of a main part mostly 1D and a composite part 2D Each of the parts has to be filled with data To separate the 2 data parts in the data stream a composite separator character is used default This setting makes it possible to use another separator character instead Note Some SAP environments filter out characters from the data stream This setting can be used to work around this problem Table 31 Barcode Ini Section SETTINGS part 1 Example SETTINGS Direction 1 Shift 1 DefModWidth 254 OnError Message DefaultSet 1 DataMode 0 16 3 1 Default Font Parameter Name Des
53. Forms document WWW TEC IT COM Page 27 of 90 General attributes Outputoptions Conditions Style TEST O 9 Page protection C Line with Gray value Width 0 not filled vertical spacing horizontal spacing Figure 19 SmartForms Style In the style definition you need to specify the system barcode used for printing the character format Character Formats Debt An Description 52 O Style ZBARCODE Style ZBARCODE Header Data gt CJ Paragraph Form FAO Expand Collapse Create Node de Figure 20 Style Definition new Character Format Regardless if you use SAPscript or SmartForms add a new style node below the Character Format node right click Enter two characters for the name and choose a bar code type in our sample we select Code 39 but you can use any type WWW TEC IT COM Page 28 of 90 Change Mode Style ZBARCODE Language EN 2 Description 1 Style ZBARCODE Style ZBARCODE Header Data gt Paragraph Form C3 Character Form Standard Settings E Bc Superscript Subscript Name BC CD38 5 Code38nochk n bth 13mm Width 00 Height 1 30 Figure 21 Style Definition Bar Code Character Format 11 3 ABAP 11 3 1 Sample ABAP Program DATA V BARCODE 20 NEW PAGE NO HEADING PRINT ON LINE SIZE 80 Build test string 9 wal METS CONCATENATE 1234567890 V B
54. M 212 D CD39_01 bC 39 P 0 H 5 A 0 M 212 R 90 D KUNAUNR bC 128B B 48 H 12 D bC 128B B 48 H 12 D KUNAUPS bC 128B B 48 H 12 D bC 128B B 48 H 12 D MBBARC bC 128B B 50 H 20 D bC 128B B 50 H 20 D MBBARC1 bC E8 B 48 H 12 D bC E8 B 48 H 12 D RSNUM bC 128B B 48 H 12 D bC 128B B 48 H 12 D RSPOS bC 128B B 48 H 12 D bC 128B B 48 H 12 D RUECKNR bC 128B B 48 H 12 D bC 128B B 48 H 12 D Table 39 Predefined Print Controls Printer Barcodes The listed values are suggestions and can vary per application WWW TEC IT COM Page 59 of 90 20 Data Flow when using SWIN Device Type SAPIpd and SAPSprint can receive and process print jobs from different device types Below you can see the difference in data flow between SWIN and SAPWIN based print data compared to others SAP Server using PCL or other device type not SWIN SAP Server using SWIN dev type SWIN generates a SAP specific Meta Printer Language with Barcode Printcontrols This printer language can not be sent directly to the printer SAP generates the correct Printer language which the printer can understand SAPIpd SAPIpd Windows Printer Driver SAPIpd converts the Meta Printer Language to the correct Printer Language e g PCL or Postscript using the Windows Printer Driver During this process the Barcode Printcontrols are extracted and Barcodes are generated SAPIpd receives the print job and forwards it to the printer WITHOUT modification
55. OK and save your settings Use e to go back to the main menu gt After you created a new entry for a print control it may be necessary that you edit the print control in order to save it in the device type Sometime it will only be saved by SAP after it has been detected as dirty means edited E g enter a space and delete it 8 2 Modifying Print Controls gt For more detailed information regarding print controls parameters syntax please refer to chapter 12 Introduction to Print Controls In this chapter we show only how you can change them Invoke Transaction SE73 or use SAP Menu Tools gt CCMS Print gt Font Maintenance toopen SAPscript Font Maintenance Initial Screen Select Printer Barcodes Then select the device type for which you want to change the print controls e g ZSWIN The next dialog allows you to adjust the Printer Barcodes for the selected device type WWW TEC IT COM Page 20 of 90 SAPscript Font Maintenance Change Printer Bar Codes 211 Maint Print Control SBPO1 5 82 SBP03 SBP21 SBP11 SBP16 SBP13 SBP12 SBP22 SBP15 SBP14 SBP17 SBP18 SBP18 SBP20 SBP23 SBP24 SBP26 SBP84 SBPO5 SBPO amp SBPO SBPO8 SBP88 m amp 5 2 5 8 o S a S 9 9 a3 5 8 Make sure to activate the change mode before editing a print control 58501 58501 58501 58501 58501 58501 58501
56. TBarCode SAPwin Barcode DLL for SAPSprint SAPFprint SAPgui and Version 10 1 23 July 2015 TEC IT Datenverarbeitung GmbH Wagnerstrasse 6 A 4400 Steyr Austria t 43 0 7252 72720 f 443 0 7252 72720 77 office tec it com www tec it com WWW TEC IT COM 1 Content 7 1 7 4 1 7 1 2 7 2 8 1 8 1 1 8 2 9 1 9 2 10 10 1 10 2 10 3 11 11 1 11 1 1 11 1 11 1 2 11 2 11 2 1 11 2 2 11 3 11 3 1 12 12 1 12 1 1 12 1 2 12 1 3 12 2 12 2 1 12 2 2 12 3 12 4 13 13 1 Content Index of Figures Index of Tables Disclaimer About TBarCode SAPwin Introduction Linear and 2D Symbologies Crystal Clear Barcode Quality Supported Operating Systems amp SAP components Installation Installation Steps System Requirements Install TBarCode SAPwin SAPSprint SAP GUI and SAPIpd SAPSprint SAP GUI SAPFprint SAPIpd WWI TBarCode SAPwin Setup Next step Create a Device Type Copy Copy a device type Next step Assign the Device Type to a Printer Output Device Settings Device Attributes Hostspool Access Method Next step Define Printer Barcodes Adding new Printer Barcodes Adding a new Printer Barcode Modifying Print Controls Test Barcode Printing SAP R 3 SAP ERP ECC 6 0 Obtain a License Product Variants License Key and License Types License File Barcode ini Using Barcodes in SAP SAPscript Using Character Formats for Bar coding recommended Example Di
57. UG ASCII HEX Conversion Predefined System Barcodes Predefined Print Controls Printer Barcodes DefaultSet Values Aztec Code Symbol Sizes Data Matrix Symbol Sizes QR Code Symbol Sizes Micro QR Code Symbol Sizes MicroPDF Symbol Sizes Flattermarken Sample part 1 Flattermarken Sample part 2 GS1 EAN 128 Sample part 1 GS1 EAN 128 Sample part 2 GS1 EAN 128 Sample part 3 Supported Linear 1D Bar Codes Supported Postal Barcodes 1D Supported Two Dimensional Codes 2D Supported HIBC Bar Codes Supported Composite Codes 2D Version Information WWW TEC IT COM 45 45 46 46 47 47 48 49 51 51 53 53 54 55 55 56 57 58 59 62 63 64 64 64 65 76 76 78 78 78 84 85 85 85 86 89 Page 6 of 90 2 Disclaimer The actual version of this product document is available as is TEC IT declines all warranties which goes beyond applicable rights The licensee or reader bears all risks that might take place during the use of the system the documentation TEC IT and its contractual partner cannot be penalized for direct and indirect damages or losses this includes non restrictive damages through loss of revenues constriction in the exercise of business loss of business information or any kind of commercial loss which is caused by use or inability to use the product documentation although the possibility of such damage was pointed out by TEC IT E We reserve all rights to this document and
58. a Device Type Copy SAP systems are shipped with predefined device types for generating the SAPWIN data stream for printing through Windows Printer Drivers The name of the most important standard device type is SWIN In order to change device type specific parameters e g adding or modifying barcode related print controls it is good practice to create a copy of this standard device type and work with the copy gt Predefined SAP device type definitions are set to standard values and should not be changed For that reason creating a copy of a standard device type is strongly recommended 6 1 Copy a device type Perform the following steps to create a copy of a device type 1 Startthe spool administration transaction SPAD by choosing SAP Menu Tools gt CCMS Spool Spool Administration 2 Choose Utilities For device type Copy device type to copy the definition of an output device Utilities Eor output devices For device types Test data ABAP For character sets Test data SAPscript 4 Extended admin Full administrati For output management system Copy device type Display SAPPARAM Delete device type Spool lock overview Export Change Requests Organizer Import Output devices Spool Administration Initia Devices servers Check installation Figure 1 Invoke Device Type 3 dialog Copy device type appears Enter or select the device ty
59. alten x Zeilen Index Symbolgr e Spalten x Zeilen 0 Automatic sizing default 21 3x32 1 1x11 22 3x38 2 1x14 23 3x44 3 1x17 24 4x4 4 1x20 25 4x6 5 1x24 26 4x8 6 1x28 27 4x10 7 2x8 28 4x12 8 2x11 29 4x15 9 2x14 30 4x20 10 2x17 31 4 x 26 11 2x20 32 4x32 12 2x23 33 4 x 38 13 2x26 34 4x44 14 3x6 15 3x8 16 3x10 17 3x12 18 3x15 19 3x20 20 3x26 Table 45 MicroPDF Symbol Sizes WWW TEC IT COM Page 65 of 90 23 Troubleshooting amp FAQ 23 1 TEC IT COM FAQ Area Please check out the FAQ below and please visit also our SAP FAQ web page which is regularly updated It can be reached under the following URL http www tec it com en support faq sap barcode dll Default aspx 23 2 How can verify if TBarCode SAPwin was installed correctly 23 2 1 SAPSprint SAPgui If you are using SAPSprint or SAPGUI via SAPWIN dll you can enable the barcode log file in order to see if the Barcode DLL was loaded Please check out the next chapter 23 3 1 TBarCode SAPwin Log File barcode log page 67 23 2 2 SAPIpd If you are using SAPIpd follow the steps below To check the correct installation of TBarCode SAPwin simply start SAPlpd on the system in question SAPLPD LOG SAPLPD coag File Protocol Options Debug Language Help 15 10 53 Number of processors 2 15 10 53 19 bas BIN src flat sapfax cit1 SAP 15 10 53 15 10 53 SAPFAX DLL is loaded 15 10 53 15 10 53 ATTENTION
60. bologies Beside linear barcodes e g 2 of 5 205 interleaved Code39 Code128 EAN128 EAN UPC RSS 14 etc TBarCode SAPwin supports also 2D and Multi Row symbologies like Aztec Code Codablock F stacked Code128 Data Matrix GS1 Data Matrix EAN UCC Composite Symbology 0951 DataBar RSS Stacked Variants MaxiCode MicroPDF417 Micro QR Code PDF417 PDF417 Truncated QR Code These 2D symbologies features very high data capacity with enhanced data security and are required by several enterprises for their documents and labels a selection MaxiCode by UPS PDF417 by General Motors PDF417 and MaxiCode by the AIGA B 10 Automotive Industry Action Group Data Matrix by SPEC2000 Aviation PDF417 by BMW VDA BeloM 3 3 Crystal Clear Barcode Quality TBarCode SAPwin offers the possibility to specify all barcode related parameters This enables the user to produce barcodes meeting all requirements Device independent specification of the module width in absolute units WWW TEC IT COM Page 8 of 90 Selection of the subsets of Code128 subsets A B and C and automatic compression mode Bar width reduction Pixel Shaving for enlarging printing techniques Optimize bar width for actual printing resolution OptResolution especially relevant for thermal transfer printers 203 dpi Structured Append for 2D codes many other parameters see chapter
61. code the FNC1 as field separator at the end In the print control above we set the exclamation mark to be used as placeholder for FNC1 23 26 2 Encoding Examples Encoding a Batch Number The AI for the batch number is 10 The AI for the batch number is defined with the format n2 an 20 which means that after the Al the batch number with variable length but with maximal 20 alphanumerical characters is encoded Data to be encoded 10 batch number 1012345678 Barcode data 1012345678 The human readable text 10 12345678 The and are automatically determined by TBarCode SAPwin Print Control ASCII bC E128 A 1 B 76 H 25 D Table 49 GS1 EAN 128 Sample part 2 Using several Al s In this example two data fields will be running together Batch number Al 10 EAN Article number Al 01 data format n2 an 20 data format n14 Data to be encoded 10 batch number 01 EAN product number Barcode data 1012345678 FNC1 0112345678901234 The human readable text 10 12345678 01 12345678901234 The and are automatically determined by TBarCode SAPwin Table 50 GS1 EAN 128 Sample part 3 The in this example stands for FNC1 have a look at print control prefix and is necessary because the maximum numbers of characters 20 characters has not been utilized Hint It is not allowed to add an FNC1 after the last data fi
62. coding In the upcoming dialog Spooler Admin Output Device shown below you can change into 29 edit mode by clicking 2 Use the tab DeviceAttributes to change the device type and adjust the following values WWW TEC IT COM Page 15 of 90 7 1 1 Device Attributes SAP ShB eao The device type for SAPIpd SAPSprint Spool Administration Output Device Change printing which has been previously 8044 DeviceAttributes Device Type Spool Sever Device Class Authorization Group Model Location Message C Lock Printer in SAP System copied or imported e g ZSWIN Output Attributes Name of SAP server only with host ZSWIN Windows printing via SAPIpd t spool access method 5 B Standard printer Model and Location only for informative purposes 000 HI avenger Ins Figure 5 Spool Administration Change Output Device Parameter Description Device Type For the Device Type enter select the name of the copied device type E g ZSWIN refer to chapter 6 Create a Device Type Spool server Name of SAP Spool Server This field is only available when using hostspool access method 4 55 Do not change the standard settings Authorization Group Not relevant for bar coding Model Location Message Not relevant for bar coding Table 4 Output Device Field Values 7 1 2 Hostspool Access Method
63. cription DefFontName Font name used for the human readable text line If not set use actual font of the document Courier New use font family Courier New DefFontSize Default font height point used for the human readable text If not set use actual font size of the document 10 use font size 10 pt DefFontWeight Select if the font is printed normal or bold If not set use actual font weight of the document Bold print the font bold instead of normal Table 32 Barcode Ini Section SETTINGS part 2 The font characteristics applied to the barcode text are determined in the following order 1 Font parameters defined in print control yes use print control settings no check barcode ini for default values 2 Font parameters defined in the barcode ini yes use barcode ini settings no use actual font of currently printed document gt In the default installation no print control or barcode ini settings are present so the font of the actual document is used 16 3 2 Character Encoding Code Pages Parameter Name Description DataMode Specifies the data encoding mode of the print controls sent by SAP Depending on the SAP version the encoding of the print control string may be different WWW TEC IT COM Page 53 of 90 Use this setting to attune to the particular data mode Note This setting applies only to the standard BarcodePrint function and not to the Unicode interface V
64. cter Formats for Bar coding recommended The style for a character format can be defined as bar code instead of a font The assigned system bar code is adjustable Text marked with this character format is printed as barcode gt For SAPscript standard text 8010 you can define the styles in transaction SE72 gt For SAPscript forms SE71 you can define the styles also directly in the form 11 1 1 1 Example In the following example the character format B3 is used to print a Code 3of9 lt B2 gt 12345 lt gt t i t Barcode Code 39 i a lt 3 gt 12345 lt gt Figure 14 SAPscript and Barcode printing Form Change Character Strings ZMIN2 1 43 Pages Windows Page windows Paragraph formats H Mts Ra etus Boss String tion Mark Prot Hidd Sup Sub B2 Barcode 20f5 off B3 Barcode 30f9 Off sting 0202 Char format B3 Descript Barcode 30 9 On Selection rotected Barcode BC 039 Hidden Superscript Subscript O 6 Figure 15 Character Format Definition in a SAPscript form WWW TEC IT COM Page 25 of 90 Data Flow For Sample Above 1 The character format is defined to use system barcode CD39 2 The printer bar code definition for BC CD39 in the device type uses the prefix SBP11 and suffix SBS01 3 The prefix SBP11 contai
65. ctional PZN7 German Pharmazentralnummer 7 digits PZN PZN7 PZN8 German Pharmazentralnummer 8 digits PZN8 successor of PZN7 in 2013 RSS Expanded EAN UCC RSS Expanded Reduced Space Symbology RSS Limited EAN UCC RSS Limited Reduced Space Symbology RSS 14 EAN UCC RSS14 Reduced Space Symbology RSS 14 Truncated EAN UCC RSS14 Truncated Reduced Space Symbology RSS 14 Limited EAN UCC RSS14 Limited Reduced Space Symbology SSCC 18 SSCC 18 Shipping Container Code Telepen Telepen Telepen Alpha Telepen Alphanumeric UCC EAN 128 UCC EAN 128 UCC 128 UCC 128 UPC12 UPC 12 alias UPC A UPC A UPC A alias UPC 12 UPC A P2 UPC Version A 2 digit supplement UPC A P5 UPC Version A 5 digit supplement UPC E UPC Version E UPC E P2 UPC Version E 2 digit supplement UPC E P5 UPC Version E 5 digit supplement UPCSCC UPC Shipping Container Code refer to ITF14 SCC 14 VIN FIN Vehicle Identification Number Fahrzeug Identifizierungsnummer Table 51 Supported Linear 1D Bar Codes 24 2 Postal Codes 1D Barcode Description Australian Post Custom Australian Post Standard Customer Customer2 Customer 3 Australian Post Redirect Australian Post Redirection Australian Post Reply Paid Australian Post Reply Paid Australian Post Routing Australian Post Reply Routing Brazilian CEPNet Brasilianischer Po
66. ctory Entry 6 Inorder to create o local object select Local Object otherwise you need to specify a package Please consider that local objects will not be transported SAP lists the copied items Hit the back button e until you are in the main menu 6 2 Next step Assign the newly copied device type to output devices please refer to the next chapter WWW TEC IT COM Page 14 of 90 7 Assign the Device Type to a Printer To use TBarCode SAPwin it is required to assign the device type copy created in chapter 6 Create a Device Type Copy to an output device gt Assigning the correct device type to the printer is a must Without correct device type settings barcode printing will not work 7 1 Output Device Settings The dialog window to assign the new device type to a printer is accessible via transaction SPAD or is invoked by SAP Menu Tools CCMS Spool Spool Administration The dialog Spool Administration Initial Screen is opened Choose the tab Devices servers andclick Output devices Spool Administration Initial Screen 2 Extended admin Full administration Devices servers Output devices Access methods Destination host Check installation Figure 4 Spool Administration Initial Screen Afterwards a list of all available output devices is displayed Information about device device type and server is available Double Click the printer you want to use for bar
67. d Height 10 mms Module Width Either the value of De ModWidth from barcode ini if present or 0 508 mms if not present text font font size in the barcode ini file For EAN UPC bar codes it is possible to adapt the characteristics of the human readable If required we can help you to adjust your device type SWIN based to produce a similar result as with the device types for HP printers Please contact support tec it com The table below lists the presets of Default Set 1 Barcode Module Width mm Height mm Plain Text 2 5 Industry 0 254 10 2 N 2 5 IL Interleaved 0 254 10 2 N 2 5 Matrix 0 254 10 2 N Australia Post Custom 0 470 5 0 N Australia Post Reply Paid Brazilian CEPNet 0 577 3 2 N CodaBar 2 0 254 10 2 N Codablock F 0 254 Row height 5 64mm N Code 128 A B C Auto 0 254 10 2 N Code 39 0 254 10 2 N Code 39 ASCII Extended 0 254 10 2 N Code 93 0 254 10 2 N Code 93 ASCII 0 254 10 2 N DP Identcode 0 423 25 4 J DP Leitcode EAN UCC Composite Symbology 0 254 Height depends on N module width and data content 128 UCC128 651 128 0 254 10 2 N EAN13 0 339 21 9 J EAN13P2 0 339 21 9 J EAN13P5 0 339 21 9 J WWW TEC IT COM Page 61 of 90 EAN8 0 339 17 6 J EAN8P2 0 339 17 6 J EAN8P5 0 339 17 6 J ISBN 13 0 339 21 9 J ISBN 13
68. d G select the feature Barcode DLL for SAPSprint and SAPGUI and browse to the location of SAPGUI e f you want to use the DLL with WWI on a server select the feature Barcode DLL for SAPSprint and SAPGUI und browse to the location of WwiBC dll Ondemand the feature Barcode DLL for SAPSprint and SAPGUI can be installed into the Windows directory e f you want to use the program with SAPIpd select the feature Barcode DLL for SAPlpd and browse to the location of SAPlpd exe 6 Relevant for SAPlpd After completing the setup routine restart SAP1pd to make sure that the Barcode dll and the Barcode ini will be loaded 7 The setup of TBarCode SAPwin is completed ge wm If you use the 64 Bit version of SAPsprint or WWI install TBarCode SAPwin x64 If you don t install the Barcode DLL with the provided setup please examine section 23 4 5 A silent installation for automated deployment is possible see 23 15 In order to gain more information about installing SAPSprint or SAP1pd please refer to the appropriate SAP documentation Y Y 5 3 Next step Create copy of a suitable device type usually SwIN Please refer to the next chapter The setup extends the PATH environment variable with the installation path of the Barcode DLL If the DLL cannot be found by all SAP printing components the DLL can be installed into the Windows directory WWW TEC IT COM Page 12 of 90 6 Create
69. dard mask is MQM 1 4D 51 4D 3D 31 calculated automatically MQM 2 4D 51 4D 3D 32 0 Selects Mask 0 MQM 3 4D 51 4D 3D 33 a 3 Selects Mask 3 MQV Micro QR Code Version MQV 0 4D 51 56 3D 30 Size see table in 22 4 MQV 1 4D 51 56 3D 31 O default Automatic size MQV 2 4D 51 56 3D 32 adaptation MQV 3 4D 51 56 3D 33 1 Smallest symbol MQV 4 4D 51 56 3D 34 e 4 Largest symbol QRC Multi Byte Compaction QRC 1 51 52 43 3D 2D 31 1 default Compaction is QRC 0 51 52 43 3D 30 based on code page QRC 1 51 52 43 3D 31 0 No Compaction QRC 2 51 52 43 3D 32 1 Kanji Compaction 2 Chinese Compaction Table 23 Micro QR Code Print Control Parameters 13 2 13 Parameters for Codablock F Com Explanation Values ASCII Hex Code Explanation mand CBC Fixed number of columns CBC 1 4342433D Number Default or 1 automatic CBC 4 calculation P 4 62 number of graphic CBC 62 columns in the symbol CBR Fixed number of rows CBR 1 4342523D Number Default or 1 automatic CBR 2 calculation N 2 44 number of graphic rows CBR 44 in the symbol CBH Row Height CBH 1 4342483D Height Default or 1 row height will in 1 1000 mm CBH 1000 be calculated based upon symbol height CBRH gt 0 row height is set in 1 1000 mm CBS Separator Line Width CBS 1 4342533D Width Default or 1 width of row in 1 1000 mm CBS 1000 separator line will be calculated automatically CBS gt 0 separator line width is set in 1 1000 mm CBF Cod
70. data content or 1 if PDPR was set gt 0 Columns of row col ratio PDPR Row Column Ratio Row PDPR 1 50 44 50 52 3D 2D 31 1 default No col row ratio PDPR 3 50 44 50 52 3D Row Predefined automatic Ratio tation to data content or 1 if PDPC was set PDPR gt 0 Rows row col ratio PDM PDF Encoding Mode PDM 0 50 44 4D 3D 30 Binary compaction mode PDM 1 50 44 4D 3D 31 0 Analyze input data and use optimal encoding mode 1 Encode all data in binary compaction mode No code page conversion equals EM 1 Table 20 PDF417 Print Control Parameters 13 2 10 Parameters specific for MicroPDF417 Com Explanation Values ASCII Hex Code Explanation mand PDRH Row height PDRH 1 50 44 52 48 3D Height PDRH 1 or not specified in 1 1000 mm PDRH 1000 Row height depends on total symbol height rows PDRHS gt 0 row height is set to a constant value 1 1000 mm PDM PDF Encoding Mode PDM 0 50 44 4D 3D 30 Binary compaction mode PDM 1 50 44 4D 3D 31 0 Analyze input data and use optimal encoding mode 1 Encode all data in binary compaction mode No code page conversion equals EM 1 MPM MicroPDF Mode MPM 0 4D 50 4D 3D Mode 0 default Analyze input data encoding format MPM 1 and switch to compaction MPM 2 mode for smallest symbol MPM 3 1 GS1 128 Emulation 2 Code128 Emulation 1 3 Code128 FNC1 2 position 6 4 Linked 651 128 Emulation 7 05 MPM 8 6 06 Macro 7 8
71. de 5 1 4 WWI Starting with EH amp S WWI SP31 the WwiBC dll controls bar code generation The WwiBC dll offers an interface for a Barcode DLL if installed you can generate bar codes gt For details see SAP Note 1293379 EH amp S WWI Bar code support WWW TEC IT COM Page 11 of 90 5 2 TBarCode SAPwin Setup This installation manual assumes that SAPSprint SAPGUI with SAPWIN dIl SAPlpd WWI is already installed on the client or print server gt Since TBarCode SAPwin acts like a Plug In for the above listed programs it has to be installed into the same program path as the particular programs This assures that the Barcode dll can be loaded automatically Perform the following steps to install TBarCode SAPwin Download the latest version of TBarCode SAPwin from http www tec it com Start the setup program Confirm all dialog boxes with Next and read and accept the license agreement Configure your installation options in the menu Custom Setup The MSI setup contains two different Barcode DLLs one version for SAPSprint SAPGUI and WWI and another version for You can configure the installation of these features separate from each other e f you want to use the DLL with SAPSprint on a server select the feature Barcode DLL for SAPSprint and SAPGUI und browse to the location of SAPsprint exe e f you want to use the DLL with SAPGUI on a client access metho
72. de for Aztec Code 0 Optimized Encoding 1 Binary compaction no data analysis No code page conversion equals 1 AZS Symbol Size AZS 0 51 52 56 3D 30 Symbol Size AZS 1 51 52 56 3D 31 O default Automatic size un EU adaptation AZS 36 51 52 56 3D 34 30 1 Smallest symbol 33 Largest symbol 34 36 Reader programming mode please refer to the table below AZR Rune Mode AZR 0 41 5A 52 3D 30 In Rune mode you can only AZR 1 41 52 3D 31 encode numbers between 0 and 255 Therefore the symbol size can be reduced to a minimum 0 Rune Mode is off default 1 Rune Mode is on AZAI Structured Append Mode AZAI 1 41 5A 41 49 3D 31 Index of the current symbol Index of current symbol AZAI 2 41 5A 41 49 3D 32 when using Structured Append AZAI 16 AZAM Structured Append Mode AZAM Text 41 41 4D 3D Message ID for Structured Message ID Message ID Append Mode must be identical for all symbols in a chain AZAS Structured Append Mode AZAS 2 41 5A 41 53 3D 32 Number of symbols chained Total number of symbols AZAS 3 41 5A 41 53 3D 33 together with Structured i Append AZAS 16 Table 17 Aztec Code Print Control Parameters 13 2 7 Parameters specific for Data Matrix Com Explanation Values ASCII Hex Code Explanation mand DMF Data Matrix Format DMF 0 44 4D 46 3D 30 Support of special industry DMF 1 44 4D 46 3D 31 standards DMF 2 44 4D 46 3D 32 0 default Standard DMF 3 1 081 Data Matrix FNC1 at 1 position DMF 4 2 Indu
73. e and Codes e Further 1D Codes KIX Telepen DPD Italian Postal Code 2015 etc e _ Supporting various encoding methods and code pages e Binary compaction modes for several 2D codes e Custom definition of a separator character for composite data e Automatic check of check digits if added by the user e White space stripping e Windows Vista Support e Barcode generator is based on new TBarCodeLib V9 Bug Fixes e TBarCode SAPwin 9 0 0 uses TBarCodeLib 9 3 0 for bar code generation For the list of bug fixes in the barcode generator check out the version history of TBarCode DLL V7 V9 3 e http www tec it com software barcode software tbarcode history v5v6v7 aspx V9 0 1 V10 x Please check out the version history on the tec it com web site http www tec it com software sap barcode dil history aspx Table 56 Version Information WWW TEC IT COM Page 89 of 90 26 Contact and Support Information TEC IT Datenverarbeitung GmbH Address Wagnerstr 6 AT 4400 Steyr Austria Europe Phone 43 0 7252 72 72 0 Fax 43 0 7252 72 720 77 Email mailto sap tec it com Web http www tec it com AIX is a registered trademark of IBM Corporation HTML DHTML XML XHTML are trademarks or registered trademarks of W3C World Wide Web Consortium Laboratory for Computer Science NE43 358 Massachusetts Institute of Technology 545 Technology Square Cambridge MA 02139 JAVA is a registered t
74. e will be displayed The example above shows the unlicensed version If TBarCode SAPwin was licensed successfully the text UNLICENSED DEMO VERSION is replaced with the licensee name WWW TEC IT COM Page 66 of 90 23 2 3 CheckList If no log file exists SAPSprint or no message is displayed SAPIpd start screen please check the following points 23 2 3 1 SAPIpd User you have restarted SAPIpd on your system restarting is a must after installation Without a restart TBarCode SAPwin is not loaded Check if the Barcode d11 file is placed in the same directory as the SAP1pd exe file If the barcode DLL was installed in the Windows directory the files should be found as well but the path of SAP1pd exe is preferred 23 2 3 2 SAPSprint SAPgui and SAPIpd User Was TBarCode SAPwin installed on your computer client successfully Before barcodes can be printed TBarCode SAPwin has to be installed on your computer Check if the Barcode d11 file can be found in the installation directory or in the Windows directory If this file is missing please reinstall TBarCode SAPwin Without this file barcode printing is not possible Check if the Barcode ini is in the same directory as the Barcode d11 or in the default location after setup see table below Operating System Barcode ini Directory Windows XP and previous C Documents and Settings All Users Application Data TEC versions IT TBarCode SAPwin lt v
75. e 70 of 90 23 5 SAPIpd log shows Unknown ESCAPE Code 0x1B 0x36 Please make sure that you have installed the latest downloadable version from http www tec it com Please check out that you have copied the device type SWIN to ZSWIN as shown in our documentation Refer to chapter 6 Create a Device Type Copy Each print control in the device type begins with an escape character If the print control contains wrong characters you may get this error Barcode print controls start with b 23 6 added a new print control but SAP could not find it Sometimes when you are creating a print control prefix or suffix it has to be dirty in order that it is saved properly To make it dirty edit it add and delete a space and then save it 23 7 can t define a print control with variant 5 SE73 shows only variant 1 The variant cannot be changed within SE73 but it can be changed within SPAD Options SPAD Button Full Admin gt Tab Device Types Enter device type ZSWIN gt Tab Print Controls F8 change select the print control to change Now there are radio buttons to switch between Direct Variant 1 and Extended Variant 5 Switch to Extended to get variant 5 for a print control 23 8 Barcode type is always 2 of 5 Interleaved 23 8 1 Wrong base device type You have copied the device type SAPWIN instead of SWIN We recommend using SWIN it contains definitions for all usual ba
76. e Format CBF 0 4342463D30 0 Standard format default CBF 1 4342463D31 1 EAN UCC format Table 24 Codablock F Print Control Parameters WWW TEC IT COM Page 46 of 90 13 2 14 GS1 DataBar Expanded Stacked specific Parameter Com Explanation Values ASCII Hex Code Explanation mand SR Segments per Row SR 2 53 52 3D 32 Number of data segments per u row in RSS Expanded Stacked SR 22 53 52 3D 32 32 Influences the width to height ratio Table 25 RSS Expanded Stacked Print Control Parameters 13 2 15 EAN UCC Composite Symbology Parameter Com Explanation Values ASCII Hex Code Explanation mand CC 2D Composite Component CC N 43 43 3D 4E Type of Composite Component CC D 43 43 3D 44 N no CC Combinable with EAN 8 CC A 43 43 3D 41 D default CC recommended EAN 13 UPC A UPC E 43 43 3D 42 2 43 43 3D 43 B CC B C CC C only with EAN 128 The data for the composite component must be separated by a separator character Default vertical bar e g 12345678 CompositeData The separator character can be changed with parameter CS cs Composite Separator CS _ 43 53 3D 5F Specify the separator character CS amp 43 53 3D 26 for composite components Default vertical bar Table 26 EAN UCC Composite Symbology Print Control Parameters WWW TEC IT COM Page 47 of 90 14 Encoding Special Characters
77. e client which starts SAPlpd WWW TEC IT COM Page 69 of 90 automatically in order to process the print job Barcodes are created by the Barcode dll G Front end printing on the SAP Client by using Control Technology The SAPWIN interpreter SAPWIN dIl is loaded by SAPGUI and manages the print job processing On demand SAPWIN dll loads the Barcode dll TBarCode SAPwin for bar code generation U With newer SAPSprint versions you can also use U in combination with a SAPWIN device type SAPIpd Please use 5 if you want to create bar codes with TBarCode SAPwin 23 4 2 Incompatible Printer Driver In some cases the Windows printer driver of the printer in question is not working as expected Changing the printing method of TBarCode SAPwin in the barcode ini file may help Add the following line to the barcode ini file in the installation path of TBarCode SAPwin DRAW MODE UseGDIRect 1 When using SAPIpd restart SAP1pd if running and try printing again More information can be found on our web site http www tec it com 23 4 3 Wrong Device Type not based on SWIN Check if the device type for your printer is based on copy of SWIN Rel 4 x SAPlpd 4 09 ONLY gt A device type copy based on SWIN is recommended SWIN contains most barcode definitions In contrast SAPWIN contains only 2of5lL 23 4 4 Wrong Variant of Print Control Prefix The so called variant of the print
78. e for OMR e g ZBC_OMR Adjust the print control prefix SE73 of the printer bar code as follows leave the suffix empty with Variant 5 Encoding Print Control ASCII bC FLM B 15 H 30 R 90 A 0 D Hex 624330464 402 423031352 483033302 523039302 4130302 4430 Table 46 Flattermarken Sample part 1 Parameter Value Description C FLM Flattermarken or OMR Code B 15 width 15mm H 30 height 30mm R 90 rotation 90 A 0 no text output Table 47 Flattermarken Sample part 2 23 23 How to change the vertical alignment of the bar codes The vertical alignment of the bar code seems to be wrong All of the barcodes are printing about 1 2 of the barcode height below the desired baseline 23 23 1 Solution You can change the baseline with two configuration parameters in the barcode ini file The baseline alignment checkbox in SAP has no affect The first parameter Direction indicates the printing direction as shown below This limit depends on the used SAP Release and the installed patch level WWW TEC IT COM Page 76 of 90 SETTINGS Direction 1 111 SETTINGS Direction 0 __ i Figure 34 Barcode Printing Direction adjusted Barcode ini The second parameter Shift can be used to fine tune the baseline position gt When using SAPIpd you need a restart of to read in the changed settings 23 24 How can adjust the ba
79. e listed SAP programs or program parts 5 1 1 SAPSprint SAPSprint is a tool for server based printing under Windows access method S and U It acts like SAPIpd but can be installed as Service Thus it offers more stability by automatic restart on errors SAPSprint uses the SAPWIN DLL for processing the SAPWIN print data stream This DLL offers an interface for a Barcode DLL SAPSprintis the official successor of SAPIpd and is recommended by SAP gt For details see SAP Note 894444 5 1 2 SAP GUI SAPFprint SAPFprint and the SAPWIN DLL assume the preparation of the SAPWIN print data stream in newer SAP client versions The SAPWIN DLL has an interface for a Barcode DLL and is used with front end printing through host spool access method Control Technology gt For details see SAP Note 821519 5 1 3 SAPIpd SAPIpd exe is part of the Windows based SAPGUI and processes the printing data in SAPWIN format The SAPwin data stream is converted to the target printer language by using the installed Windows printer driver s For frontend printing SAPIpd is addressed with host spool access method F Frontend Printing For server side printing is addressed in SPAD with host spool access method S proprietary SAP protocol or U UNIX Berkeley protocol gt SAPIpd is outdated and should be replaced by SAPSprint server side or SAPFprint SAPgui 7 20 client si
80. e of TBarCode SAPwin it defines barcode specific features Each print control consists of a prefix and a suffix Within the print controls you can use special parameters printer commands to control the output of TBarCode SAPwin 13 1 Syntax and Structure of Print Controls In general a barcode print control consists of a prefix and a suffix The prefix starts the bar code generation and controls the barcode properties the suffix terminates the barcode That means that different barcode types require also different prefixes The suffix however can be equal for all barcode types valid for SWIN resp SAPWIN device types 13 1 1 Naming Convention Please consider the naming convention if you add a new Barcode print control Prefixes start with SBP and suffixes with SBS Thereafter follows a two digit number which must be unique for each device type Example SBP25 Prefix and 58501 Suffix 13 1 2 Print Control Prefix A print control prefix with the barcode parameters consist of the following parts bPARAMD Value Description b Start character Hex code 62 PARAM Barcode parameters individual barcode settings Multiple parameters must be separated by a comma Hex code 2C D End of the control sequence MUST be specified at the end of the sequence Hex code 44 3D Table 10 Syntax of Print Control Prefix Suffix Sample bC E128 8 70 H 30 D The print control prefix can be entered in ASCII f
81. eld WWW TEC IT COM Page 78 of 90 23 27 get the error message NilBind service 515 in use 23 27 1 SAPIpd During printing while starts you get this error message 11 13 58 TRACE LOG 001 gt NiPBind bind 11 13 58 TRACE 10013 WSAEACCES Permission denied 11 13 58 TRACE ninti c 1473 11 13 58 ERROR NilBind service 515 in use 11 13 58 ERROR NilListen NiBind rc 4 11 13 58 Error Ni2Listen failed with code 4 11 13 58 The TCP port 515 for the SAPLPD is in use 11 13 58 There is either another SAPLPD running or 11 13 58 the previous SAPLPD did not release 11 13 58 the TCP 11 13 58 Maybe PC reboot will help Figure 35 Error message NilBind service 515 in use In this sample screen shot SAPlpd exe wants to use TCP Port 515 as per default If another process or another instance of SAPIpd exe is running and using this port you get this error Please check out OSS note 0044009 to see how a TCP port can be changed We suggest installing SAPIpd as Windows system service only if the SAPGUI Client won t be used or SAPlpd won t be started manually 23 27 2 Possible Causes You have installed as service refer to OSS Note 0042268 and want to run a second instance manually You are using SAP in a UNIX environment and for printing you use 1pd to send jobs to a Windows print server The 1pd process on the Windows server li
82. ersion number gt Windows Vista and newer C ProgramData TEC IT TBarCode SAPwin lt version number versions 23 3 How I turn on Logging for Trouble Shooting There are three options for debugging TBarCode SAPwin The TBarCode log file BarCode log The SAPIpd log file 5 F LOG The SAPSprint log files gt Note Please ensure to disable the logging feature before continuing with normal operation 23 3 1 TBarCode SAPwin Log File barcode log You can enable the logging facility of TBarCode SAPwin in the Barcode ini file The following settings activate the logging use one of both Log all internal activities Log with adjustable log level LOG DEBUG Level 3 Level 1 File 1 If you are using SAPIpd restart SAPIpd to load the new settings 7 The installation directory depends on the SAP printing component SAPSprint SAPGUI or SAPIpd directory WWW TEC IT COM Page 67 of 90 TBarCode SAPwin creates the log file named BarCode log in the application data or program data directory like barcode ini see chapter 16 1 It contains product configuration license information SAP print controls bar code data and error messages BarCode log Notepad TOX Edit Format View Help 04 g 59 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk de de de edes i C R CC D B 60 H 40 D 1234567890123 1234 Pos xpos 1493 ypos 3931 Type R Data
83. es are missing 1 You need to work with device type or a copy of SWIN or a variant of SWIN WWW TEC IT COM Page 73 of 90 2 Check the barcode related print controls of your device type Make sure that the suffix 5 501 edit with SE73 printer barcodes is empty and is using variant 5 If 58501 is not empty delete its content 3 Make sure that in the style 5 TEST all character formats lt 0 gt lt gt are defined as barcodes 4 n some versions only 0 9 has been defined as barcode so not all formats of SAPSCRIPTTEST are printing as barcode 23 14 SAPIpd on Windows Terminal Server uses always the same printer If you have not set the system variable LP all users are printing through the default printer of the first user who initiated a print job on the terminal server Solution the system variable LP must have the following value D program files SAP FrontEnd SAPgui SAPlpd saplpd exe f amp F c amp C P amp P If not recognized make sure you have set the correct path to SAPIpd or you may need to restart the system in order to read in the new value of LP CMD Now SAP1pd will be started and terminated for each print job this is necessary for correct operation 23 15 How can create a silent setup for deployment in my company The setup for TBarCode SAPwin is based on MSI where we have a quiet option available Call the MSI package with the following command line parameter
84. for the device type Example SBP25 Barcode suffix The name of the suffix print control in the form SBS lt nn gt nn is an ID number You can select any identification number you want The print control name must be unique among the print controls that have been defined for the device type WWW TEC IT COM Page 19 of 90 Example SBS25 Usually only one suffix named 5 501 is defined for all prefixes in common This is possible because the suffix does not depend on the barcode symbology and it is equal for all prefixes only Baseline alignment Not used by actual SAP Releases Table 6 Printer Barcodes Field Values 8 1 1 Adding a new Printer Barcode If prefix and suffix does not exist within SAP the system opens a confirmation dialog Continue by pressing Enter to add the print controls s New entry Q Figure 11 Adding a new Print Control Prefix SE73 gt If print controls are added via the Font Maintenance SE73 the system always assigns them the standard setting Variant 1 Direct But in order to use them for bar coding purposes Variant 5 extended is required It is a must to change Variant 1 into Variant 5 extended This can be done only within SPAD refer to 23 4 4 Wrong Variant of Print Control After adding the prefix and the suffix modify them to meet your needs Refer to chapter 8 2 Modifying Print Controls Confirm your settings with
85. gnment of the bar codes 0 or 1 for standard print direction of barcodes preset in TBarCode SAPwin V10 1 for reversed print direction All barcode symbols are drawn from top to bottom instead of bottom to top preset in TBarCode SAPwin V6 V9 Shift Shifts the baseline of the symbol Use this parameter to fine tune the baseline position of the bar codes The bar code baseline is not always identical to the baseline of the text which is printed before the bar code This effect is due to differences in the way printer drivers calculate text or font positions 0 no shifting default 1 for PCL printers shift down the bar code half of actual text height 2 for Postscript printers shift down actual text height WWW TEC IT COM Page 51 of 90 22 correct base line in 2096 steps of actual font height see examples below Shift 3 shift down 60 of font height Shift 5 shift down 100 of font height Shift 5 shift up 100 of font height negative values allowed XOffset Shifts the bar code in X direction A positive value shifts the bar code to the right a negative value to the left The unit is mm decimal places must be separated by a point The parameter affects all bar codes in a document 0 no offset Default 10 5 shift 10 5 mms to the right Y Offset Shifts the bar code in Y direction A positive value shifts the bar code to the bottom a negative value to the top
86. ick the button All information Now you see the SAP spool error log with the Print request processing log SAPWIN indicates the SAPWIN data format SAP spool error log Print request processing log This print request was printed with extended log The data sent Character converter active when first problem occurred Data was saved with character set 1100 Data will be converted to character set 1134 synt 1134 25 0 0 1 031 11134 3315 40 1 1 82 10 5320 490 10 0 0 1 11701 3315 Text SAPSCRIPT BARCODETEST 17371 3315 4 11134 3795 WO FCourier 81 19 5240 40 1 test text uses style S TEST The technical ba m1134 4035 noted with the SAP bar code names are the settings used with Figure 30 SPAD Test tool Logging the first 100 KB Save the log to file SAP Menu gt System gt List Save Local File Format unconverted or Clipboard 23 4 No Bar Codes Are Printed 23 4 1 Wrong Host Spool Access Method Please make sure that you are using the correct host spool access method otherwise or SAPSprint SAPWIN dIl is not used in the correct mode Access method Description S Printing through SAP protocol or SAPSprint must be already running e g on a print server Barcodes are created by the Barcode dll TBarCode SAPwin F Front end printing The print data stream is sent directly to th
87. is used MCPU 1 use pre amble MCPD Date year of the pre amble MCPD 96 4D 43 50 44 3D year The pre amble includes a 2 digit year that can be defined with MCPD MCSC Structured Carrier Message Country code MCSC 001 4D 43 53 43 3D Country code Country code of SCM Structured Carrier Message The country code consists of three characters UPS uses SCM to encode address information SCM is possible in Mode 2 and 3 For the other modes the SCM data has no influence MCSP Structured Carrier Message Postal code MCSP A4400 4D 43 53 50 3D ZIP Postal code ZIP In SCM 2 this information must be numerical and up to 9 digits long for SCM 3 it can be alphanumeric and can hold up to 6 chars MCSS Structured Carrier Message Service class MCSS 003 4D 43 53 53 3D Service class Service class for SCM Consists of three characters MCUP UPS mode MCUP 0 MCUP 1 4D 43 55 50 3D 30 4D 43 55 50 3D 31 MCUP turns on the UPS mode The barcode data must contain data as specified by UPS preamble Structured Carrier Message etc Do not use MCUP on one side or MCPU MCPD MCSC MCSP and MCSS on the other side in the same Print Control Encoding of function characters Gs vdd Rs xle Eot x04 Table 19 MaxiCode Print Control Parameters 13 2 9 Parameters specific for PDF417 Com Explanation Values AS
88. is printed below the bar code A 2 41 3D 32 A 2 the human readable text is printed above the bar code FS Font Size FS 8 46 53 3D 38 Font size in points used for the human readable text FW Font Weight FW N 46 57 3D 4E Selects if the font is printed FW B 46 57 3D 42 normal or bold FN Font Name FN Courier New 46 4E 3D 43 6F 75 72 Font name which is used for 69 65 72 20 4E 65 77 human readable text FN Arial 46 4E 3D 41 72 69 61 6C T Text alignment of human T 0 543D30 0 Default readable text T 1 543D31 1 Left T 2 543D32 2 Right T 3 543D33 3 Center Table 16 Human Readable Text Print Control Parameters 13 2 6 Parameters specific for Aztec Code Com Explanation Values ASCII Hex Code Explanation mand AZE Error Correction AZE 1 41 5A 45 3D 2D 31 Error Correction Level ECL WWW TEC IT COM Page 40 of 90 AZE 50 41 5A 45 3D 35 30 1 Default 23 0 89 Error correction in percent of the symbol data AZFM Aztec Code Format AZFM 0 41 5A 46 4D 3D 30 Format Specification AZFM 1 41 5A 46 4D 3D 31 AZFMS 0 default Standard AZFM 2 41 5A 46 4D 3D 32 1 UCC EAN 2 Industry AZFI must be specified AZFI Aztec Code Format Indicator AZFl a 11 5A 46 49 3D value Code Format Indicator used for AZFM 2 Value can be 1 alphanumeric character or 2 numeric chars AZB Binary Compaction Mode AZB 0 41 5A 42 3D 30 Enforce the binary encoding AZB 1 41 5A 42 3D 31 mo
89. ithin the DMAS 3 44 4D 41 53 3D 33 specific chain Structured chain M Append DMAS 16 Table 18 Data Matrix Print Control Parameters 13 2 8 Parameters specific for MaxiCode Com Explanation Values ASCII Hex Code Explanation mand MCM Encoding mode MCM 2 4D 43 4D 3D 32 MCM 2 SOM Structured MCM 3 4D 43 4D 3D 33 Carrier Message using only MCM 4 4D 43 4D 3D 34 numeric postal codes MCM 5 4D 43 4D 3D 35 3 SCM with alphanumeric postal code 4 Standard 5 Extended error correction MCU Undercut in MCU 75 40 43 55 3D optimize readability for a percentage specific printer Scanner you can set the undercut of the MaxiCode hexagons in percent This changes the point size and the distance between the hexagons The standard value is 75 MCAI Structured Append Mode MCAI 1 4D 43 41 49 3D 31 Used for Structured Append index of the actual symbol MCAI 2 4D 43 41 49 3D 32 chaining of symbols Index of a specific symbol within the kan MCAI 8 en WWW TEC IT COM Page 42 of 90 MCAS Structured Append Mode Total number of symbols MCAS 2 MCAS 3 MCAS 8 4D 43 41 53 3D 32 4D 43 41 53 3D 33 Used for Structured Append chaining of symbols Count of symbols used in the chain MCPU Use pre amble MCPU 0 MCPU 1 4D 43 50 55 3D 30 4D 43 50 55 3D 31 For several industry standards the barcode data must start with a specific character sequence the pre amble MCPU 0 no pre amble
90. l 3 equals DEBUG Level 1 Because of high data volume you should use Level 2 and 3 only on demand File Enables file logging This option writes informational and error messages into a log file Barcode log 0 no log file Default 1 write log file depending on Level Table 35 Barcode ini Section LOG WWW TEC IT COM Page 55 of 90 The following example logs error messages in the log file BarCode log LOG Console 0 Level 1 File 1 16 5 1 LogFile Path Operating System Barcode log Directory Windows XP and earlier C Documents and Settings All Users Application Data TEC IT TBarCode Windows versions SAPwin lt version number gt Windows Vista and newer C ProgramData TEC IT TBarCode SAPwin lt version number gt Windows versions For more information see also 23 3 1 TBarCode SAPwin Log File barcode log 16 6 Section DEBUG gt ATTENTION Do not activate debugging for production use Parameter Name Description Level Debug level A file named barcode 1log will be written and all actions and parameters are logged into this file 0 no debugging Default 1 debugging enabled maximum log level will be used BCText Selects fixed print controls for debugging If this line is activated by removing the leading all barcode print controls sent by R 3 are substituted by this text You can test a special print control without having to change the settings of the SAP R
91. lection of the font width when printing human readable text Calculation of the Check digit for Code 93 Extended Print control 8 String 93E Barcode type MSI Print control 28 String MSI Calculation of the Check digit for barcode type MSI V2 01 The following features were added New supported barcodes PDF417 PDF417 Truncated Code128 Postnet MaxiCode Barcode type MSI Print control 28 string MSI but currently without check digits Calculation of the check digit for Code 93 Extended Print control 8 string 93E Currently not implemented but available in later versions Print controls for Data Matrix Print controls for SCM modes of MaxiCode V2 02 The following features were added New supported barcode Data Matrix The module width of bars and spaces is now adjustable in absolute units mms 1000 In previous versions the width was only adjustable in pixels therefore the barcode width depended on the printer resolution Also a default value for the module width can now be set in the barcode ini file setting DefModWidth Enhanced debugging features g sending a print control barcode ini setting BCText Errors in the barcode wrong print control wrong barcode data can be made visible on the printed document barcode ini setting OnError Better verification of syntax errors in print controls Symbol specific parameters for PDF417 MaxiCode and Data Matrix are supported now e g EC Level Str
92. mation via a Remote Function Call RFC The interface of OMSPRINT consists of two commands that you can call using the command line as described below The call takes place in your OMS Print data stream generation omsprint pf Input data p Printer of Print data More details see SAP Note 1545557 OMS interface for SAPSprint 15 1 Installation and Usage Starting with TBarCode SAPwin V10 the Barcode DLL can be utilized also with OMSPRINT The Barcode DLL must be installed in the same directory as OMSPrint exe The use is similar to SAPSprint The bar code print controls in the SAPWIN print data stream are evaluated and passed to the Barcode DLL which generates the bar code device independent Feedback to the OMS takes place via standard output stdout and standard error stderr The Barcode DLL enables the standard data streams automatically as soon as it is loaded by the OMSPrint exe process The logging behavior of the Barcode DLL is configurable in the Barcode ini file in section LOG Without any additional settings only error messages are logged to stderr no stdout output By examining stdout and stderr the OMS is able to react accordingly WWW TEC IT COM Page 50 of 90 16 BarCode ini Configuration File 16 1 Search Path The Barcode ini file is searched in the following order in the following locations The installation directory of the Barcode DLL the Application Data or
93. me Name of font which is used for human readable text line Courier New use font family Courier New Default parameter is commented out actual font of document is used FontSize Point size which is used for the human readable text 10 use font size 10 pt Default parameter is commented out actual font size of document is used FontWeight Selects if the human readable text is printed normal or bold bold print the font bold instead of normal Default commented out use actual font weight of document Table 34 Barcode Ini Section EAN UPC Example EAN UPC FontName Courier New FontSize 10 FontWeight bold We recommend the DefaultSet 1 settings Courier New 10 bold if you have enabled 16 5 Section LOG Parameter Name Description Console Selects the output stream used for console logging Relevant when using OMSPrint 0 no output to console default with SAPSprint SAPGUV SAPIpd 1 log everything to standard output stdout 2 log informational messages to standard output stdout and error messages to standard error stderr default with OMSPrint It is recommended to keep the default setting For logging into a file use File 1 Level Selects the log level granularity of log entries 0 no log default with SAPSprint SAPGUI SAPIpd 1 log errors default with OMSPrint 2 log errors and bar code information 3 log errors barcode information and debug information high data volume Leve
94. n without any restrictions I BarCodelni Editor Sa Datei Bearbeiten Format Ansicht ve ve ve e ve ve e ve ve e ve ve e ve ve e ve ve e ve ve e Ye ve e ve ve ve ve Ve ve ve ve ve ve ve ve ve e ve ve ve ve ve Ve ve ve Ve ve ve e ve ve e Ye ve e ve ve ve ve ve ve ve ve ve ve ve ve ve ve Ve Ye ve Ve Ye ve TBarCode sAPwin settings File BarCode Ini Ye ye ve ve e Ve Ve ve ve Ve ve e Ve Ve ve ve ve Ve ve Ve e Ve ve We ve ve Ve Ve e e Ve ve Ve ve ve Ve ve Ve Ve Ve ve ve ve ve ve Ve Ve Ve ve ve ve ve ve ve e Ve ve ve ve ve ve Ve Ve e ve ve ve ve ve ve ve Ye e ve ve ve ve ve Contact TEC IT Datenverarbeitung GmbH Wagnerstr 6 A 4400 Steyr WEB http www tec it com SUPPORT sap tec it com Note Inactive settings and comments are prefixed with 2 eee ve e ve ve e Se e ve e ve ve e ve e ve ve ve ve e ve e ve ve ve ve e ve eve ye e Ve ve Ve ve ve ve ve ve Ve ve ve e ve ve e ve ve e ve ve ve ve je e ve ve ve ve e ve H LICENSING LICENSE DATA License Product 2012 Licensee Your Name License Kind 2 Number Licenses i License Key Your Key License Product product code The product code use 2012 for 1D Barcodes 2013 for 1D 2D Barcodes Figure 37 Barcode ini The license data section in the BarCode ini File contains the following information refer to screen shot License Product The product code 2012 1D license for linear bar codes Code 2 of 5
95. ng ECIs EB ECI Begin opens a nesting level EE ECI End closes it Used in QR Code G GLI Global Language Identifier similar to ECI but only used in PDF417 Table 27 Escape Sequences 14 1 2 Symbology dependent control characters The following table lists control characters their escape sequences and the barcode symbology they may be used for The usage of these escape sequences is barcode dependent and differs from barcode symbology to barcode symbology Control character Escape sequence Valid for Barcode Types FNC1 210 or F Code 128 EAN128 UCC128 2D Codes FNC2 211 Code 128 EAN128 UCC128 FNC3 212 Code 128 EAN128 UCC128 FNC4 213 Code 128 EAN128 UCC128 DC1 x11 Code93 Code93Ext DC2 x12 Code93 Code93Ext DC3 x13 Code93 Code93Ext DC4 x14 Code93 Code93Ext WWW TEC IT COM Page 48 of 90 Rs 1 MaxiCode Mode 3 4 SCM Gs x1D MaxiCode Mode 3 4 SCM Eot x04 MaxiCode Mode 3 4 SCM Table 28 Barcode specific Control Sequences WWW TEC IT COM Page 49 of 90 15 OMS Integration with OMSPRINT Starting with SAPSprint version 7 20 patch 4 the new OMSPRINT will be delivered as part of the package The new interface OMSPRINT combines the advantages of SAPWIN such as device type independent printing via the Windows printer drivers and using any fonts with the advantages of an OMS such as print job monitoring and status confir
96. ns the control sequence for barcode generation barcode type size check digit The prefix can be adjusted to meet your bar coding needs see 8 2 Modifying Print Controls gt For each system barcode it is required to define a printer barcode This printer barcode encapsulates a print control prefix and suffix see font maintenance SE73 The prefix and the suffix are triggering barcode generation when printing the text on the output device gt When using the device type SWIN or a copy of it most of the barcode formats are already defined per default 11 1 2 Direct Use of Barcode Print Controls in SAPscript not recommended In SAPscript the barcode related print controls prefix and suffix are specified directly TEXT contains the barcode data 32 PRINT CONTROL SBP22 amp TEXT amp 2 PRINT CONTROL 8 801 c d cO To avoid unwanted space or CR LF characters when using a variable the amp is necessary gt Note that you need a text line or space character before the barcode print control prefix otherwise the SAPwin printer driver inserts a font command between the print control and the bar code data Sample SAP e cmm anas S Window MAIN Ge Insert Line Format Page Ar Ea o gt Using Device Type ZSWIN a customized copy of SWIN Barcode Data 12345 Barcode Printcont
97. ol Parameters Table 15 Barcode Position Orientation Print Control Parameters Table 16 Human Readable Text Print Control Parameters Table 17 Aztec Code Print Control Parameters Table 18 Data Matrix Print Control Parameters Table 19 MaxiCode Print Control Parameters Table 20 PDF417 Print Control Parameters WWW TEC IT COM 26 27 27 28 28 29 32 32 60 66 68 69 69 69 70 72 73 77 79 80 81 10 10 14 16 17 20 23 23 31 33 34 36 38 40 40 40 41 42 43 44 Page 5 of 90 Table 21 Table 22 Table 23 Table 24 Table 25 Table 26 Table 27 Table 28 Table 29 Table 30 Table 31 Table 32 Table 33 Table 34 Table 35 Table 36 Table 37 Table 38 Table 39 Table 40 Table 41 Table 42 Table 43 Table 44 Table 45 Table 46 Table 47 Table 48 Table 49 Table 50 Table 51 Table 52 Table 53 Table 54 Table 55 Table 56 MicroPDF417 Print Control Parameters QR Code Print Control Parameters Micro QR Code Print Control Parameters Codablock F Print Control Parameters RSS Expanded Stacked Print Control Parameters EAN UCC Composite Symbology Print Control Parameters Escape Sequences Barcode specific Control Sequences Barcode Ini Default Location Barcode Ini Section LICENSE DATA Barcode Ini Section SETTINGS part 1 Barcode Ini Section SETTINGS part 2 Barcode Ini Section SETTINGS part 3 Barcode Ini Section EAN UPC Barcode ini Section LOG Barcode Ini Section DEB
98. ormat or in Hexadecimal format In order to avoid character set encoding problems you should use Hexadecimal format Use the conversion table in chapter 17 or use any online ASCII to hex converter Sample print control prefix in Hexadecimal format containing the same data as above 62433D453132382C424337302C483D33302C443D Print controls start and end with an ASCII escape character hex 1B These escape characters are added by SAP automatically to the print control prefix and suffix don t encode them directly Make sure the print control is marked as Extended within transaction SPAD WWW TEC IT COM Page 33 of 90 13 1 3 Print Control Suffix The print control suffix is defined as follows release dependent SAP Release Content 4 6 and before Empty print control with Variant 5 Extended 4 7 and later Print control with Hex encoded value 18 and Variant 1 Direct Table 11 Syntax Print Control Suffix Recommended procedure add just one print control suffix for all barcodes Usually this suffix is named SBSO1 13 2 Print Control Parameters The following commands and parameters can be used by TBarCode SAPwin to control the barcode characteristics You can find the Hex code of each character in the Hex ASCII Table 13 2 1 Barcode Type Com Explanation Values ASCII
99. ou can use it in SAPscript or in style definitions System barcodes are storing definitions like barcode symbology size and alignment But these settings are used only for controlling cursor and tabulator positions during printing Output of the barcode symbol itself is NOT influenced by a system barcode here the printer barcode with the underlying print controls is of relevance During print time of a form or report the definition of a system barcode is not needed Instead of the system barcode the corresponding printer barcode is used 12 1 2 Printer Barcodes A printer barcode defines the device specific control sequence for generating a previously defined system barcode In other words For each system barcode a printer barcode must be defined per output device type Actual barcode output is controlled by print controls Each printer barcode consists of two such control sequences the print control prefix and the print control suffix gt Barcode printing will not work if printer barcode definitions are missing 12 1 3 Print Controls A print control represents the lowest definition level It contains device specific in our case TBarCode SAPwin specific control sequences which are triggering barcode output It is strongly recommended to enter print controls in hex codes instead of ASCII to ensure correct barcode printing Please refer to chapter 13 Barcode Print Control Reference 12 2 Add new Print Controls
100. pe SWIN Rel 4 x SAPlpd 4 094 ONLY This enables you to use all printers installed within the windows printer manager Copy device type on Figure 2 Copy Device Type WWW TEC IT COM Page 13 of 90 Parameter Description Copy device type For Windows environments you choose SWIN Rel 4x SAPlpd 4 09 ONLY With this selection you can use all printers which have an appropriate Windows printer driver installed We recommend the device type SWIN because it contains all SAP standard bar code definitions The device type SAPWIN contains only the barcode type 20f5 IL per se If you choose SAPWIN the missing bar code print controls must be added in an extra step To device type The name of the copied device type In SAP the custom namespace start with Y or Z so choose ZSWIN as for the name of the new customized device type No special characters or spaces Use references Do not select this option Trouble shooting will be hard if you select it Adapt includes source in It is recommended to also uncheck this option Table 3 Copy Device Type 4 Confirm your input with Execute F8 and the following dialog Generate device type with Yes 5 SAP R 3 opens the object directory in the create mode Package Person Responsible DEVELOPER Original System Original language 94 8 Local Object 2 Lock Overview a x Figure 3 Create Object Dire
101. r code width You can choose from three options the print control prefix edit with SE73 Printer Bar Codes device type ZSWIN you can adjust the parameter B WIDTH to set the total width of the symbol in mms Inthe print control you can also use the parameter M Module Width M 254 adjusts the module width to 0 254 mm This works only if you don t have specified the B parameter The module width also influences the total width of the symbol The width increases with the number of encoded data characters in the symbol You can decide to use bar code presets set DefaultSet 1 in the barcode ini file In this case don t specify the B and M parameter in the print control see page 44 50 The activated default set correspond to common used hardware extensions for bar code printing 23 25 The Font Courier isn t printing correctly with SAPIpd In the SAPlpd menu open Options Font Substitution and check if the correct Windows Font is assigned to the SAP Font COURIER NEW If the Windows Font COURIER is assigned to the SAP Font it can make problems Please choose in this case the button Default deletes the Windows Font name and try a test print again 23 26 How can use Application Identifiers FNC1 Application Identifiers are used in the barcode symbols GS1 128 former called EAN 128 and UCC 128 An Application Identifier Al is placed in front of the value of a data field and informs about the pu
102. r separation of Al s with variable length used with EAN128 only Table 13 Barcode Data Encoding Print Control Parameters 13 2 3 Barcode Size Com Explanation Values ASCII Hex Code Explanation mand B Width of barcode symbol B 52 42 3D 35 32 B 0 width of the bar code in mms mms 0 Hex 30 B 0 if not specified or zero E the width of the symbol is Pepe based on the module width 2 Hex 32 The module width can be 3 Hex 33 adjusted through parameter M 4 Hex 34 or through the bar space 5 Hex 35 widths L1 L4 51 54 6 Hex 36 Use a point as decimal mark 7 Hex 37 8 Hex 38 9 Hex 39 G Width of the guard bar G 1000 47 3D width Width of the guard bar 0 001 in 1 1000 mm mms G 0 if not defined or this value is zero no guard bar is drawn H Height of the barcode symbol H 25 48 3D height Height of the bar code in mms mms Decimal places are supported Hex code of digits e g H 3 5 use a point as refer to Control decimal mark A negative value H 20 draws the bar code downward L1 Width of a space gap for L1 6 4C 31 3D module you want to specify the single modules in the symbol 1 300 width Pixel module width please use the the smallest element in the M parameter symbol 4C 31 3D 2D width in If the value for L1 is less than ratio pixel or mm 0 001 mms 0 the width is given in mms 0 001 mms 30
103. racters which cannot be encoded by the selected barcode symbology the corresponding error code together with additional input data will be written the log files Make sure your SAPscript ABAP does not encode hidden spaces or new line characters Refer to 23 3 How can turn on Logging for Trouble Shooting 23 11 Unwanted characters are printed after or beside the barcode Characters like 110 or bC PSN9 are printed beside the barcode This occurs if the print control suffix 58501 is wrong defined Its definition must look like this I Rel 4 x SAPIpd 4 89 ONLY Unconverted Extended Converted Dirctly Hex I I I Action I Control character sequence O O0 O bC 39 0 L1 200 L2 600 81 200 82 600 D SBP44 O O bC PDF417 D 58501 Figure 32 Correct Print Control Definition of 8501 Proceed this way Transaction SPAD Spool Administration Initial Screen Tab Device Types Button Device Types Select your device type g ZSWIN Button Print Controls Button Change F8 gt Page Down until print control suffix SBSO1 is listed SAP 4 6 and earlier change the setting of 58501 to converted and make sure the Control character sequence is empty SAP 4 7 change the setting of SBS01 to Direct and turn on the Hex encoding As for the Control character sequence enter 1B WWW TEC IT COM Page 72 of 90 Save your settings Optional You can
104. rademark of Sun Microsystems Inc 901 San Antonio Road Palo Alto CA 94303 USA JAVASCRIPT is a registered trademark of Sun Microsystems Inc used under license for technology invented and implemented by Netscape Microsoft Windows Microsoft Word amp Microsoft Excel amp are registered trademarks of Microsoft Corporation Navision is a registered trademark of Microsoft Business Solutions ApS in the United States and or other countries Oracle is a registered trademark of Oracle Corporation PCL is a registered trademark of the Hewlett Packard Company PostScript is a registered trademark of Adobe Systems Inc SAP SAP Logo R 2 R 3 ABAP and SAPscript are trademarks or registered trademarks of SAP AG in Germany and in several other countries BarSIMM BarDIMM and JetCAPS are registered trademarks of Jetmobile S A S France All other products mentioned are trademarks or registered trademarks of their respective companies If any trademark on our web site or in this document is not marked as trademark or registered trademark we ask you to send us a short message mailto office tec it com WWW TEC IT COM Page 90 of 90
105. rameter EAN UCC Composite Symbology Parameter Encoding Special Characters Implemented Escape Sequences Symbology dependent control characters OMS Integration with OMSPRINT Installation and Usage BarCode ini Configuration File Search Path Section LICENSE DATA Section SETTINGS Default Font Character Encoding Code Pages Section EAN UPC Section LOG Log File Path Section DEBUG Hex ASCII Conversion Table Predefined System Barcodes Printer Barcodes Data Flow when using SWIN Device Type DefaultSet Values 2D Symbol Sizes Aztec Code Symbol Sizes Data Matrix Symbol Sizes QR Code Symbol Sizes Versions Micro QR Code Symbol Sizes Versions MicroPDF Symbol Sizes Versions Troubleshooting amp FAQ TEC IT COM FAQ Area How can verify if TBarCode SAPwin was installed correctly SAPSprint SAPgui SAPIpd Check List 3 1 SAPIpd User 3 2 SAPSprint SAPgui and SAPIpd User How can turn on Logging for Trouble Shooting TBarCode SAPwin Log File barcode log SAPIpd Log File SAPSprint Log Files Test Tool SAP spool error log No Bar Codes Are Printed Wrong Host Spool Access Method Incompatible Printer Driver Wrong Device Type not based on SWIN Wrong Variant of Print Control Prefix Missing Visual Studio Runtime DLLs on the Target System SAPIpd log shows Unknown ESCAPE Code 0x1B 0x36 added a new print control but SAP could not find it can t define a print control with variant 5 SE73 shows only variant
106. rcode formats In SAPWIN per default all print controls are initialized to the bar code type 2 of 5 IL Solution Please refer to chapter 6 Create a Device Type Copy and make sure to choose SWIN as base device type In some older SAP releases missing or wrong initialized print controls may occur even in SWIN in this case refer to chapter 12 Introduction to Print Controls and define the print control as you need it 23 8 2 LOCL Printer If the host printer Loc1 is set up in the output device Spool Administration Transaction SPAD the predefined device type SAPWIN is always used for printout regardless what else is adjusted WWW TEC IT COM Page 71 of 90 Solution In Spool Administration SPAD you need to specify the exact printer name as for the host printer or adjust Default For local printing use access method and check your printer barcode settings with SE73 23 9 Wrong barcode data wrong output If you encounter problems with unreadable barcodes please ensure that your reading devices scanners are configured correctly If everything is OK with your reading devices please ensure that the correct data is encoded in your barcode gt Make sure that your SAPscript APAB does not add additional line feeds carriage returns or spaces to the barcode data 23 10 Barcode error messages while printing If there is an error while creating a barcode usually due to invalid data cha
107. re 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Sample SAPscript SmartForms Barcode Printing Editor 1 SmartForms Barcode Printing Editor 2 SmartForms Style Style Definition new Character Format Style Definition Bar Code Character Format Confirmation Dialog Prompt for Workbench request Barcode Studio Data Flow SAPIpd SAPIpd Start Screen Log file BarCode log SPAD Test tool Logging the first 100 KB SPAD Test tool Logging the first 100 KB SPAD Test tool Logging the first 100 KB Print Control Settings Correct Print Control Definition of SBS01 Correct Print Control Definition of SBS01 Font Maintenance Barcode Printing Direction adjusted in Barcode ini Error message NilBind service 515 in use System ID Barcode ini 1 2 Index of Tables Table 1 Basic Workflow for Printing Barcodes Table 2 System Requirements Table 3 Copy Device Type Table 4 Output Device Field Values Table 5 Output Device Host Spool Access Method Table 6 Printer Barcodes Field Values Table 7 Product Variants Table 8 License Variants Table 9 System Barcode Field Values Table 10 Syntax of Print Control Prefix Suffix Table 11 Syntax Print Control Suffix Table 12 Barcode Type Print Control Parameters Table 13 Barcode Data Encoding Print Control Parameters Table 14 Barcode Size Print Contr
108. rect Use of Barcode Print Controls in SAPscript not recommended SmartForms Using Styles for Bar coding Style definition ABAP Sample ABAP Program Introduction to Print Controls Usage System Barcodes Printer Barcodes Print Controls Add new Print Controls New System Barcode New Printer Barcode Modify existing Print Controls Print Controls with Barcode Studio V6 Barcode Print Control Reference Syntax and Structure of Print Controls WWW TEC IT COM o o 00 N of DD Page 2 of 90 18 1 1 18 1 2 18 1 3 13 2 13 2 1 13 2 2 13 2 3 18 2 4 13 2 5 13 2 6 13 2 7 13 2 8 13 2 9 13 2 10 13 2 11 13 2 12 13 2 13 13 2 14 13 2 15 14 14 1 1 14 1 2 15 15 1 16 16 1 16 2 16 3 16 3 1 16 3 2 16 4 16 5 16 5 1 16 6 17 18 19 20 21 22 22 1 22 2 22 3 22 4 22 5 23 23 1 23 2 23 2 1 23 2 2 23 2 3 23 2 23 2 23 3 23 3 1 23 3 2 23 3 3 23 3 4 23 4 23 4 1 23 4 2 23 4 3 23 4 4 23 4 5 23 5 23 6 23 7 Naming Convention Print Control Prefix Print Control Suffix Print Control Parameters Barcode Type Barcode Data Encoding Barcode Size Position Orientation Human Readable Text Parameters specific for Aztec Code Parameters specific for Data Matrix Parameters specific for MaxiCode Parameters specific for PDF417 Parameters specific for MicroPDF417 Parameters specific for QR Code Parameters specific for Micro QR Code Parameters for Codablock F GS1 DataBar Expanded Stacked specific Pa
109. riate system bar codes The prefix is maintained in transaction SE73 Printer Barcodes System Barcode Print Control Prefix Default Print Control Prefix Fixed Module Width ARTNR bC 128B B 48 H 12 D bC 128B M 254 H 12 D AUFNR bC 128B B 48 H 12 D bC 128B M 254 H 12 D BARCLVS bC 39 B 50 H 20 P 0 D bC 39 M 254 H 20 P 0 D BC_C128B bC 128B B 90 H 13 A 0 D bC 128B M 254 H 13 A 0 D BC_CD39 bC 39 B 50 H 13 A 0 D bC 39 M 254 H 13 A 0 D BC_CD39C bC 39 B 90 H 13 P 1 A 0 D bC 39 M 254 H 13 P 1 A 0 D EAN8 bC E8 B 30 H 13 A 0 D bC E8 M 339 H 13 A 0 D BC_EAN13 bC E13 B 50 H 13 A 0 D bC E13 M 423 H 13 A 0 D BC_EANH bC E128 B 90 H 13 A 0 D bC E128 M 254 H 13 A 0 D 125 bC 25L B 50 H 13 P 0 A 0 D bC 25L M 254 H 13 P 0 A 0 D 125 bC 25L B 50 H 13 P 1 A 0 D bC 25L M 254 H 13 P 1 A 0 D BC_MSI bC MSI B 90 H 13 P 0 A 0 D bC MSI M 254 H 13 P 0 A 0 D BC_MSIC bC MSI B 90 H 13 P 1 A 0 D bC MSI M 254 H 13 P 1 A 0 D BC_MSIC1 BC_MSIC2 BC_PSN5 bC PSN5 B 40 H 3 A 0 D bC PSN5 M 423 H 3 A 0 D 5 9 bC PSN9 B 65 H 3 A 0 D bC PSN9 M 423 H 3 A 0 D C128A_00 bC 128A H 5 A 0 M 212 D C128A_01 bC 128A H 5 A 0 M 212 R 90 D C128B_00 bC 128B H 5 A 0 M 212 D C128B 01 bC 128B H 5 A 0 M 212 R 90 D CD39C_00 bC 39 P 1 H 5 A 0 M 212 D CD39C_01 bC 39 P 1 H 5 A 0 M 212 R 90 D CD39_00 bC 39 P 0 H 5 A 0
110. rol f r System Bagsode BC CD39 Code 39 PROTECT Text before needed PRINT CONTROL SBP11 12345 PRINT CONTROL 58501 ENDPROTECT Figure 16 Sample SAPscript WWW TEC IT COM Page 26 of 90 11 2 SmartForms 11 2 1 Using Styles for Bar coding When using SmartForms Barcodes are defined using a so called STYLE Inthe output options of the form you select the STYLE applied to the whole form n the STYLE a system barcode is specified for character format B1 Inthe form you select the character format B1 The text data inside the character format B1 will be printed as barcode in text gt You need to have keywords PROTECT and ENDPROTECT beginning with mode placed around the barcode character format Sample the data to be encoded as barcode is 0123456789 i115 6 annon Change Smart Form texts HELLO aivin test text Language EN GR insert Lime Somat Page PN 2 E i 3 lt 1 gt 0123456789 lt gt ENDPROTECT Figure 17 SmartForms Barcode Printing Editor 1 Open the text editor with this button General attributes Outputoptions Conditions Textelement 8 New paragraph New line Append directly BO Barcode RUECKNR Figure 18 SmartForms Barcode Printing Editor 2 11 2 2 Style definition Choose a style which is used for your Smart
111. rpose of the data An Application Identifier Al is a standard cipher combination which consists of 2 4 digits The Al clearly defines a data field s content and format field with fixed or variable length numeral or alphanumeric Several data fields each with preceding Al could be encoded in a barcode symbol WWW TEC IT COM Page 77 of 90 gt The brackets which enclose the Als don t have to be encoded in the input data of the bar code The brackets will be created automatically in the human readable text line if an Al was recognized Data fields with variable length have to be limited with a field separator For separating those data fields in GS1 128 a special symbology character is used FNC1 For encoding the FNC1 into the input data a placeholder is needed This placeholder character can be adjusted in the print control prefix For Example If the exclamation mark should be used as placeholder for FNC1 the control sequence ESI must be added to the print control prefix 23 26 1 Sample GS1 EAN 128 prefix Parameter Value Variant 5 Hex switch On Print control HEX 624330453132382 2530212 4130312 423037362 483032352 4430 Print control ASCII 128 1 76 25 Table 48 GS1 EAN 128 Sample part 1 GS1 128 was designed to encode multiple data fields together If you don t use the maximum number of characters in a variable length data field you have to en
112. s msiexec i TBarCode SAPwin msi ADDLOCAL FeatBin qn This will install the Barcode DLL for SAPSprint SAPGUI into the SAPSprint directory which needs to be present on the target system You can suppress the feedback page during uninstall with the NO UI property set to 0 msiexec x TBarCode SAPwin msi qb NO 01 0 More information about the silent setup options can be found in our TBarCode SAPwin Online FAQ 23 16 Why is a horizontal bar drawn across the barcodes This can occur if printer driver has a problem see 23 4 2 You are currently working with the unlicensed demo version of TBarCode for SAPIpd Version 5 Please refer to section 10 Obtain a License or contact us for a license file 23 17 Testing tray selection and print mode selection SAP provides predefined SAPscript documents which can be used to test whether tray selection and print mode selection are working properly on your printers For tray selection print the SAPscript document SAPSCRIPT TRAYTEST ID ST Language E WWW TEC IT COM Page 74 of 90 For print mode selection print the SAPscript document SAPSCRIPT PRINTMODETEST ID ST Language D or E 23 18 The wrong paper tray is used 23 18 1 Problem Tray Control works fine if there are no barcodes in the document But if a barcode exists in the form the default paper tray will be chosen automatically also when another paper tray is selected explicitly
113. s Byte Stream High Low Byte gt Unicode HI Byte before LO BYTE ANSI no conversion done 4 Treat data as sequence of Hexadecimal codes e g 313233 123 Can be used for binary data Functionality equals DH parameter Normalize Bar Code Data rec gt Dr 2 4E 3D 4E 4E 3D 4C 4E 3D 52 4E 3D 41 N N No normalization no white space stripping L Strip white spaces on the left side of the data R Strip white spaces on the right side of the data A Strip white spaces on both sides of the data Calculation of the check digit s Il 1 EF UN 50 3D 2D 31 50 30 30 50 30 31 1 1 standard check digit that is specified for each barcode type is calculated and printed P 0 no check digit calculation WWW TEC IT COM Page 37 of 90 P 4 data is printed as is 2 for MSI not supported 3 for MSI not supported 4 for MSI not supported Variable for concatenating multiple data blocks into one barcode VA30 part1of3 VA31 part20f3 VA32 part3of3 56 41 33 30 3D data 56 41 33 31 3D data 56 41 33 32 3D data As an alternative to the D parameter you can split up 2D bar code data into multiple chunks and pass them through variables to the Barcode DLL See our extra document 2D Barcode Data Splitting paf Place holder for FNC1 25 3D 21 The I is used as placeholder of FNC1 used fo
114. s limit has no influence on 2D bar codes Barcode width Width of the barcode This value is only relevant for cursor and tab placement but not for the printed size of the barcode The effective size of the barcode is adjusted in the Printer barcode by print control parameters Unit of measurement Unit for width of barcode Barcode height Height of the barcode This value is only relevant for cursor and tab placement but not for the printed size of the barcode The effective size of the barcode is adjusted in the Printer barcode by print control parameters Unit of measurement Unit of height of barcode keep CM Rotation at output Barcode rotation the effective rotation is adjusted in the Printer barcodes Table 9 System Barcode Field Values Confirm the upcoming dialog with OK WWW TEC IT COM Page 31 of 90 v toadd fuer Office Integration lt ED OwnReguests X Figure 23 Confirmation Dialog Prompt for Workbench request gt Please do not forget to define a corresponding printer barcode for a system barcode 12 2 2 New Printer Barcode Please see chapter 8 1 Adding new Printer Barcodes 12 3 Modify existing Print Controls Print control maintenance is described in chapter 8 2 Modifying Print Controls The print control parameters are available in chapter 13 Barcode Print Control Reference 12 4 Print Controls with Barcode Studio V6 You can u
115. se TEC IT s software tool Barcode Studio currently V6 only to generate the print controls required for SAP Download it from http www tec it com download Set the barcode parameters as required graphically and then open the print control window Menu View to see the corresponding SAP parameters available as hex codes and as ASCII string Untitled Barcode Studio File Edit View Barcode Sequence Help Osh aS Tolerance 3 Fair Quality iz Barcode Type Code128 c 2 Barcode Date 123456 it Millimeter Pi ScreenRes x Width 7620 Height 30 62 Module width 1 121 123456 HH Optimize Resolution SAP R 3 Print Control Parameters Note This is for applications only Please invoke transaction SE73 SAP and enter the control code below Keep in mind that the variant MUST BE setto 5 end paste the ascii OR the hex value If you use the HEX value please check the HEX switch in SAP Settings Ascii bC 128 P 1 A 1 B 76 H 30 D Copy to Clipboard 16243303132382 5030312 4130312 423037362 483033302 4430 Create Sequence For additional barcode settings check digit text alignment quiet zone click the Settings button Figure 24 Barcode Studio WWW TEC IT COM Page 32 of 90 13 Barcode Print Control Reference Usually a print control is used for controlling device specific actions In the cas
116. ses Is it possible to use the same output device in SAP for all users Local and Central printing 23 28 1 1 Local printing 23 28 1 2 Central printing 23 28 2 23 29 23 30 24 24 1 24 2 24 3 24 4 24 5 24 6 25 26 List printing How to retrieve the System ID How to license the product in barcode ini Supported Barcodes Linear Bar Codes 1D Postal Codes 1D Two Dimensional Codes 2D Barcodes HIBC Barcodes GS1 Composite Varianten 2D Codes Related Symbologies Version Information Contact and Support Information 1 4 Index of Figures Figure 1 Invoke Device Type Figure 2 Copy Device Type Figure 3 Create Object Directory Entry Figure 4 Spool Administration Initial Screen Figure 5 Spool Administration Change Output Device Figure 6 Spool Administration Change Output Device Access Method Figure 7 SAPscript Font Maintenance Initial Screen Figure 8 SAPscript Font Maintenance Device Types Figure 9 SAPscript Font Maintenance Change Printer Barcodes Figure 10 Assign Print Control Prefix Suffix Figure 12 Print Control Maintenance Figure 13 Print Control Maintenance Detail Figure 14 SAPscript and Barcode printing Figure 15 Character Format Definition a SAPscript form WWW TEC IT COM 13 13 14 15 16 16 18 18 19 19 21 21 25 25 Page 4 of 90 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 23 Figu
117. st Barcode DAFT Code DAFT is an artificial generic code DPD Code German Parcel Service Label Code DP Identcode Deutsche Post Identcode DP Leitcode Deutsche Post Leitcode Italian Postal 2045 Italian Postal Code based 2015 IL Italian Postal 3of9 Italian Postal Code based on Code 39 Japan Post Japan Postal 4 State Bar Code KIX Dutch Postal Barcode Korean Postal Authority Korean Postal Barcode RoyalMail 4State RM4SCC Royal Mail 4 State Barcode RM4SCC USPS OneCode 4 CB see USPS Intelligent Mail amp Barcode USPS Intelligent Mail amp Barcode USPS Intelligent Mail Barcode alias USPS OneCode alias USPS 4 State Customer Barcode USPS PostNet5 USPS PostNet ZIP 5 digits with check digit computation USPS PostNet9 USPS PostNet ZIP 4 9 digits with check digit computation USPS PostNet11 USPS PostNet ZIP 4 2 11 digits with check digit computation WWW TEC IT COM Page 84 of 90 Table 52 Supported Postal Barcodes 1D 24 3 Two Dimensional Codes 2D Barcodes Barcode Description Aztec Code Aztec Code available in TBarCode SAPwin Version 8 Codablock F CodablockF Stacked Code128 used by HIBC Data Matrix Data Matrix ECC200 standard with error correction DP Postmatrix Deutsche Post Werbeantwort Postmatrix GS1 Data Matrix Data Matrix with GS1 format ECC200 FNC1 Auto Compaction
118. stens on the same port as SAPIpd exe f your Windows server has the Unix printing services installed it can be that the LPR Port 515 is already used by this service Either you de install the Unix printing services if you don t need them or you use another port for SAPsprint SAPIpd gt If the problem occurs with SAPSprint you can adjust the TCP port during setup of SAPSprint or in the Options utility 23 28 Is it possible to use the same output device in SAP for all users 23 28 1 Local and Central printing Different users are printing bar codes from different locations Is it possible to work with the same output device in SAP for all users or have to define different output devices You have to define only one output device for the local printing on the client or over a central print server 23 28 1 1 Local printing You have to install TBarCode SAPwin on each client which wants to print barcodes For SAPsprint you can set the port during installation For SAPlpd use command line parameter r see OSS 0041913 WWW TEC IT COM Page 79 of 90 Use device type ZSWIN or the name of your SWIN copy Spool Administration For SAPFprint SAPGUI use access method Gui for SAPlpd exe use access method F Front end Usually the default printer is in use on the client but you can also adjust every arbitrary printer which is available on the client Defining an Output Device for Front
119. stry DMF 5 DMF 6 3 Macro 05 E 4 Macro 06 5 Reader programming WWW TEC IT COM Page 41 of 90 6 German Post Postmatrix DMB Binary Compaction Mode DMB 0 44 4D 42 3D 30 Enforce the binary encoding DMB 1 44 4D 42 3D 31 mode for Data Matrix 0 Analyze input data and use arbitrary encoding mode 1 Encode all data in Base 256 mode No code page conversion equals EM 1 DMR Representation mode DMR 0 44 4D 52 3D 30 Data Matrix Code is drawn rectangle DMR 1 44 4D 52 3D 31 square or rectangular DMR 0 Square DMR 1 Rectangular If the symbol size DMS is lt gt 0 DMR is ignored DMS Symbol Size DMS 0 44 4D 53 3D 30 Size of the symbol in rows DMS 1 44 4D 53 3D 31 columns 0 default Size is calculated DMS 30 44 4D 53 3D 33 30 automatically 1 10 x 10 2 12x 12 30 16 x 48 refer to table below DMAF Structured Append Mode File DMAF 123456 44 4D 41 46 3D File ID In Structured Append Mode ID multiple barcode symbols can be chained make sure that your barcode reader supports this mode The file ID must be identical in all symbols within the same chain DMAI Structured Append Mode DMAI 1 44 4D 41 49 3D 31 Index of a symbol in a chain index of the actual symbol DMAI 2 44 4D 41 49 3D 32 using Structured Append DMAI 16 DMAS Structured Append Modus DMAS 2 44 4D 41 53 3D 32 Number of all symbols of a count of all symbols w
120. tal C KIX 43 3D 4B 49 58 KIX C KPA 43 3D 4B 50 41 Korean Postal Authority C MPDF 43 3D 4D 50 44 46 MicroPDF417 C MQR 43 3D 4D 51 52 Micro QR Code 2 C MSI 43 3D 4D 53 49 MSI C MXC 43 3D 4D 58 43 MaxiCode C NVE 43 3D 4E 56 45 NVE 18 C P12 43 3D 50 31 32 Planet 12 C P14 43 3D 50 31 34 Planet 14 C PDF 43 3D 50 44 46 PDF417 C PDT 43 3D 50 44 54 PDF417 Truncated C PH1 43 3D 50 48 31 Pharmacode 1 Track C PH2 43 3D 50 48 32 Pharmacode 2 Track needs 2D license WWW TEC IT COM Page 35 of 90 C PLS 43 3D 50 4C 53 Plessey C PLB 43 3D 50 4C 42 Plessey Bidirectional C PSN5 43 3D 50 53 4E 35 USPS Postnet 5 digits C PSN9 43 3D 50 53 4E 39 USPS Postnet 9 digits C PSN11 43 3D 50 53 4E 31 31 USPS Postnet 11 digits C PZN 43 3D 50 5A 4E Pharmazentralnummer PZN7 C PZN7 43 3D 50 5A 4E 37 Pharmazentralnummer PZN7 C PZN8 43 3D 50 5A 4E 38 Pharmazentralnummer PZN8 C QR2 43 3D 51 52 32 QR Code 2005 C QRC 43 3D 51 52 43 QR Code C R14 43 3D 52 31 34 GS1 DataBar RSS 14 C R 43 3D 52 C RL 43 3D 52 4C GS1 DataBar Limited C RT 43 3D 52 54 951 DataBar Truncated C RS 43 3D 52 53 GS1 DataBar Stacked C RO 43 3D 52 4F GS1 DataBar Stacked 2 C RE 43 3D 52 45 GS1 DataBar Expanded C RX 43 3D 52 58 GS1 DataBar Expanded Stacked C RM 43 3D 52 4D Royal Mail 4 State C SSCC18 43 3D 53 53 4
121. the mask explicitly QRV QR Code Version QRV 0 51 52 56 3D 30 Size see 22 3 QRV 1 51 52 56 3D 31 0 default Automatic selection San 1 Smallest symbol QRV 40 51 52 56 3D 34 30 T 40 Largest symbol QRC Multi Byte Compaction QRC 1 51 52 43 3D 2D 31 1 default Compaction is QRC 0 51 52 43 3D 30 based on code page QRC 1 51 52 43 3D 31 0 No Compaction QRC 2 51 52 43 3D 32 1 Kanji Compaction 2 Chinese Compaction QRAI Structured Append Mode QRAI 1 51 52 41 49 3D 31 Index of the current symbol Index of current symbol QRAI 2 51 52 41 49 3D 32 when using Structured Append QRAI 16 QRAP Structured Append Mode QRAF 123 51 52 41 50 3D Parity Parity Byte for Structured Parity Byte Byte Append Mode must be identical for all symbols in a chain QRAS Structured Append Mode QRAS 2 51 52 41 53 3D 32 Number of symbols chained Total number of symbols QRAS 3 51 52 41 53 3D 33 together with Structured M Append QRAS 16 Table 22 QR Code Print Control Parameters Page 45 of 90 WWW TEC IT COM 13 2 12 Parameters specific for Micro QR Code Com Explanation Values ASCII Hex Code Explanation mand QRE Error Correction QRE 0 51 52 45 3D 30 Error Correction Level ECL QRE 1 51 52 45 3D 31 0 L Low ECL QRE 2 51 52 45 3D 32 1 M Standard QRE 3 51 52 45 3D 33 2 Q 3 H Highest ECL MQM Micro QR Code Mask MQM 1 4D 51 4D 3D 2D 31 Graphic Mask Pattern MQM 0 4D 51 4D 3D 30 1 default Stan
122. uctured Append etc Bug Fix A printing problem occurred always if the barcode data contained a comma e g 123 45A V4 0 The following features were added New supported barcode QR Code Row Column Ratio for PDF417 adjustable used by some industry label specifications V4 1 1 15 The following features were added New supported barcodes German Postal Codes Australian Custom Codes Support for specific bar code default values which are also used by customary hardware extensions barcode ini parameter DefBarSIMMType Bug Fix Data Matrix encoding error if uneven number of digits encoded V4 1 1 17 Bug Fix Check digit calculation e g Modulo10 for 2of5IL couldn t be activated via print control P V4 1 1 18 The following features were added Print control A 2 for printing human readable text above the symbol Bug Fixes Wrong Code 39 check digit Exception when using FNC1 print control V4 1 1 19 Bug Fix If the barcode ini file can t be found in the application path of SAPIpd exe but in Win NT directory or not available the default module width was zero instead of 0 5 mm V4 1 0 20 The following features were added Adjusting of Default Guard Bar Width barcode ini can help with problems with specific printer drivers which don t print without horizontal line WWW TEC IT COM Page 87 of 90 V5 0 0 21 The following features were added Symbologies
Download Pdf Manuals
Related Search
TBarCode/SAPwin tbarcode/sapwin
Related Contents
WCS-6006 english user manual T7100 Telephone User Card Sartorius PMA.World SR1 BASIC VDW.GOLD® - VDW GmbH Harbor Freight Tools Serpentine Belt Tool Kit Product manual オイルバケットポンプ取扱説明書 [ 900057 Copyright © All rights reserved.
Failed to retrieve file