Obracanie tekstu na etykiecie w SMARTFORMS.
-
- Posty: 16
- Rejestracja: wt kwie 12, 2022 12:42 pm
- Has thanked: 4 times
- Been thanked: 5 times
Obracanie tekstu na etykiecie w SMARTFORMS.
Witam serdecznie, tak jak w tytule przychodzę z pytaniem jak obrócić tekst w smartforms o 90 (stopni), 180 (stopni) i 270(stopni). Pilnie potrzebuję jakieś rady. Z góry wszystkim dziękuję i pozdrawiam serdecznie.
-
- Posty: 1010
- Rejestracja: pt mar 14, 2008 12:51 pm
- Has thanked: 70 times
- Been thanked: 290 times
Re: Obracanie tekstu na etykiecie w SMARTFORMS.
Temat nietrywialny. Pewnie najłatwiej wrzucić bitmapę z obróconym tekstem, ale jeśli nie ma być statyczny to tu punkt zaczepienia:
https://answers.sap.com/questions/95519 ... forms.html
https://answers.sap.com/questions/95519 ... forms.html
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