BarTender Document Actions - Write File For Each Serial Number.
Hi and Thanks.
I have configured a document-level actions, right now the program is writing a ".txt" file for each serial number printed and in the file name it saves the date and time.
The process right now is:
1- I send to print clicking the print icon.
2- it shows a prompt for select the record (I have a filter in the database setup).
3- In a printing form we input the quantity of serial numbers. (It's configured to print one copy every serial number).
4- Bartender sends the "n" Quantity of printings than we entered in the printing form.
5- The printer is an automatic label applicator, so we send to print the production for all the day and it gets to the applicator and the applicator starts to print every label one by one (in the printer printing spool it have the "n" quantity of labels).
But the issue is:
When we send the "n" Quantity of serial numbers, immediately the actions of the document create "n" numbers of .txt files, but we can't know if the applicator print well all the labels.
We need to:
We need to select the quantity of serial numbers and bartender need to send every label one by one and wait for the applicator to be ready for print the next label, so, the document actions are going to write and save each file ".txt" at the moment of the printing.
It looks like you need some form of flow control on the printer to control when a label needs to be sent. Not sure how the printer is connected but I know there were options like this for serial comms but been a long time since I played with those settings and I cant remember exactly how they worked now.
Can the printer send some form of ASCII request when it wants a new file or after it has printed that can be sent back via USB to the PC?
If so you maybe able to configure the printing operation differently in that you no longer tell the printer how many labels to print you just instruct it to print one each time and input signal message is received. The system will continue to print labels until the data entry form/label is closed0
Vous devez vous connecter pour laisser un commentaire.