PCL Barcode Manual-4.1.4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 59

PCL Barcode Server PCL Barcode Server PLUS

Version 4.1.4

e-bizco.com GmbH Includes Information for usage with the SAP R/3 System
Version March 2, 2009

SAP, ABAP and SAPscript are registered trademarks of the SAP AG, Walldorf, Germany Windows is a registered trademark of Microsoft Corporation, Redmond, Washington, USA Laserjet and PCL are registered trademarks of Hewlett-Packard Corporation USA Other product or company names mentioned may be trademarks of their respective owners.

Table of Contents
1 2 2.1 2.2 3 4 4.1 4.1.1 4.1.2 Smart Barcoding.........................................................................................................3 Installation Quick Guide ............................................................................................4 Windows Quick Guide with SAP ...................................................................................4 Linux Quick Guide with SAP.........................................................................................4 Barcode Overview ......................................................................................................5 Installation ..................................................................................................................6 Windows version ..........................................................................................................6 System Requirements ..................................................................................................6 PCL Barcode Server.....................................................................................................6

4.1.2.1 Licensed Version ..........................................................................................................6 4.1.2.2 Demo Version...............................................................................................................6 4.1.2.3 Upgrade from demo to a licensed Version ....................................................................7 4.1.2.4 Upgrade from "1D Classic" to "2D Plus"........................................................................7 4.1.2.5 Installing a newer version of PCL Barcode Server covered by your license ..................8 4.1.3 Running the PCL Barcode Server.................................................................................8

4.1.3.1 Running as service .......................................................................................................8 4.1.3.2 Running as user program..............................................................................................8 4.1.3.3 Logfile ..........................................................................................................................8 4.2 4.2.1 4.2.2 Installation ( Linux version )..........................................................................................9 System Requirements ..................................................................................................9 PCL Barcode Server.....................................................................................................9

4.2.2.1 Licensed Version ..........................................................................................................9 4.2.2.2 Demo Version...............................................................................................................9 4.2.2.3 Installing a license ........................................................................................................9 4.2.2.4 Installing a newer version of PCL Barcode Server covered by your license ..................9 4.2.2.5 Linux Print Command.................................................................................................10 4.2.3 Running the PCL Barcode Server (Linux) ................................................................... 10

4.2.3.1 Running as service .....................................................................................................10 4.2.3.2 Starting from inetd......................................................................................................10 4.2.3.3 Running as user program............................................................................................10 4.2.3.4 Logfile ........................................................................................................................11 4.3 4.3.1 4.3.2 Installation ( AIX version )........................................................................................... 12 System Requirements ................................................................................................ 12 PCL Barcode Server................................................................................................... 12

4.3.2.1 Licensed Version ........................................................................................................12 4.3.2.2 Demo Version.............................................................................................................12 4.3.2.3 Installing a license ......................................................................................................12 4.3.2.4 Installing a newer version of PCL Barcode Server covered by your license ................13 4.3.2.5 AIX Print Command....................................................................................................13

4.3.3

Running the PCL Barcode Server (AIX) ...................................................................... 13

4.3.3.1 Running as service .....................................................................................................13 4.3.3.2 Starting from inetd......................................................................................................13 4.3.3.3 Running as user program............................................................................................14 4.3.3.4 Logfile ........................................................................................................................14 4.4 4.4.1 4.4.2 Installation ( SunOS / Solaris version, HPUX )............................................................ 15 System Requirements ................................................................................................ 15 PCL Barcode Server................................................................................................... 15

4.4.2.1 Licensed Version ........................................................................................................15 4.4.2.2 Demo Version.............................................................................................................15 4.4.2.3 Installing a license ......................................................................................................15 4.4.2.4 Installing a newer version of PCL Barcode Server covered by your license ................16 4.4.2.5 Solaris /HPUX Print Command ...................................................................................16 4.4.3 Running the PCL Barcode Server ( SunOS /Solaris, HPUX ) ...................................... 16

4.4.3.1 Running as service .....................................................................................................16 4.4.3.2 Starting from inetd......................................................................................................16 4.4.3.3 Running as user program............................................................................................17 4.4.3.4 Logfile ........................................................................................................................17 4.5 4.5.1 4.5.2 5 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 Installation (SAP)........................................................................................................ 18 Device type ................................................................................................................ 18 Setup your printer with transaction SPAD ................................................................... 19 Printing barcodes from the SAP system................................................................. 20 PCL Barcode format ................................................................................................... 20 General Commands for all Barcodes .......................................................................... 21 T Select barcode ...................................................................................................... 21 P Annotation ............................................................................................................ 22 B Bar Width ............................................................................................................. 23 S Gap Width ............................................................................................................ 23 V Bar Height............................................................................................................. 23 Horizontal and vertical Position .................................................................................. 23 EAN 128 / Code 128 Parameters................................................................................ 23 QR Code Parameters ................................................................................................. 24

5.1.10 PDF 417 Parameters.................................................................................................. 25 5.1.11 Barcode termination ................................................................................................... 25 5.1.12 Rotation...................................................................................................................... 25 5.1.13 Embedded control characters ..................................................................................... 26 6 6.1 6.1.1 6.1.2 6.2 Defining Barcodes in SAPscript and SmartForms ................................................. 27 Create your own device type ...................................................................................... 27 Create System Barcode.............................................................................................. 27 Create Printer Barcode ............................................................................................... 29 Create a simple Barcode Test with SmartForms ......................................................... 32

6.2.1 6.2.2 6.3 7 8 9 10 11 12

Used Barcode............................................................................................................. 32 Used Style.................................................................................................................. 32 Create your form ........................................................................................................ 35 Version History......................................................................................................... 37 More Information / Contact ...................................................................................... 37 Appendix Hex Table ................................................................................................. 38 Barcode Specifications ............................................................................................ 39 QR Code data capacity............................................................................................. 44 ISO 3166 Codes (Country Codes)............................................................................ 49

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 3 Page 3

1 Smart Barcoding
Our Software PCL Barcode Server dramatically reduces your costs to print barcodes. You do not need any hardware extension for your printer. You can replace broken printers with another PCL printer and dont have to worry how to replace it with the same model or how to get a compatible barcode module. You do not need to buy any barcode hardware for each printer. Our PCL Barcode Server is supported by SAP R/3: Easy plug-and-play using the device types HPLJ4 HPLJ5 HPLJ5SI HPLJ1100 HPLJ4000 HPLJ8000 HPLJIIID LEXUTF8

You can use our PCL Barcode Server to print almost any widely used barcode type including: Code 128 / EAN 128 Code 39 Code 93 QR Code PDF 417 Data Matrix 2 of 5 family

For a complete list of barcodes and required license, please refer to section 5.1.2 Almost any barcode allows you to specify parameters and options. Our PCL Barcode Server allows you to define The size of the printed barcode. Rotation of barcodes. Rows and columns for 2D Barcodes Error correction mode, redundancy. Structured data for Data Matrix.

For a complete list, please refer to section 5.1.1 This combination of support by SAP R/3 and customizing makes our PCL Barcode Server really unique. Our online and always up to date trouble shooting section on our web site will help you in case of problems: http://www.e-bizco.com/english/support.phtml . You are also welcome to contact us at techsupport2@e-bizco.com for free support.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 4 Page 4

