Custom Barcodes


Custom Bar Codes Normally barcodes on drawings contain the letter K followed by the job number and the six-character control number. This is the configuration required by SpoolFab's own barcode-based status updating. You do not need to use custom barcodes at all if you are using the built-in system.

It is also possible to customize one or both barcodes for use with your own tracking system. For example, if you include in the layout the lines

BarCodeCustom1= K+J+C BarCodeCustom2= K+J+C This will give you the same barcodes that you would get by default. If you use BarCodeCustom1= JOB+C3 you will get just the job number followed by the last three characters of the control number.

To get just the control number plus the revision number, have a line in the layout that reads:

BarCodeCustom1= C+R

Note that the revision number is 0 when there are no revisions, then 1, then 2 etc. In the barcode, the revision is always represented by two digits, so it will be 00, 01, 03 etc.

If you need to include the literals C, J, R, S, or P in the template, enter them in lowercase. Otherwise C will be assumed to mean control number, J will be taken as job number, and S as spool number.

Adding “BarCodeLengthPercent=110” to the layout will make the barcode print ten percent longer than normal. Other percentages work too.

Adding “BarCodeHeightPercent=200” to the layout will make the barcode print at twice the normal height, which may make it easier to read. Other percentages work too.

Suppose you normally use just three digits of the control number, so you use Job+C3 to make a barcode of the Job No. plus the last three digits of the control number. But now you want to build 62A, 62B and 62C as one spool, so you want to include them as 062A, 062B etc. The solution is to use the custom barcode Job+C3A. This makes the barcode include one extra character of the control number, IF the final digit is a letter.

If BarcodeCustom1 is used, the control number in tiny print in the bottom left corner is replaced with the text content of the barcode. This is used by systems that need to search pdfs or separate them into individual drawings.

When you print sheets of barcodes from the Status window using File/Print Barcodes, you can now edit the layout of the printed barcodes. A javascript splitting routine for use with Adobe Acrobat is available on request.