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

Working with zebra print forms using smartform

Former Member
0 Likes
6,379

I could able to rotate 90 degrees all text windows and getting in required format when i use command like

S_LZPL_SETUP = '^FWR'.

But logos and barcodes are not working means not rotating , please help me if any one got an idea ?

Thanks,

Mahesh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
5,464

Hi,

Goto SE73 and select the Barcode which ever you want to use and in the change mode there is an option for rotating 90 degree 180 270 etc...

You should also mention which technology you use to print barcodes (probably a SIMM, so what is it), as there is no standard technology for SAPscript forms. So the solution will depend on that external technology.


Hi,

Goto SE73 and select the Barcode which ever you want to use and in the change mode there is an option for rotating 90 degree 180 270 etc...

You should also mention which technology you use to print barcodes (probably a SIMM, so what is it), as there is no standard technology for SAPscript forms. So the solution will depend on that external technology.


17 REPLIES 17
Read only

Former Member
0 Likes
5,464

Hi,

Follow the below steps.

-> Create the Print controls for output device using SPAD transaction. follow the below procedure

     SPAD(txn) -> device attributes-> double click on device type->print controls tab-define the control as mentioned below.

-> go to your smartform under the barcode window create the command node. Provide your print control as mentioned below.

  

-> If you want to rotate the text use below method. Create the program lines and use the FM STRING_REVERSE logic.

Example below. ( dummy data for your understanding ).

I hope it will work

Thanks,

Kiran

Read only

0 Likes
5,464

Read only

0 Likes
5,464

Kiran,

thanks for your FM but this string reverse works for only text elements right i am done with that.

I am trying to work on Logo and Barcode to rotate 90 degree.

Thanks,

Mahesh

Read only

Former Member
0 Likes
5,465

Hi,

Goto SE73 and select the Barcode which ever you want to use and in the change mode there is an option for rotating 90 degree 180 270 etc...

You should also mention which technology you use to print barcodes (probably a SIMM, so what is it), as there is no standard technology for SAPscript forms. So the solution will depend on that external technology.


Read only

Former Member
0 Likes
5,464

Hi Mahesh,

I have worked on such requirement. I had used rotated barcodes in this case.

Kindly let me know if you have any queries.

Regards,

DN.

Read only

0 Likes
5,464

Deepak,

Thanks and this document looks good.

But how do i create rotated bard code is not explained.

Please correct me if i missd.

Thanks,

Mahesh

Read only

0 Likes
5,464

Hi Mahesh,

I had mentioned that i had used rotated barcodes in this case. You can do that in tcode SE78 for logo and change mode and SE71 Barcodes, rotate by 90. Hence you will get the barcode vertical always and with FWR command it will turn all your text and all you need to do is align everything such that it looks perfect.

Regards,

DN.

Message was edited by: Deepak Nagar

Read only

Former Member
0 Likes
5,464

Hi Mahesh,

By using the command - S_LZPL_SETUP = '^FWR' , you can only rotate the TEXTS.

Logos and Bar codes will not be rotated.

You need to use a rotated logo to print it in the smart form.

You need to rotate the logo vertically by 90 degrees and then upload it in to SAP using SE78 and then use this logo to print it in the smart form output.

Regards,

Narayana Reddy A V L.

Read only

0 Likes
5,464

I will try rotate logo vertically upload and check... thanks for your advice.

Read only

0 Likes
5,464

Hi Mahesh,

Were you able to resolve the issue by rotating the image and uploading it to the SAP system. I am facing a similar problem with my logo but I am not sure whether image rotation will help.

Also while rotating the image, do I need to change the position of the Logo as well in the smartform or it will automatically align with the texts?

Help would be appreciated!

Regards,

Dhaneshwari Pareek

Read only

0 Likes
5,464

keep all your attributes like texts in separate windows and print and align them as per the print you see..  mostly you need t overlap all the windows and adjust the height etc.. just keep prating and adjust..

Read only

Former Member
0 Likes
5,464

Hi Mahesh,

The following document may help you, which is documentation manual for Zebra printing from Smart forms.

http://www.zebra.com/content/dam/zebra/product-information/en-us/brochures-datasheets/sap/sap-smartf...

Hope it will help you.

Regards,

Narayana Reddy A V L.

Read only

0 Likes
5,464

Thanks Naryana.. i do gone through this document.

But not sure how do i rotate logo and barcode.

Read only

0 Likes
5,464

I got another issue.

while printing material description it is printing one part in one line other part in other line.

its all one string.. with big length about 40 chars.

i used rotate command 90 degress in main window working for all ... but when material desc is longer its getting split.

Thanks,

Mahesh.

Read only

0 Likes
5,464

Hi Mahesh,

If the description is too long, either reduce the font or cut the desc short to characters that fit in one line. Or if you are able to see it correctly and you need it that way, adjust the layout such that it leaves one line for description extra, which will be left blank if the desc is short and filled if long.

Hope this helps.

Regards,

DN.

Read only

0 Likes
5,464

Thanks Deepak,

if i reduce the font or any other way it is not working.

i split them into two window with size of 20 chars and put side by side it works great !!!

Thanks,

Mahesh

Read only

0 Likes
5,464

hi Mahesh,

Yes, but in that case if your description is less than 20 chars, your second window will be left blank. I hope that should still look OK. that's what i meant in last option.

Regards,

DN.