Skip to Content
0
Former Member
Mar 17, 2010 at 04:24 PM

SmartForm Barcode Label To Zebra Printer-How To Cut/Tear Cmd In One Spool?

507 Views

I am trying to print barcode labels from a SmartForm to a Zebra ZM400 Label Printer with a cutter installed. I am passing the number of copies to the form. In my case, it is 12. I need 12 labels to print and after the 12th label a cut to occur.

It seems that I am only able to issue one command per spool file. The only way I have had any success is to call the form with copies = 11 with the form and a hardcoded command of S_LZPL_SETUP_PM = 'T' for tear and then call a copy of the form with a copy of 1 with a command of S_LZPL_SETUP_PM = 'C'. The S_LZPL_SETUP_PM command is directly in the Smartform and hardcoded. Form1 has a T command with 11 copies and Form2 has a C command with 1 copy hardcoded appropriately.

The problem is that I get two spool files by doing this and when rapidly sending data to the printer, the spool files get out of sequence and the labels don't come out in groups of 12 with a cut.

Has anyone had this requirement before and if so, how were you able to cut your labels accordingly within one spool file.

Thanks

Edited by: Randy Dyer on Mar 17, 2010 5:25 PM

Edited by: Randy Dyer on Mar 17, 2010 5:36 PM