Specifying width in SAP bar codes
InfoPrint Manager lets you modify bar code width using the same command syntax provided with the Page Printer Formatting Aid (PPFA) product. By modifying the barcode.tab configuration file to use the ModWidth parameter, you can change the width of bar codes and the wide-to-narrow ratio.
- ModWidth
- Specifies the width of the smallest defined bar code element, using mils (thousandths of an inch). For bar code types that explicitly specify the module width (for example, POSTNET and RM4SCC), this field is ignored. The range of values allowed is 1 to 254. If ModWidth is not specified in the barcode.tab file, the sap2afp transform uses the defaulted bar code width.
- n
- Specifies the width of each module, using thousandths of an inch (1/1000) as the unit of measure.
- Ratio
- Specifies a percent value in the form nnn. For example,
200
represents a ration of2.5
to1
. For most bar code symbols, the Ratio value should be between 200 and 300. For bar code types that explicitly specify the module width (for example, POSTNET and RM4SCC), this field is ignored. If Ratio is not specified, the default ratio for the bar code symbol is used. This value must be a three-digit character between100
and 500.
To shorten an existing bar code, you can specify this line in the barcode.tab file:
BarCode = BC_CD39 Type = 001 Mode = 001 Ratio = 2000 ModWidth = 10