Is it possible to add printer commands to a field? Follow
I have to embed a serialisation number along with other data in a Code128 barcode and also display that number in a separate text field. I need to use the printer to increment the numbers but bartender insists on sending down 9999 individual labels. I know I have bartender options set correctly as I can remove the barcode and print with just the text field. This sends just one label design that the printer can print multiple copies and the printer increments as each label is printed. I can also have the printer increment correctly if I remove the serialisation from within the barcode, using fixed data only.
I know from sending a label design from old VB3 code that I can send the barcode field information to my printer. If I add a carriage return then '+01' to the field string the printer will then increment both the barcode and text locally.
Is there any way in vbscript that I can get access to this low-level field information for the barcode, add my CR+01 to it and continue the print? Note it's no use adding it to the label field as before it goes to the printer it is formatted with printer font info, position on label etc. It needs to be added just before the final formatted strings are sent to the printer.