on 09-19-2012 7:36 PM
Hi all,
I've seen several threads explaining how to rotate the text for an entire label but I need to rotate only 2 of 12 windows on my Zebra label output.
When I use the ^FWR command it changes the rotation for the entire label, not just one window. Has anyone created a Zebra label through Smartforms that prints both horizontal and vertical text? See below for an example.
Hi,Jack.
Also i want to set text rotated in my smartforms,But after i insert the Print Control 'ZROT' i counld find it in the smartforms field search help.So,Could you please help me.(I am new to sap)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An easy solution for this could be to save the text as bitmap and just include the picture at the correct spot. I'm sorry, but there is no solution available in Smartforms/Sapscript to rotate the text in an easy way.
You need to check the printcontrols of your printer and see if there is one available and add the printcontrol to your driver (contact your basis-guys, they know what to do here) and afterwards you can do it with a printcontrol as mentioned above.
~Florian
Thank you all...Let me try these once I get the printer information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lavanya,
here is the official zebra documentation how t use and what is possible. With this document you will be able to achive the stuff you need.
Regards
Florian
Hi,
Firtly, in the used device type, you need to create two print controls
containing the commands ^FWR and ^FWN via transaction SPAD:
SPAD -> Full Admin -> Device Types -> e.g. LZEB2 -> tab Print Controls
Here add the new print control commands: e.g.
ZROT: ^FWR
ZNOR: ^FWN
In the smartform, within the window where you need text rotated, create
a new command node by:
right click -> Create -> Flow Logic -> Command Node.
In the command node, there is a field 'Include Printer Control'.
In here enter 'ZROT'.
In the smartform flow, after the rotated text is processed, create a
second command node and issue the second print control ZNOR which
contains command ^FWN. This should turn the text back to normal
orientation.
BR,
Wen Peng
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jack,
I believe adding the ^FWR command via a Print-Control command node in your SF is the way to go. But you need to re-set the rotation to "normal" after your "to-be-rotated" field. Here is what Zebra's ZPL2 documentation says about this cmd:
"The ^FW command only affects fields that follow it. Once you have issued a ^FW cmd, the setting is retained until you turn off the printer or send a new ^FW command".
So you need to somehow achieve that you send a ^FWN after your rotated text which will set the default rotation back to "Normal" = unrotated.
Best regards,
Alexander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) You could create a bitmap picture with the rotated text, and use it with include BMAP command
2) Find a font type that is able to change the words into a vertical orientation (there are upside-down fonts for a 180 degrees rotation, so you might want to do a search for a font that meets your requirement) and then upload to SAP.
3) The last one which might be more viable is to use Adobe Interactive Forms. A colleague told me that one is able to change orientation of text in it (I have not tried it before) but you can do some exploration b4 committing to using it. You don't have to output to PDF to use it. Normal printing is also possible. The T-Code for this is: SFP (type 'S*' for SAP examples, do an exploration on Layout tab, maybe it can provide a new alternative).
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.