2 Installation Quick Guide


To install our PCL Barcode Server, only a few steps are necessary for the experienced user. If you are not absolutely familiar with your operating system and SAP, please read the detailed information in the following chapters. 2.1 Windows Quick Guide with SAP
Download the most recent version of the PCL Barcode Server from http://www.ebizco.com Install the software: run pcl_barcode_win32-xxx.exe to unpack. Save licence.key file (if you have one) to the unpack directory Run setup.exe Answer yes when asked to install as service. Start the service using the computer management tool. Create a new SAP printer using transaction SPAD: The device type depends on your printer model. HPLJ4 is usually a good starting point. The access method must be U. The remote hostname is the name of your test machine. The remote printer name needs to be defined at your test machine. (lpr P yourprinter needs to work well on the test machine). The remote port (click on the Icon) shall be 1515.

2.2 Linux Quick Guide with SAP


Download the most recent version of the PCL Barcode Server from http://www.ebizco.com Install the software: cd /; tar zxvf pcl_barcode_linux-xxx.tgz will install the software. Save a license file as /etc/barcode.lic Run /usr/local/bin/pcl_barcode_server to start the service manually for a quick test with SAP Create a new SAP printer using transaction SPAD: The device type depends on your printer model. HPLJ4 is usually a good starting point. The access method must be U. The remote hostname is the name of your test machine. The remote printer name needs to be defined at your test machine. ( lpr P yourprinter needs to work well on the test machine). The remote port ( click on the Icon ) shall be 1515.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 5 Page 5

3 Barcode Overview
The use of usage of bar codes on mass products is widely known. They can be found on nearly all articles in the local supermarket. They are used for automatic product recognition. Therefore it is not necessary to recognize any individual items. So all identical products share the same barcode. But bar codes can also be used to distinguish individual articles or documents. This requires the production of individual bar codes on demand as part of the printing process. As many documents are printed from within windows it is a requirement for many users to print barcodes from their windows application. Windows printing is always done through a device driver that is supplied from the printer vendor. This driver has uniform interface to the windows side. The principle advantage of this interface causes problems, as barcodes are not part of the interface. Neither the interface definition nor windows do take care about barcodes. So even if the printer could print barcodes by itself, the windows interface does not allow requesting them. You can buy programs, which produce barcodes by printing graphics. But they do not allow you to integrate these barcodes automatically into your document. You have to do some (electronic or mechanical) clipping for each document. You can also buy barcode fonts. But they are limited to simple barcodes and you have to compute the checksum in your application, which is often not possible at all. Without checksums barcodes are rather risky to use. You can also not adapt the printing process to your physical output device. This is often required to produce optimal barcodes as every printing system has is own characteristics. What is the solution? Our PCL Barcode Server is the perfect solution for applications, which are aware of barcodes. The application has just to insert the barcode print command with the data and the PCL Barcode Server will integrate the barcode into the current document. The PCL Barcode Server does also generate checksum and caption automatically on demand. You can specify the size of the barcode and even the individual relationship of bars and gaps. SAP System R/3 supports our PCL Barcode Server since version 3.0. It allows you to print barcodes on all printers which are supported by the SAP device types HPLJ4 and HP5MI. The PCL Barcode Server is available on Linux, HPUX, AIX and Windows 95/98/2000/NT. The configuration of the PCL Barcode Server is done from within the SAP system. e-bizco.com GmbH supplies two PCL Barcode Server: The 1D Classic version supports all one-dimensional barcodes like code 39 and 2 of 5 interleaved. The 2D Plus version also supports two-dimensional barcodes like Data Matrix, PDF 417 or Code16K. If you want to print barcodes on any windows printer: We also offer the Barcode DLL for SAP that prints bar codes on any windows printer.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 6 Page 6

4 Installation
4.1 Windows version 4.1.1 System Requirements
SAP Release 2.x, 3.x, 4.x and newer versions using Unix, Windows, OS/400 Operating System: Windows XP/2000/NT/98

4.1.2 PCL Barcode Server


This section describes the installation of our PCL Barcode Server and also outlines the changes in your SAP R/3 system.

4.1.2.1 Licensed Version


If you download the PCL Barcode Server for Windows from the Internet at http://www.ebizco.com/, you will get a single executable pcl_barcode_win32-xxx.exe that contains the compressed installation set. Please download to an empty directory. Just execute this program from your explorer to unpack the installation set. Executing pcl_barcode_win32xxx.exe will result in the files SETUP.EXE, PCL_BARCODE_SERVER.EX_ and other auxiliary files. If you received a CD from e-bizco.com GmbH, these files can be found on the disk. The required license key will be sent to you as email, by fax or on CD. Please save the email as LICENCE.KEY in the same directory where you have the unpacked installation files or place it on a floppy disk as A:\LICENCE.KEY. The Setup program can also create a temporary trial license on demand. To install the PCL Barcode Server on your system, please run the supplied program SETUP.EXE from the installation set. To install a licensed version, the license disk should be inserted to your diskette drive or the file LICENCE.KEY has to be just beside of the installation set. If this file is found at the start of SETUP.EXE, the license string is read form this file. If you have received the license key by fax, you may enter this string manually into the field license key.

4.1.2.2 Demo Version


If you download the PCL Barcode Server from the Internet, you will get a single executable pcl_barcode_win32-xxx.exe that contains the compressed installation set. Simply execute this program from your explorer to unpack the installation set. Executing pcl_barcode_win32xxx.exe will result in the files SETUP.EXE, PCL_BARCODE_SERVER.EX_ and other auxiliary files. To install the PCL Barcode Server on your system, please run the supplied program SETUP.EXE from the installation set. If possible, Setup will offer to create a temporary license which is valid for 30 days.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 7 Page 7

4.1.2.3 Upgrade from demo to a licensed Version


To upgrade from a demo version to a licensed version, you must obtain a license key from ebizco.com GmbH. You may download the most recent version the PCL Barcode Server from the Internet at http://www.e-bizco.com. It is the same executable as for the demo version, so if you already have downloaded the actual demo version, you can go ahead with this one. You will get a single executable pcl_barcode_win32-xxx.exe that contains the compressed installation set. Simply execute this program from your explorer to unpack the installation set. Executing pcl_barcode_win32-xxx.exe will result in the files SETUP.EXE, PCL_BARCODE_SERVER.EX_ and other auxiliary files. If you received a CD from ebizco.com GmbH, these files can be found on the disk. The required license key will be sent to you as email, by fax or on floppy disk. Please save the email as LICENCE.KEY in the same directory where you have the unpacked installation files or place it on floppy disk as A:\LICENCE.KEY. To update the PCL Barcode Server to your system, please run the supplied program SETUP.EXE from the installation set. To install a licensed version, the license disk should be inserted to your diskette drive or the file LICENCE.KEY has to be just beside of the installation set. If this file is found at the start of SETUP.EXE, the license string is read form this file. If you have received the license key by fax, you may enter this string manually into the field license key.

4.1.2.4 Upgrade from "1D Classic" to "2D Plus"


