Printing 1 Label But 3 Come Out Of Printer
-
Peter Thane
★ BarTender Hero ★
Not sure, but does your label design include any layers and or extra templates and what does your trigger file look like (has it multiple/3 lines with only the last line including the data) ?
0 -
Pablo Reyes
★ BarTender Hero ★
Hi! Peter.
The label only has one layer, same case on Template.
The data on the file has only 4 lines:
%BTW% /AF="D:\Bartender\Label\Pilot\BTL01 - KIT.btw" /D="<Trigger File Name>" /PRN="ZDesigner S4M-203dpi ZPL (redirected 1)" /R=3 /C=0 /P
%END%
"_OV","_OT","_Cust","_Part","_UDM","_PartDesc","_Cant","_Etiq"
"8807","023888/023886/023889/023887","J. GUADALUPE ALCARAZ LOPEZ","MG-2641-KIT-00058","KIT","KIT-BIBI-POLVIZ","500000","Etiqueta Kit -Maestra-"0 -
Peter Thane
★ BarTender Hero ★
The output doesn't look to be correct, as the C = 0 is telling BarTender not to print any labels
The R = 3 is also incorrect as that is telling BarTender that the records/data starts on line 3 of the trigger where that is actually the header line so that should be R=4.
If you cannot change what your system is outputting you could add two Search and Replace commands prior to the command to process the Commander Script. The first of these could look for the "R=3" and replace with "R=4" and the 2nd to change the C=0 to C=1
0 -
Pablo Reyes
★ BarTender Hero ★
I've changed the fields that you told me, but it still printing 3 labels.
The data:
%BTW% /AF="D:\Bartender\Label\Pilot\BTL01.btw" /D="<Trigger File Name>" /PRN="ZDesigner S4M-203dpi ZPL (redirected 1)" /R=4 /C=1 /P
%END%
"_OV","_OT","_Cust","_Part","_UDM","_PartDesc","_Cant","_Etiq","_Barcode"
"8807","023888/023886/023889/023887","J. GUADALUPE ALCARAZ LOPEZ","MG-2641-KIT-00058","KIT","KIT-BIBI-POLVIZ","500000","Etiqueta Kit -Maestra-","MG-2641-KIT-000580233492023023012T"0 -
Peter Thane
★ BarTender Hero ★
Quick question, why is the page size on your screenshot completely different to the label size?
If you can control the output from your system, is there any reason why use are setting up the system to use legacy Commander Script files? Using an integration built using Integration Builder, the printer name and label name can now be included in the data string as data elements and so you no longer need the %BTW% and %END% brackets and information. You can also include multiple lines in the trigger files where these data fields change from line to line.
In the image below the label name is made up of two elements taken from a couple of fields in the label and once the file trigger is connected these can be declared by using the insert variable option (the .btw could be part of the data string too but isnt in this instance)
0 -
Pablo Reyes
★ BarTender Hero ★
I've actuallly changed the size of the label, and still same.
Let me change the first colums and delete the %BTW% and %END%
0 -
Pablo Reyes
★ BarTender Hero ★
Done Peter, the label only prints once, just remove the %BTW% %END%, change the R=4 to 3 and it works
0
Please sign in to leave a comment.
Comments
7 comments