Print From Text 追蹤

0
Avatar
Legacy Poster

I managed to send a text to printer and get barcodes.

The text Im sending is as below.

 

{D0630,0400,0600|}
{AY;-07,0|}
{C|}
{PV00;0080,0040,0028,0028,B,11,B|}
{PV01;0016,0040,0028,0042,B,11,B|}
{PV02;0288,0040,0042,0042,B,11,B|}
{PV03;0181,0040,0028,0028,B,11,B|}
{PV04;0232,0040,0028,0028,B,11,B|}
{PV05;0131,0040,0028,0028,B,11,B|}
{RV00;SIP AD:#SIPADEDI#|}
{RV01;Adet:#ADET#|}
{RV02;Sip. no:#SIPNO#|}
{RV03;U.K:#URUNKODU#|}
{RV04;R. no:#RNO#|}
{RV05;Bdn:#BEDEN#|}
{XS;I,0001,0002C4201|}
TEC BARCODE PRINTER PAGE END
TEC BARCODE PRINTER JOB END

 

 

its generated by bartender. I replace the special characters and send it to printer.

it works fine for 15-20 barcodes. But if its 150 barcodes, I send all of them at once to the printer and for some reason printer prints only 15-20 of them, selected randomly between them.

I think it maybe because there is a max queue number or printer cant handle this kind of queue.

Can you think of a solution here?

Maybe instead of creating 150 instances here, make a single instance, containing all barcode informations?

7 意見

0
Avatar
Ian Cummings
版主
評論操作 永久連結

Are you trying to print 150 barcodes for a single label, or in technical terms, to print 150 barcodes per issue (XS) command?  Or are you sending multiple print jobs of the print code above, be it in the same file, or split between multiple files that get sent to the printer?  How are you sending the merged print code to the printer at print time?

0
Avatar
Legacy Poster
評論操作 永久連結

I do not merge them, I send 150 seperate text at once.

Can you tell me how to merge it, what is the seperator if I want to merge text?

0
Avatar
Ian Cummings
版主
評論操作 永久連結

By merge, I mean your template printer code file combined with the variable print time data.

 

To confirm, each of your print jobs is for a single label print quantity, so if you want to print 150 labels you generate 150 separate files like in your initial post?

 

How are the print jobs being sent to the printer and what type of printer port/cable is in use?  To me it sounds like you're not using the Windows spooler system which is why print jobs are not getting queued properly, and indeed ultimately lost.

0
Avatar
Legacy Poster
評論操作 永久連結

Its connected by LPT and I actually dont know what protocol I'm using, Our erp program has a command like printtext and does the job.

I think if I cant concatenate all the texts and send them together it will work.

In first topic I have the text Im sending. Its created by bartender, but I dont know the structure, there is variables in between, and job end command for the last command. If I can merge the texts appropriately it would be a valid single text file telling printer to print 150 barcodes therefore there would be no queue.

0
Avatar
Ian Cummings
版主
評論操作 永久連結

The command {XS;I,0001,0002C4201|} is the issue command that also specifies the print quantity of the job.  The second parameter sets the quantity (0001) and here we can clearly se a print quantity of one.  If you want 150 identical copies to print, then you would set this parameter to 0150 giving a full command of: {XS;I,0150,0002C4201|}

 

If on the other hand your're sending the print code, as in your first post, 150 times using a non-spooled print system (like the Windows print spooler), then at some point the print buffer is going to fill up and print jobs will be lost.

0
Avatar
Legacy Poster
評論操作 永久連結

And about concatenatng the text's, What about im sending 150 different barcodes, not identical?

Is it possible to merge them as well?

0
Avatar
Ian Cummings
版主
評論操作 永久連結

You need to start reading the below white paper and associated BarTender HELP documentation on Printer Code Templates:

 

http://www.seagullscientific.com/label-software/whitepapers/exporting-printer-code-templates-201406.pdf

登入寫評論。