To upgrade from a licensed 1D Classic PCL Barcode Server version to a licensed PCL Barcode Server 2D Plus, you must obtain a license key for the "2D Plus" version from ebizco.com GmbH. You may download the most recent version the PCL Barcode Server from the Internet at http://www.e-bizco.com. It is the same executable as for the demo or classic barcode version, so if you already have downloaded the actual demo version, you can go ahead with this one. You will get a single executable pcl_barcode_win32-xxx.exe that contains the compressed installation set. Simply execute this program from your explorer to unpack the installation set. Executing pcl_barcode_win32-xxx.exe will result in the files SETUP.EXE, PCL_BARCODE_SERVER.EX_ and auxiliary files. If you received a CD from e-bizco.com GmbH, these files can be found on the disk. The required license key will be sent to you as email, by fax or on floppy disk. Please save the email as LICENCE.KEY in the same directory where you have the unpacked installation files or place it on floppy disk as A:\LICENCE.KEY. To update the PCL Barcode Server to your system, please run the supplied program SETUP.EXE from the installation set. To install a licensed version, the license disk should be inserted to your diskette drive or the file LICENCE.KEY has to be just beside of the installation set. If this file is found at the start of SETUP.EXE, the license string is read form this file. If you have received the license key by fax, you may enter this string manually into the field license key.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 8 Page 8

4.1.2.5 Installing a newer version of PCL Barcode Server covered by your license
Any license obtained from e-bizco.com GmbH entitles you to use newer versions of the PCL Barcode Server released up to six month after the issue date of the license. To use this update feature, please download the newer version of barcode demo from http://www.e-bizco.com and proceed as described under upgrading from demo to licensed version. To be eligible for upgrading, the new PCL Barcode Server MUST be released within six month after the issue date of your license or you will get an error message when installing a version that was released after that date. If you have purchased a license for PCL Barcode Server with maintenance contract, you may install any covered newer version of the PCL Barcode Server.

4.1.3 Running the PCL Barcode Server 4.1.3.1 Running as service


The PCL Barcode Server can be installed as service in Windows XP/2000 and NT4. Installing the PCL Barcode Server can be done by running the program PCL_BARCODE_SERVER with the argument i . The PCL Barcode Server will be started every time the operating system is booted. You can control the services from your windows computer control. To de-install the service, run PCL_BARCODE_SERVER u after shutting the service down from the computer control.

4.1.3.2 Running as user program


The PCL Barcode Server can be run as PCL_BARCODE_SERVER with no arguments. Option r allows you the change the default port of the server from 1515 to the value given.

4.1.3.3 Logfile
For trouble shooting, the logfile feature can be turned on. Please add these lines to the file C:\Windows\Barcode.ini: [LPD] LogEnabled=9 LogFile=C:\bclpd.log You can create this file using notepad if it does not exist. Please make sure that no .txt is added by windows to the file name.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 9 Page 9

4.2 Installation ( Linux version ) 4.2.1 System Requirements


Operating System: Linux Kernel 2.6.x or newer

4.2.2 PCL Barcode Server


This section describes the installation of our PCL Barcode Server and also outlines the changes in your SAP R/3 system.

4.2.2.1 Licensed Version


If you download the PCL Barcode Server from the Internet, you will get a single installation set pcl_barcode_linux-xxx.tgz that contains the compressed installation set. Please use cd / gzcat < pcl_barcode_linux-xxx.tgz | tar xf - to install the software. The program files will be installed in the directory usr/local/bin, documentation will go to usr/local/doc. Please make sure that the files contained in the tar file do not interfere with you local installation before you extract the tar file. Please save the license file that you have received from us as /etc/barcode.lic

4.2.2.2 Demo Version


If you download the PCL Barcode Server from the Internet, you will get a single installation set pcl_barcode_linux-xxx.tgz that contains the compressed installation set. Please use cd / gzcat < pcl_barcode_linux-xxx.tgz | tar xf - to install the software. The program files will be installed in the directory usr/local/bin, documentation will go to usr/local/doc. Please make sure that the files contained in the tar file do not interfere with you local installation before you extract the tar file. The demo version will occasionally print barcode demo near the barcode. We offer a free 30 day trial license for extensive testing. No demo text will be printed using this trial license. Please contact us at techsupport2@e-bizco.com

4.2.2.3 Installing a license


To upgrade from a demo version to a licensed version, you must obtain a license key from ebizco.com GmbH. The license file shall be stored as /etc/barcode.lic To upgrade to a new license, backup the existing /etc/barcode.lic and save the new license as /etc/barcode.lic

4.2.2.4 Installing a newer version of PCL Barcode Server covered by your license
Any license obtained from e-bizco.com GmbH entitles you to use newer versions of the PCL Barcode Server released up to six month after the issue date of the license. To use this update feature, please download the newer version of barcode demo from http://www.e-bizco.com and proceed as described under upgrading from demo to licensed

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 10 Page 10

version. To be eligible for upgrading, the new PCL Barcode Server MUST be released within six month after the issue date of your license or you will get an error message when installing a version that was released after that date. If you have purchased a license for PCL Barcode Server with maintenance contract, you may install any covered newer version of the PCL Barcode Server.

4.2.2.5 Linux Print Command


The PCL Barcode Server communicates with the host spool system via two commands. It uses the lpr command and the lpq command. The default settings are: lpr lpq lpq lpq lpq with %P %T %U %N %I Destination / Printername Title Owner Number of copies Job Id -P '%P' -T '%T' -U '%U' -#%N -L -P%P (printer long output format) -P%P (printer short output format) -L -P%P %I (job long output format) -P%P %I (job short output format)

These command can be modified in the /etc/barcode.ini file (Version 3.6.3 or newer): [LPD] lpr=lpr -P '%P' -T '%T' -U '%U' -#%N lpstat=lpq P%P lpstat_long=lpq L P%P lpstat_job=lpq P%P %I lpstat_job_long=lpq L P%P %I If your linux distribution has lpr-cups instead of lpr, you can either create a symbolic link for lpr or modify the barcode.ini.

4.2.3 Running the PCL Barcode Server (Linux) 4.2.3.1 Running as service
The PCL Barcode Server can be started at boot time using the usual /etc/rc config scripts. No parameters are required. The r xxxx can be used to change the control port from 1515 to xxxx.

4.2.3.2 Starting from inetd


The PCL Barcode Server can be run from the inetd daemon. Please insert this line to /etc/inetd.conf :
1515 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/pcl_barcode_server i

To change the control port, change the 1515 to the desired port number. Please remember to restart inetd to activate the change. ( kill HUP )

4.2.3.3 Running as user program


The PCL Barcode Server can be run as pcl_barcode_server with no arguments.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 11 Page 11

Option r allows you the change the default port of the server from 1515 to the value given.

4.2.3.4 Logfile
For trouble shooting, the logfile feature can be turned on. Please add these lines to the file /etc/barcode.ini: [LPD] LogEnabled=9 LogFile=/tmp/bcserver.log

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 12 Page 12

4.3 Installation ( AIX version ) 4.3.1 System Requirements


Operating System: AIX Version 4.3 or newer

