on 08-18-2010 11:39 PM
Hi All,
I'm trying to create a label that will print in landscape format. I'm creating my label as a smartform. I know from sap note 750772 that the only way I can print the label in landscape format is via command S_LZPL_SETUP '^FWR'.
This command works as in the label prints landscape but the text is appearing at the bottom of the landscape page rather than the top and the text is overlapping. I've put the text at the very top of the portrait page, if i put it anywhere else it doesn't even appear on the landscape output.
So my question is how do you lay out the form in portrait and get it t look right. Is there something I'm missing?
Have been working on this now for 2 days and I'm more than a little frustrated. So any guidance no matter how insignificant will be gratefully received!
Thanks in advance,
Liz.
Hi Liz,
Did you make sure that your Basis Team has updated the correct ABAP driver for the respective Zebra Printer?
Regards,
Jegan Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I need your help, i am also trying to rotate a text along with its window. With the help of ^FWR i am able to rotate a text, but i want to rotate window using ^LRY but not succeed.
Could you please help me on this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi LIZ,
I arrived at your thread while looking for additional guidance for landscape printing on zebra printers. I face exactly the same problem as you did. IS it possible for you to send me some examples from your exercise? It would help a lot.
Thanks in advance,
Toine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Toine,
Poor you, I feel your pain!! It literally is a trial and error situation. But here are some tips that I have learned:
1. You design in portrait and then issue a command that will rotate everything 90 degrees so it will appear landscape. This is the command S_LZPL_SETUP '^FWR'
This has no effect on barcodes however as they are set to portrait/landscape in se73.
2. Each item you want output should be put in it's own window. This is so you can be absolutely sure of the position.
3. Start with one window and place that where you want it and work from there.
4. Moving a window UP in portrait causes it to move LEFT landscape.
Moving RIGHT portrait = moves UP landscape
Moving DOWN portrait = moves RIGHT landscape
Moving LEFT portrait = moves DOWN landscape
I do have examples that I would be happy to send onto you if you could send me your address.
Best of luck,
Liz.
Edited by: Liz O'Leary on Oct 14, 2010 10:18 AM
It is literally a trial and error situation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liz,
We had some success with this. Did you make separate windows for each line of text and place the windows in this position in te smartform? i would try first with a simple example, just one window and build from there.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liz,
The ZPL-II command '^FWR' can turn single elements by 90 degrees. But only the fields are turned, not the complete page. So the positions of all fields must be re-calculated. You have to completely redefine your Smartform.
In the ZPL2 printer language there is no printer command, by which the complete print can be turned by 90°. Because this command does not exist, SAP cannot turn the complete print and therefore it cannot print in Landscape format with these device types. See note 750772 about this restriction.
You should define different windows with each text, where the upper left corners have the correct positions. Because it will be Landscape, the first window should start eg: at Line 1, Column 12, the second window should start at Line 1, Column 11, the third window should start at Line 1, Column 10 etc.
Then you should fill the texts into the Windows. The texts will overlap in the preview, because they are only turned during the print.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Aidan,
Firstly thanks a mill for the response. To say that this has been a nightmare would be an understatement.. Who'd have thunk just trying to print a label in landscape could cause so much bother!?!
Anyway, just wanted to ask you a couple of questions..
So say I want something to appear at the top of my landscape label, should i put it in the far top right of my portrait page? If I could just get the right starting point I'd be happy..
This is so annoying...
Thanks a mill,
Liz.
Hi Liz,
Yes, I think you need to put it at the top right in it's own window. The for the text below that you need to place it in another window
to the left of this and overlapping the first window.
The print preview will show the text overlapping if the print is going to be correct.
Regards,
Aidan
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.