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

Print Zebra Label using smartform doesn't work

Former Member
0 Likes
919

Hi all,

I'm not able to print a Zebra label using smartform.

I defined Page format as DINA4, in the main page I created a Window in which I put a dynamic text in which I pass a table type TSFTEXT.

In this table I passed my ZPL code but the printer print only the ZPL code and is not able to convert it in the zebra label.

Before that I passed the zpl in an elementary text but it was truncated at 255 characters, so I changed it in a dynamic text and passing it a table defined as above I am able to see all zpl code.

I already test the zpl code and it is right.

Could anyone help me and tell me how do I have to define my smartform?

Thanks

GN

Hi all,

I'm not able to print a Zebra label using smartform.

I defined Page format as DINA4, in the main page I created a Window in which I put a dynamic text in which I pass a table type TSFTEXT.

In this table I passed my ZPL code but the printer print only the ZPL code and is not able to convert it in the zebra label.

Before that I passed the zpl in an elementary text but it was truncated at 255 characters, so I changed it in a dynamic text and passing it a table defined as above I am able to see all zpl code.

I already test the zpl code and it is right.

Could anyone help me and tell me how do I have to define my smartform?

Thanks

GN

1 REPLY 1
Read only

former_member539238
Participant
0 Likes
607

Try like this, add the bar code font to smart style of the smart form( Better to use character style so that other texts can be displayed). Then give the style of the number or variable as specified in the smart style. It worked for me. For further information go here Demo on bar code printing using SAP Scripts/Smart forms