4.3.2 PCL Barcode Server


This section describes the installation of our PCL Barcode Server and also outlines the changes in your SAP R/3 system.

4.3.2.1 Licensed Version


If you download the PCL Barcode Server from the Internet, you will get a single installation set pcl_barcode_aix4_3-xxx.tar.compressed that contains the compressed installation set. Please use cd / uncompress < set pcl_barcode_aix4_3-xxx.tar.compressed | tar xf - to install the software. (xxx is the current version and release number.) The program files will be installed in the directory usr/local/bin, documentation will go to usr/local/doc. Please make sure that the files contained in the tar file do not interfere with you local installation before you extract the tar file. Please save the license file, that you have received from us, as /etc/barcode.lic

4.3.2.2 Demo Version


If you download the PCL Barcode Server from the Internet, you will get a single installation set pcl_barcode_aix4_3-xxx.tar.compressed that contains the compressed installation set. Please use cd / uncompress < pcl_barcode_aix4_3-xxx.tar.compressed | tar xf - to install the software. (xxx is the current version and release number.) The program files will be installed in the directory usr/local/bin, documentation will go to usr/local/doc. Please make sure that the files contained in the tar file do not interfere with you local installation before you extract the tar file. The demo version will occasionally print barcode demo near the barcode. We offer a free 30 day trial license for extensive testing. No demo text will be printed using this trial license. Please contact us at techsupport2@e-bizco.com

4.3.2.3 Installing a license


To upgrade from a demo version to a licensed version, you must obtain a license key from ebizco.com GmbH. The license file shall be stored as /etc/barcode.lic To upgrade to a new license, backup the existing /etc/barcode.lic and save the new license as /etc/barcode.lic

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 13 Page 13

4.3.2.4 Installing a newer version of PCL Barcode Server covered by your license
Any license obtained from e-bizco.com GmbH entitles you to use newer versions of the PCL Barcode Server released up to six month after the issue date of the license. To use this update feature, please download the newer version of barcode demo from http://www.e-bizco.com and proceed as described under upgrading from demo to licensed version. To be eligible for upgrading, the new PCL Barcode Server MUST be released within six month after the issue date of your license or you will get an error message when installing a version that was released after that date. If you have purchased a license for PCL Barcode Server with maintenance contract, you may install any covered newer version of the PCL Barcode Server.

4.3.2.5 AIX Print Command


The PCL Barcode Server communicates with the host spool system via two commands. It uses the lpr command and the qchk command. The default settings are: lpr -P qchk -L qchk P format) qchk -L qchk P with %P %T %U %N %I Destination / Printername Title Owner Number of copies Job Id '%P' -T '%T' -U '%U' -#%N P %P %P P %P -# %I %P -# %I (printer long output format) (printer short output (job long output format) (job short output format)

These command can be modified in the /etc/barcode.ini file (Version 3.6.3 or newer): [LPD] lpr= lpr -P'%P' -T'%T' -#%N -h lpstat=qchk P %P lpstat_long=qchk -L P %P lpstat_job=qchk P %P -# %I lpstat_job_long=qchk -L P %P -# %I

4.3.3 Running the PCL Barcode Server (AIX) 4.3.3.1 Running as service
The PCL Barcode Server can be started at boot time using the usual /etc/rc config scripts. No parameters are required. The r xxxx can be used to change the control port from 1515 to xxxx.

4.3.3.2 Starting from inetd


The PCL Barcode Server can be run from the inetd daemon. Add the required service name to your /etc/services: pclbarcode 1515/tcp

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 14 Page 14

Please insert this line to /etc/inetd.conf :


pclbarcode stream tcp nowait root /usr/local/bin/pcl_barcode_server pcl_barcode_server i

To change the control port, change the 1515 to the desired port number. If you change the /etc/inetd.conf file, run the refresh -s inetd or kill - 1 InetdPID command to inform the inetd daemon of the changes to its configuration file.

4.3.3.3 Running as user program


The PCL Barcode Server can be run as pcl_barcode_server with no arguments. Option r allows you the change the default port of the server from 1515 to the value given.

4.3.3.4 Logfile
For trouble shooting, the logfile feature can be turned on. Please add these lines to the file /etc/barcode.ini: [LPD] LogEnabled=9 LogFile=/tmp/bcserver.log

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 15 Page 15

4.4 Installation ( SunOS / Solaris version, HPUX ) 4.4.1 System Requirements


Operating System: SunOS Version 5.8 / Solaris 8 or newer Operating System: HPUX 11 or newer

4.4.2 PCL Barcode Server


This section describes the installation of our PCL Barcode Server and also outlines the changes in your SAP R/3 system.

4.4.2.1 Licensed Version


If you download the PCL Barcode Server from the Internet, you will get a single installation set pcl_barcode_SUN-xxx.tgz resp. pcl_barcode_hpux11-xxx.tgz that contains the compressed installation set. Please use cd / gzcat < pcl_barcode_SUN-xxx.tgz | tar xf - to install the software. (xxx is the current version and release number.) The program files will be installed in the directory usr/local/bin, documentation will go to usr/local/doc. Please make sure that the files contained in the tar file do not interfere with you local installation before you extract the tar file. Please save the license file, that you have received from us, as /etc/barcode.lic

4.4.2.2 Demo Version


If you download the PCL Barcode Server from the Internet, you will get a single installation set pcl_barcode_SUN-xxx.tgz resp. pcl_barcode_hpux11-xxx.tgz that contains the compressed installation set. Please use cd / gzcat < pcl_barcode_SUN-xxx.tgz | tar xf - to install the software. (xxx is the current version and release number.) The program files will be installed in the directory usr/local/bin, documentation will go to usr/local/doc. Please make sure that the files contained in the tar file do not interfere with you local installation before you extract the tar file. The demo version will occasionally print barcode demo near the barcode. We offer a free 30 day trial license for extensive testing. No demo text will be printed using this trial license. Please contact us at techsupport2@e-bizco.com

4.4.2.3 Installing a license


To upgrade from a demo version to a licensed version, you must obtain a license key from ebizco.com GmbH. The license file shall be stored as /etc/barcode.lic To upgrade to a new license, backup the existing /etc/barcode.lic and save the new license as /etc/barcode.lic

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 16 Page 16

4.4.2.4 Installing a newer version of PCL Barcode Server covered by your license
Any license obtained from e-bizco.com GmbH entitles you to use newer versions of the PCL Barcode Server released up to six month after the issue date of the license. To use this update feature, please download the newer version of barcode demo from http://www.e-bizco.com and proceed as described under upgrading from demo to licensed version. To be eligible for upgrading, the new PCL Barcode Server MUST be released within six month after the issue date of your license or you will get an error message when installing a version that was released after that date. If you have purchased a license for PCL Barcode Server with maintenance contract, you may install any covered newer version of the PCL Barcode Server.

4.4.2.5 Solaris /HPUX Print Command


The PCL Barcode Server communicates with the host spool system via two commands. It uses the lp command and the lpstat command. The default settings are: lpr -P '%P' -T '%T' -U '%U' -#%N lpstat -p%P lpstat -p%P lpstat -p%P o %I lpstat -p%P o %I with %P %T %U %N %I Destination / Printername Title Owner Number of copies Job Id (printer long output format) (printer short output format) (job long output format) (job short output format)

