本文共 3121 字,大约阅读时间需要 10 分钟。
There are 5 possibilities to print barcodes, each of them coming with rather restrictive requirements:
- using New Barcode Technology :
- it was originally available only for (see ), but was brought to SAPscript forms, from 7.0, with
- On a printer that can print barcodes natively using commands
- It is available for example on Zebra printers, Kyocera FS-1500, etc.
- You have to create a system barcode (SE73 transaction) based on the so-called old barcode technology (you must enter the printer commands in SB*** print controls for each device type, if SAP does not provide them), and create a character format in your SAPscript that refers to this system barcode.
- It doesn't work with Frontend printing as the barcode printer command is valid for only one printer model (or printer language). More precisely, it might work, but only if the user chooses to print on this printer model. For a workaround, see barcode.dll below.
- Purchase and install a barDimm in the printer (only a few models are supported). It will then work as if the printer is able to print barcodes natively, see first possibility (above).
- : SIMM/DIMM hardware modules (firmware?) you need, which printers are supported, description of sapscript bar codes according to PDL. Jetmobile BarDIMM (previously JetCAPS BarDIMM), Lexmark OPTRA Bar code SIMM. Actions of all SAPscript drivers on print control codes (like adding quotes or parentheses around the code).
- : gives some general explanations: "SAPscript has an upper limit of 70 characters which can be maximally transferred as data to be output for a bar code" (see also )
- For using frontend printing, purchase barcode.dll software which will transform barcode into graphic
- : "The SAPSprint or SAPFprint delegates the task of printing barcodes to an external DLL. SAP does not provide a barcode DLL." This note contains technical specification that barcode DLL needs to implement (parameters of functions BarcodeInit and BarcodePrint). It also gives the names of 3 vendors.
- : In releases 7.01 to 7.11, many SWIN device types were delivered without barcode codes
- Use fonts which simulate barcodes. For some symbologies, like EAN-13, you will have to develop an algorithm because a same digit is coded using several "characters" according to its position. For example, in EAN-13, each digit may be coded using 3 bar sequences according to the digit position and to the first digit value.
Barcodes appear correctly only on printout, but only a simulated rectangle made of black and white stripes is shown in print preview and in conversion of form into PDF.
Prefer to use smart forms and new barcode technology if the barcode symbology is supported. New barcode technology is not available for SAPscripts.
- : it provides detailed approaches for the following printer models and other ones (a list is provided for each manufacturer): Avery TTX 450, CAB Apollo 2, Intermec Easycoder 501 XP, Intermec Easycoder 4420, Printronix T 3204, SATO CL408, Zebra Z4000. In all these cases, the manufacturer provides their own software used to design labels, which generate a file that you have to download to SAP.
转载地址:http://domaf.baihongyu.com/