Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Inverting Smartform output on Zebra Printer

former_member221770
Contributor
0 Likes
2,383

Hi Gurus,

I am printing a SmartForm on a Zebra LP 2844-Z Thermal Printer. The label is coming out fine. However, due to the nature of my thermal labels (there is a small insert that you peel off separately) I need to print the label upside down.

I have included a COMMAND node in my SmartForm with 'S_LZPL_SETUP' in the Attribute Field and '^POI' (Page Orientation Inverse) as the Attribute Value. When I print out the SmartForm, the labels are still the wrong way around!

I am using the ZLZEB2 (ISO 8859-1 (Latin) 203 dpi ZPL-II) driver.

Any assistance or thoughts on this will be much appreciated.

Thanks,

Pat Yee.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,428

Why didn't you put the command into your ZPL script

Instead of using a smartforms command ?

When i make ZPL label i usually use an empty smartforms with

a text element with my ZPL code.

Sincerely

Christophe Blineau

Hi Gurus,

I am printing a SmartForm on a Zebra LP 2844-Z Thermal Printer. The label is coming out fine. However, due to the nature of my thermal labels (there is a small insert that you peel off separately) I need to print the label upside down.

I have included a COMMAND node in my SmartForm with 'S_LZPL_SETUP' in the Attribute Field and '^POI' (Page Orientation Inverse) as the Attribute Value. When I print out the SmartForm, the labels are still the wrong way around!

I am using the ZLZEB2 (ISO 8859-1 (Latin) 203 dpi ZPL-II) driver.

Any assistance or thoughts on this will be much appreciated.

Thanks,

Pat Yee.

5 REPLIES 5
Read only

Former Member
0 Likes
1,429

Why didn't you put the command into your ZPL script

Instead of using a smartforms command ?

When i make ZPL label i usually use an empty smartforms with

a text element with my ZPL code.

Sincerely

Christophe Blineau

Read only

0 Likes
1,428

Hi Christophe,

Thanks for replying to my post. Coding in the ZPL script would have been my last resort. I felt using Smart Forms gave me better control on the positioning of the text elements and from all the literature that I have read Zebra claim that you can use a Smart Form to design a label and use their drivers to convert the Smart Form into ZPL code for te printer.

Anyway, the good people at Zebra have replied to my query and have told me that my ^POI command was getting overwritten by a ^PON command that was being hardcoded in the ZPL code (this is from the Drivers). To overcome this I had to define the Smart Form page as "Landscape" and then the ^POI command is used!

Not sure why this happens but for the moment I am happy because it works! When I get some time I will investigate this further.

Cheers,

Pat.

Read only

0 Likes
1,428

Hello,

May you explain how do you do that?

I need to rotate some text in a smartform but i can´t do it.

I have create a smartform with a text element with my zpl code but it writes the code as text in the form.

any other idea to rotate text in smartforms with ZEBRA printers?

Printer: ZEBRA Z6M Plus

Driver: ZLZEB2 & ZLZEB3

Thanks!!!

Read only

0 Likes
1,428

Hello,

Please let me know, if you found any solution for you problem. I am using the same printer.

The Tips and Tricks of Zebra

(http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/13760L_SAP_Smart_Forms.pdf)

on page 40 didn't work. I just want to print two texts vertical. The rest of the lablel should be printed normal.

Bye!

-

-


Now I have a solution for the rotation problem. For rotation single fields of the lable you have to create new print controls of your Z* Printer driver device. In this new control you can add the ^FWR (for rotating °90) and ^FWN (for normal print) print control.

I have tested it and it works.

Thank you smartforms - no more BARONE

Bye!

Silvio Hey

Message was edited by: Silvio Hey

Read only

Former Member
0 Likes
1,428

hi Silvio,

Can you please tell me how exactly u did it..please..it is very urgent

please explain stepwise.