These command can be modified in the /etc/barcode.ini file (Version 3.6.3 or newer): [LPD] lpr= lpr -P'%P' -T'%T' -#%N -h lpstat= lpstat -p%P lpstat_long= lpstat -p%P lpstat_job= lpstat -p%P -o %I lpstat_job_long= lpstat -p%P -o %I

4.4.3 Running the PCL Barcode Server ( SunOS /Solaris, HPUX ) 4.4.3.1 Running as service
The PCL Barcode Server can be started at boot time using the usual /etc/rc config scripts. No parameters are required. The r xxxx can be used to change the control port from 1515 to xxxx.

4.4.3.2 Starting from inetd


The PCL Barcode Server can be run from the inetd daemon. Add the required service name to your /etc/services: pclbarcode 1515/tcp

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 17 Page 17

Please insert this line to /etc/inetd.conf :


pclbarcode stream tcp nowait root /usr/local/bin/pcl_barcode_server pcl_barcode_server i

To change the control port, change the 1515 to the desired port number. If you change the /etc/inetd.conf file, run the refresh -s inetd or kill -1 InetdPID command to inform the inetd daemon of the changes to its configuration file.

4.4.3.3 Running as user program


The PCL Barcode Server can be run as pcl_barcode_server with no arguments. Option r allows you the change the default port of the server from 1515 to the value given.

4.4.3.4 Logfile
For trouble shooting, the logfile feature can be turned on. Please add these lines to the file /etc/barcode.ini: [LPD] LogEnabled=9 LogFile=/tmp/bcserver.log

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008 4.5 Installation (SAP) 4.5.1 Device type

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 18 Page 18

The device type describes the capabilities of a printer type and how to interact with it. The PCL Barcode Server is designed to insert barcodes into the data stream of a laserjet compatible page printer. Current SAP versions are aware of our PCL Barcode Server. SAP added PCL Barcodes to the following device types: HPLJ4 HPLJ5 HPLJ5SI HPLJ1100 HPLJ4000 HPLJ8000 HPLJIIID LEXUTF8

You can use these unmodified device types. Please note, that the PCL Barcode Server 2D PLUS does support a lot more barcodes than the predefined SAP bar codes. If you do modify the barcode related print controls or add new barcodes, please copy the device type before doing any modifications. Use a name like ZHPLJ4 for your version.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 19 Page 19

4.5.2 Setup your printer with transaction SPAD


The PCL Barcode Server is running on a Windows PC, Linux x86, AIX, HPUX or Solaris. It can be installed a service or run in user mode. It translates barcode calls from SAP into printer compatible data. To use the PCL Barcode Server, please define your printer inside SAP using transaction SPAD. Use one of the supported device types ( see section 4.5 ) and use access method U. The host printer is the local or remote printer name as this windows pc expects it, e.g. //host/printer . The remote printer port is 1515 unless changed at the pcl_barcode_server start.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 20 Page 20

5 Printing barcodes from the SAP system


