Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I code Tear-off in ZPL II?

Status
Not open for further replies.

ZPLprogrammer

Programmer
Jul 19, 2006
3
US
Can't seem to get the cutter to move to desired position. Can set printer config. manually but want to include the tear-off as part of the label format. Trying the TA but not having any success. Any ideas?
 
No, no XB present. Here's the code I'm trying to no avail. Note the TA+56.

~CC¬
¬XA¬JMA¬FS¬XZ
¬XA¬SS,,,0870¬FS¬XZ
¬XA¬MTT¬FS¬XZ
¬XA¬MNW¬FS¬XZ
¬XA¬MMC¬FS¬XZ
¬XA¬TA+56¬FS¬XZ
¬XA¬MD+19¬FS¬XZ
¬XA¬LT-64¬FS¬XZ
¬XA¬PRB¬FS¬XZ
¬XA¬IDR:*.LGO¬XZ
¬XA¬IDR:*.*¬XZ
¬XA¬MCY¬XZ
¬XA¬LH0000,0000¬FS¬PON¬FS
¬FO0021,0411¬A0N,0041,0051¬FDSize :¬FS
¬FO0033,0531¬A0N,0028,0030¬FDDpt/Cl¬FS
¬FO0318,0531¬A0N,0028,0030¬FDSeason¬FS
¬ISLB,N¬FS¬XZ¬XA¬MCY¬XZ¬XA¬ILLB¬FS
¬FO0000,0000¬AAN,0000,0000¬FD ¬FS
¬FO0057,0270¬BY4,2,100¬BUN,0090,Y,N,Y¬FD007311040351¬FS
¬FO0021,0195¬A0N,0041,0051¬FDDB-142 SMART XX¬FS
¬FO0018,0234¬A0N,0041,0051¬FDBLUE CHECK PATT¬FS
¬FO0138,0411¬A0N,0041,0051¬FD16.5 34¬FS
¬FO0282,0792¬A0N,0057,0068¬FD29.99¬FS
¬FO0039,0654¬BY2,2,100¬BCN,0090,N,N¬FD900780100005950¬FS
¬FO0045,0495¬A0N,0028,0030¬FD0781¬FS
¬FO0351,0492¬A0N,0028,0030¬FDE3¬FS
¬PQ0001,0000,0000,N¬FS¬MCN¬XZ
 
I'm not sure what the punctuation character is before each command as displayed here. Make sure you are using ~TA with a tilde in the real file.

The only thing that comes to mind is that you may have to pad the distance with a 0 to make it 3 digits, So try...

~TA+056

or

~TA056

Maybe it doesn't like the "+"

Jim Asman
 
For some reason, our label software (TL Ashford) replaces the carat with that other character. I'd actually discovered that I needed a tilde for the TA prior to your reply.

But it was the 3 digits that did the trick. I just assumed that it was a max of 3 digits, not a requirement. I saw that other commands worked that way. But as long as it works, I'm happy.

The resolution was:

¬XA~TA056¬FS¬XZ

Thanks for your help. You're a genuis!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top