5.1 PCL Barcode format
PCL is a printer language, used on HP laserjets and other printers. It is widely adopted across the industry. All barcode printer command sequences begin with an escape character ( hex value 1B, visualized as <ESC> ) and two command characters, which select the command group. One or more parameters and a command character follow these. Examples: Command <ESC>(s24670T <ESC>(s1P <ESC>(s5,10B Result Select barcode Code 39. (s is the command group, 24670 is the parameter to the command T Select No annotation. (s is the command group, 1 is the parameter to command P. Defines the bar width to be 5 and 10 pixels.

Parameters are numeric, commands are represented by a letter. Uppercase letters terminate a printer command sequence, lowercase letters indicates another parameter and command will follow: Command <ESC>(s1p24670T Result Select barcode Code 39 with no annotation, (s is the command group. 1p is the first command, 24670 the second command. Select barcode Code 39 with no annotation. The small bar is 5 pixel wide, the thicker bar is 10 pixel.

<ESC>(s1p5,10b24670T

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 21 Page 21

5.1.1 General Commands for all Barcodes 5.1.2 T Select barcode


After sending a T command in the command group (s, subsequent data will be encoded as barcode data. The barcode data will be terminated by another T command using one of the printer font ids. Barcode Number 24700 24701 24702 24704 24650 24651 24660 24661 24640 24641 24649 24670 24671 24680 24681 24690 24691 24815 24816 24817 24818 24819 24750 24751 24820 24720 24630 24631 24632 24620 24621 24622 24800 Selected Barcode Code 128 Code 128, Subset A Code 128, Subset B Code 128, Subset C Code 2 of 5 Industrial Code 2 of 5 Industrial w. checksum Code 2 of 5 Matrix Code 2 of 5 Matrix w. checksum Code 2 of 5 Interleaved Code 2 of 5 Interleaved w. checksum ITF-14 w. checksum Code 39 Code 39 w. checksum Code 39 Extended Code 39 Extended w. checksum Code 93 w. checksum Code 93 Extended w. checksum Code 16K Code 16K, Subset A Code 16K, Subset B Code 16K, Subset C Code 49 Codabar Codabar w. checksum Data Matrix EAN 128 w. checksum EAN 13 EAN 13 + 2 Zusatzzeichen EAN 13 + 5 Zusatzeichen EAN 8 EAN 8 + 2 Zusatzzeichen EAN 8 + 5 Zusatzeichen Maxicode

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Barcode Number 24761 24762 24763 24850 24851 24852 24642 24643 24861 24710 24600 24601 24602 24610 24611 24612 24770,24771,24772

PCL Barcode Server PCL Barcode Server for SAP R/3


Selected Barcode MSI Plessey w. Mod 10 checksum MSI Plessey w. Mod 10 and Mod10 checksum MSI Plessey w. Mod 10 and Mod 11 checksum PDF 417 PDF 417 Truncated PDF 417 Micro Post Ident ( German Postal 2/5 Leitcode 13 ) Post Ident ( German Postal 2/5 Identcode 11 ) QR Code UCC 128 UPCA UPCA + 2 Zusatzzeichen UPCA + 5 Zusatzzeichen UPCE UPCE + 2 Zusatzzeichen UPCE + 5 Zusatzzeichen ZIP Postnet 5, 9 and 11 digits

Page 22 Page 22

5.1.3 P Annotation
The bar code annotation can be controlled by the P command. Legal values are:

Value 1 2 3 4 5

Command Off Inside the lower edge of the barcode. Partly inside the lower edge of the barcode. Below the barcode. Above the barcode.

This code is licensed separately. This code is licensed separately. This code is licensed separately.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008 5.1.4 B Bar Width

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 23 Page 23

Barcodes are composed of bars with different width. You can specify the width of the smallest bar as the first parameter to the B command. The width of the next wider bar can be specified as the second parameter. If the barcode has more than two barcode width, the next values are computed automatically. Example: <ESC>(s6,12B will set the bar width to 6 and 12 pixels.

5.1.5 S Gap Width


Barcodes are composed of bars and gaps of different width. You can specify the width of the smallest gap as the first parameter to the S command. The width of the next wider gap can be specified as the second parameter. If the barcode has more than two barcode gap width, the next values are computed automatically. Gap width will normally follow the corresponding bar width. Example: <ESC>(s6,12S will set the gap width to 6 and 12 pixels.

5.1.6 V Bar Height


The height of a regular bar is specified. The height is given in 1/72 inch. Example: <ESC>(s36V will set the bar height to inch.

5.1.7 Horizontal and vertical Position


The horizontal and vertical position is set using usual PCL positioning commands, e.g. <ESC>&a100h200V will position the cursor at 100 deci points horizontal and 200 deci points vertical.

5.1.8 EAN 128 / Code 128 Parameters


EAN 128 and Code 128 allow these special characters to signal functions: FNC1 FNC2 FNC3 FNC4 Decimal Decimal Decimal Decimal 129 (Hex 130 (Hex 131 (Hex 132 (Hex 81) 82) 83) 84)

These characters are embedded into the barcode data.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008 5.1.9 QR Code Parameters

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 24 Page 24

The QR Code will use the P command [ Esc(s#P ] to specify the security level, FNC1 mode and barcode size: Value 0 1 2 3 4 Security level for error correction: M ( about 15 % redundancy ) L ( about 7% redundancy ) M ( about 15 % redundancy ) Q ( about 25 % redundancy ) H ( about 30 % redundancy )

Value 0 10

FNC1 mode: No FNC1 implied FNC1 implied before data, use % for addtl FNC1s

Value 0 100 200 300 4000

Security level for error correction: Find optimal size Format 1: 21 x 21 modules Format 2: 25 x 25 modules Format 3: 29 x 29 modules Format 40: 177 x 177 modules

These values can be added to specify more than one QR Code parameter. The S parameter [ Esc(s#S ] is used to change the encoding: Value 0 1 2 3 4 Encoding: Find optimal encoding Numeric ( digits only, highly compressed ) Alphanumeric only ( 0-9 A-Z + - * / % . : ) Byte values ( 0x00 0xff ), encodes double byte characters without optimization Kanji ( optimized encoding for Japanese double byte characters )

The B Parameter [ Esc(s#B ] specifies the module size ( dot size ) in 1/600 inch.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008 5.1.10 PDF 417 Parameters

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 25 Page 25

The code PDF417 will use the P command to specify the security: Value 0 1 2 3 4 5 6 7 8 Number of bytes added for security and error correction: 2 4 8 (Default) 16 32 64 128 256 512

Values of 1000 to 1400 indicate a relative security of 0 to 400 % of the data. The exact security level will be computed automatically. The B parameter [ Esc(s#1,#2,#3,#4B ] specifies the maximum number of row and columns for the PDF 417 code. # 1 2 3 4 Usage Row count Column count =0: row and column count are maximum values (default) =1: row and column count are the desired row and column counts. =0: Standard PDF 417 (default ) =1: Truncated PDF 417

5.1.11 Barcode termination


After a barcode font is selected, printable text is collected until a termination character is found. Termination characters are CR (hex 0D, carriage return), LF ( hex 0A, line feed), FF (hex 0C, form feed) or ESC (hex 1B, Escape). Number only barcodes are terminated by SP (hex 20, space) also. Whenever a barcode is terminated, the collected data is converted into the corresponding barcode and printed on the page. If more printable characters are following after the termination character, a new barcode starts. Empty barcodes with no printable data are suppressed. Example: <ESC>(s4p100h40v10,20b10,20s24700THELLO<ESC>0NWORLD<ESC>(s3T This creates two separate barcodes.

5.1.12 Rotation
The barcode can be rotated using the regular PCL rotation command: <ESC>&a#P with # = 0,90,180 and 270.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 26 Page 26

5.1.13 Embedded control characters


If you need to include terminating control characters into the barcode, the complete character sequence must be send using transparent data mode. The sequence for transparent data is <Esc>&p#X where # is the number of bytes to print transparently. Example: <ESC>(s4p100h40v10,20b10,20s24700T<ESC>&p11XLine1<CR>Line2<ESC>c(s3T

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 27 Page 27

6 Defining Barcodes in SAPscript and SmartForms


6.1 Create your own device type
SAP has included the support for our PCL Barcode Server into several decive types, e.g. HPLJ5, HPLJ4000. If you do need more barcodes than predefined or if you need a different device type, you can copy a matching device type and add the required print controls. You can do this from within the transaction SPAD. Use the menu entry Utilities/copy device type. We recommend to use the device type HPLJ4000 as template.

6.1.1 Create System Barcode


Start Transaction SE73 Select System Barcode, Press Change

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008 Press Create.

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 28 Page 28

Some versions of SAP have two barcode technologies implemented. SAPScript always requires the so called "old" technology. This dialog does not show up on all releases.

Fill the Popup with your chosen values. This example creates the new System Barcode ZPDF417.

Press Execute. If you get a popup asking for a Workbench job: Select an appropriate job or cancel for local testing.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008 6.1.2 Create Printer Barcode

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 29 Page 29

The printer barcodes describes the necessary actions for a given printer type. If you have not created your own device type, its now time to do it. ( Transaction SPAD, copy HPLJ4000 to ZPLJ4000 ).

Start Transaction SE73. Select Printer Bar Codes, press Change, double click on your device type.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 30 Page 30

Choose a free prefix and suffix from the list, e.g. SBP98 and SBS98. For some device types a common suffix SBS01 is used for all SBPxx. That one will usually work for your print control too. Press Create.

Select your newly created system barcode (ZPDF417) and fill the prefix and suffix fields. The prefix and suffix will be the names of the used print controls to create the barcode. Press Execute.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


If you get this warning :

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 31 Page 31

Select New Entry and continue. Now we need to fill the new print control:

Select your prefix ( e.g. SBP98) and press Maint. Print Control.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 32 Page 32

Turn off the Hex switch ( fill with blank). If you get Variant 1, you need to start the Control Char. Seq with \e(s , Variant 5 starts with (s only. If you don't use the common suffix SBS01, you often can copy the value of SBS01 to your new suffix SBS98:

6.2 Create a simple Barcode Test with SmartForms 6.2.1 Used Barcode
To include a barcode type into SmartForm, you need to make sure that this is a defined System Barcode ( Transaction SE73 ) and that a correct print control is defined for each target device types.

6.2.2 Used Style


Make sure to have an appropriate style at hand. For testing, you might want to copy the style SYSTEM to a local Z_TEST1 using Transaction SMARTFORMS.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 33 Page 33

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 34 Page 34

Right click on Character Formats and choose Create Node. Select a short name for the format, e.g. BA, B1 or DM (this example).

Choose the System Barcode in the lower section (ZDATAMTX) and fill the description field. Save and ACTIVATE. You now have a style where you can use your new barcode.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 35 Page 35

6.3 Create your form


Start the form builder, select your new form name, press Create. Double click on Form Attributes, select Output Options :

Make sure to use your new style (here Z_TEST1 ). Insert your text into the form. Highlight the test data (or the SAPScript variable), that should be printed as barcode. Please make sure not to highlight anything else! No leading or trailing blanks or line wraps are allowed to be highlighted here!

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 36 Page 36

Select your new character format ( DM in this example ). Save and activate. To print the form: Hit F8 three times, then select print:

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 37 Page 37

7 Version History
4.1.4 Include checksum in the annotation if barcode ITF-14. Additional diagnostic information for trouble shooting (Windows version) Server licensing is based on hostname now (Windows version). New Barcode: ITF-14, a 2 of 5 interleave variant, id 24649 Bugfix: Datamatrix encoding in automode used occasionally the wrong switch sequence between different encoding modes. Bugfix: PDF417 on HPUX and AIX had an encoding error.

4.1.3 4.1.2

4.0

(internal) Codemerge with Barcode DLL

8 More Information / Contact

Please contact us at e-bizco.com GmbH Up'n Hoff 1 D-22927 Grohansdorf Germany Web: http://www.e-bizco.com EMail: Info2@e-bizco.com Phone: ++49 4102 69 190 49 Fax: ++49 4102 69 190 47

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 38 Page 38

9 Appendix Hex Table


Hexcode Character Hexcode Character Hexcode Character Hexcode Character 0 NUL 20 space 40 @ 60 ` 1 SOH 21 ! 41 A 61 a 2 STX 22 " 42 B 62 b 3 ETX 23 # 43 C 63 c 4 EOT 24 $ 44 D 64 d 5 ENQ 25 % 45 E 65 e 6 ACK 26 & 46 F 66 f 7 BEL 27 ' 47 G 67 g 8 BS 28 ( 48 H 68 h 9 HAT 29 ) 49 I 69 i A LF 2A * 4A J 6A j B VT 2B + 4B K 6B k C FF 2C , 4C L 6C l D CR 2D 4D M 6D m E SO 2E . 4E N 6E n F ST 2F / 4F O 6F o 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 W 77 w 18 CAN 38 8 58 X 78 x 19 EM 39 9 59 Y 79 y 1A STB 3A : 5A Z 7A z 1B ESC 3B ; 5B [ 7B { 1C FS 3C < 5C \ 7C | 1D GS 3D = 5D ] 7D } 1E RS 3E > 5E ^ 7E ~ 1F US 3F ? 5F _ 7F

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 39 Page 39

10 Barcode Specifications

Data Matrix
Character set: Complete ASCII or numeric information Intergrated high quality error correction C=DM Barcode Plus

Checksum:

ID: Required licence:

Remarks:

High Density (about 15 times higher than linear barcodes). Encodes up to 2334 ASCII characters ( 7bit), 1558 ASCII characters ( 8 bit) or 3116 digits. Requires special optical readers. Can be read from any direction. Implemented ECC200 error correction allows reading of highly damaged codes.

PDF 417
Character set: Complete ASCII or numeric information Intergrated high quality error correction C=PDF417

Checksum:

ID:

Required licence:

Barcode Plus

Remarks:

High density barcode, encodes up to 1850 ASCII characters or 2710 digits. Requires special optical readers. Can be read from any direction. The degree of possible error correction can be selected but uses additional space on the print out.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 40 Page 40

Maxicode
Character set: Checksum: ID: Required licence: 0-9A-Z Yes C=MAXI Maxicode

Remarks:

UPS packet labeling

Code 16K
Character set: Complete ASCII or numeric information Yes C=C16K Barcode Plus

Checksum: ID: Required licence:

Remarks:

Stacked 2-D barcode, encodes up to 77 ASCII characters or 154 digits.

Code 49
Character set: Complete ASCII or numeric information Yes C=C49 Barcode Plus

Checksum: ID: Required licence:

Remarks:

Stacked 2-D barcode

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 41 Page 41

Code 128
Character set: Checksum: ID: Required licence: 7 Bit ASCII Yes C=128 Barcode Classic or Barcode Plus

Remarks:

Complete 7 Bit ASCII character set, high density, low error resistance.

Code 39
Character set: A-Z 0-9 - . $ / + % and space Optional C=39 Barcode Classic or Barcode Plus

Checksum: ID: Required licence:

Remarks:

Robust code, low density for upper case letters and digits.

Code 39 extended
Character set: Checksum: ID: Required licence: Full 7 Bit ASCII Optional C=39X Barcode Classic or Barcode Plus

Remarks:

Very low density code, most characters are encodes by two code 39 characters.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 42 Page 42

Code 93
Character set: A-Z 0-9 - . * $ / + % and space Optional C=93 Barcode Classic or Barcode Plus

Checksum: ID: Required licence:

Remarks:

Robust code, low density for upper case letters and digits.

Code 93 extended
Character set: Checksum: ID: Required licence: Full 7 Bit ASCII Optional C=93X Barcode Classic or Barcode Plus

Remarks:

Robust, low density.

Code 2 of 5 Industrial
Character set: Checksum: ID: Required licence: Digits only Optional C=25I Barcode Classic or Barcode Plus

Remarks:

Robust, low density code for digits ONLY.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 43 Page 43

Code 2 of 5 Interleaved
Character set: Checksum: ID: Required licence: Digits only Optional C=25L Barcode Classic or Barcode Plus

Remarks:

Robust code for digits ONLY. Requires even number of digits without checksum or odd number of digits plus checksum. A 0 digit will otherwise be placed in front of the data. Higher density than 2 of 5 Industrial and 2 of 5 Matrix.

Code 2 of 5 Matrix
Character set: Checksum: ID: Required licence: Digits only Optional C=25M Barcode Classic or Barcode Plus

Remarks:

Robust code for digits ONLY. Higher density than 2 of 5 Industrial.

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 44 Page 44

11 QR Code data capacity

Format

Error Correction Level L 41 34 27 17 77 63 48 34 127 101 77 58 187 149 111 82 255 202 144 106 322 255 178 139 370 Numeric

Data capacity format 1 - 8 Alphanumeric 8-bit Byte Kanji

25 20 16 10 47 38 29 20 77 61 47 35 114 90 67 50 154 122 87 64 195 154 108 84 224

17 14 11 7 32 26 20 14 53 42 32 24 78 62 46 34 106 84 60 44 134 106 74 58 154

10 8 7 4 20 16 12 8 32 26 20 15 48 38 28 21 65 52 37 27 82 65 45 36 95

M Q H L

M Q H L

M Q H L

M Q H L

M Q H L

M Q H L

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 45 Page 45

M Q H L 8 M Q H L 9 M Q H L 10 M Q H L 11 M Q H L 12 M Q H L 13 M Q H L 14 M

293 207 154 461 365 259 202 552 432 312 235 652 513 364 288 772 604 427 331 883 691 489 374 1022 796 580 427 1101 871

178 125 93 279 221 157 122 335 262 189 143 395 311 221 174 468 366 259 200 535 419 296 227 619 483 352 259 667 528 230 180 130 98 271 213 151 119 321 251 177 137 367 287 203 155 425 331 241 177 458 362

122 86 64 192 152 108 84 141 111 80 60 167 131 93 74 198 155 109 85 226 177 125 96 262 204 149 109 282 223

75 53 39 118 93 66 52

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 46 Page 46

Q H L 15 M Q H L 16 M Q H 17 L M Q H 18 L M Q H 19 L M Q H 20 L M Q H 21 L M Q

621 468 1250 991 703 530 1408 1082 775 602 1548 1212 876 674 1725 1346 948 746 1903 1500 1063 813 2061 1600 1159 919 2232 1708 1224

376 283 758 600 426 321 854 656 470 365 938 734 531 408 1046 816 574 452 1153 909 644 493 1249 970 702 557 1352 1035 742

258 194 520 412 292 220 586 450 322 250 644 504 364 280 718 560 394 310 792 624 442 338 858 666 482 382 929 711 509

159 120 320 254 180 136 361 277 198 154 397 310 224 173 442 345 243 191 488 384 272 208 528 410 297 235 572 438 314

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 47 Page 47

H 22 L M Q H 23 L M Q H 24 L M Q H 25 L M Q H 26 L M Q H 27 L M Q H 28 L M Q H

969 2409 1872 1358 1056 2620 2059 1468 1108 2812 2188 1588 1228 3057 2395 1718 1286 3283 2544 1804 1425 3517 2701 1933 1501 3669 2857 2085 1581

587 1460 1134 823 640 1588 1248 890 672 1704 1326 963 744 1853 1451 1041 779 1990 1542 1094 864 2132 1637 1172 910 2223 1732 1263 958

403 1003 779 565 439 1091 857 611 461 1171 911 661 511 1273 997 715 535 1367 1059 751 593 1465 1125 805 625 1528 1190 868 658

248 618 480 348 270 672 528 376 284 721 561 407 315 784 614 440 330 842 652 462 365 902 692 496 385 940 732 534 405

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 48 Page 48

29

L M Q H

3909 3035 2181 1677 4158 3289 2358 1782 4417 3486 2473 1897 4686 3693 2670 2022 4965 3909 2805 2157 5253 4134 2949 2301 5529 4343 3081 2361 5836

2369 1839 1322 1016 2520 1994 1429 1080 2677 2113 1499 1150 2840 2238 1618 1226 3009 2369 1700 1307 3183 2506 1787 1394 3351 2632 1867 1431 3537

1628 1264 908 698 1732 1370 982 742 1840 1452 1030 790 1952 1538 1112 842 2068 1628 1168 898 2188 1722 1228 958 2303 1809 1283 983 2431

1002 778 559 430 1066 843 604 457 1132 894 634 486 1201 947 684 518 1273 1002 719 553 1347 1060 756 590 1417 1113 790 605 1496

30

L M Q H

31

L M Q H

32

L M Q H

33

L M Q H

34

L M Q H

35

L M Q H

36

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008

PCL Barcode Server PCL Barcode Server for SAP R/3

Page 49 Page 49

M Q H 37 L M Q H 38 L M Q H 39 L M Q H 40 L M Q H

4588 3244 2524 6153 4775 3417 2625 6479 5039 3599 2735 6743 5313 3791 2927 7089 5596 3993 3057

2780 1966 1530 3729 2894 2071 1591 3927 3054 2181 1658 4087 3220 2298 1774 4296 3391 2420 1852

1911 1351 1051 2563 1989 1423 1093 2699 2099 1499 1139 2809 2213 1579 1219 2953 2331 1663 1273

1176 832 647 1577 1224 876 673 1661 1292 923 701 1729 1362 972 750 1817 1435 1024 784

12 ISO 3166 Codes (Country Codes)


These country codes are used with Maxicode to specify the destination.
Country Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Number 004 008 012 016 020 024 660 010

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Country Antigua And Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia And Herzegowina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo Cook Islands

PCL Barcode Server PCL Barcode Server for SAP R/3


Number 028 032 051 533 036 040 031 044 048 050 052 112 056 084 204 060 064 068 070 072 074 076 086 096 100 854 108 116 120 124 132 136 140 148 152 156 162 166 170 174 178 184

Page 50 Page 50

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Country Costa Rica Cote D'ivoire Croatia Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic East Timor Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France France, Metropolitan French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guinea Guinea-Bissau Guyana

PCL Barcode Server PCL Barcode Server for SAP R/3


Number 188 384 191 192 196 203 208 262 212 214 626 218 818 222 226 232 233 231 238 234 242 246 250 249 254 258 260 266 270 268 276 288 292 300 304 308 312 316 320 324 624 328

Page 51 Page 51

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Country Haiti Heard And Mc Donald Islands Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Jamaica Japan Jordan Kazakhstan Kenya Kiribati

PCL Barcode Server PCL Barcode Server for SAP R/3


Number 332 334 340 344 348 352 356 360 364 368 372 376 380 388 392 400 398 404 296 408 410 414 417 418 428 422 426 430 434 438 440 442 446 807 450 454 458 462 466 470 584 474

Page 52 Page 52

Korea, Democratic People's Republic Of Korea, Republic Of Kuwait Kyrgyzstan Lao People's Democratic Republic Latvia Lebanon Lesotho Liberia Libyan Arab Jamahiriya Liechtenstein Lithuania Luxembourg Macau Macedonia Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Country Mauritania Mauritius Mayotte Mexico

PCL Barcode Server PCL Barcode Server for SAP R/3


Number 478 480 175 484 583 498 492 496 500 504 508 104 516 520 524 528 530 540 554 558 562 566 570 574 580 578 512 586 585 591 598 600 604 608 612 616 620 630 634 638 642 643

Page 53 Page 53

Micronesia, Federated States Of Moldova, Republic Of Monaco Mongolia Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Reunion Romania Russian Federation

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Country Rwanda Saint Kitts And Nevis Saint Lucia

PCL Barcode Server PCL Barcode Server for SAP R/3


Number 646 659 662 670 882 674 678 682 686 690 694 702 703 705 090 706 710 239 724 144 654 666 736 740 744 748 752 756 760 158 762 834 764 768 772 776 780 788 792 795 796 798

Page 54 Page 54

Saint Vincent And The Grenadines Samoa San Marino Sao Tome And Principe Saudi Arabia Senegal Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia And The South Sandwich Islands Spain Sri Lanka St. Helena St. Pierre And Miquelon Sudan Suriname Svalbard And Jan Mayen Islands Swaziland Sweden Switzerland Syrian Arab Republic Taiwan Tajikistan Tanzania, United Republic Of Thailand Togo Tokelau Tonga Trinidad And Tobago Tunisia Turkey Turkmenistan Turks And Caicos Islands Tuvalu

GmbH e-bizco.com e-bizco.com GmbH Copyright Copyright2002-2008 2002-2008


Country Uganda Ukraine United Arab Emirates United Kingdom United States

PCL Barcode Server PCL Barcode Server for SAP R/3


Number 800 804 784 826 840 581 858 860 548 336 862 704 092 850 876 732 887 891 180 894 716

Page 55 Page 55

United States Minor Outlying Islands Uruguay Uzbekistan Vanuatu Vatican City State Venezuela Viet Nam Virgin Islands (British) Virgin Islands (U.S.) Wallis And Futuna Islands Western Sahara Yemen Yugoslavia Zaire Zambia Zimbabwe

You might also like