Application Development 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: 

Print in a smartform a window in vertical mode

former_member480606
Participant
0 Kudos

Dear all,
            I'd like to print in a smartform a text in a window in vertical mode also if the first page is setted as Landscape Format.

Please don't answer me to print the text 'Hello' as H
                                                                        e
                                                                         l
                                                                         l  
                                                                        o

I tried to insert in the window the command 'SPORT' in the field 'Include Printer Control' before the text that I want to print vertically and after the text the command  'SLAND' but anything happens


Any idea to help me?

Thank you

                        Gino

8 REPLIES 8

vladimir_erakovic
Contributor
0 Kudos

HI Gino,

As far as I know it isn't possible to write vertical text in Smartforms. Alternatively, you can insert a picture with vertical text from some editor (eg. Paint).

Regards

bastinvinoth
Contributor
0 Kudos

Hi Gino Bonfiglioli

AFAIK its not possible


Gino Bonfiglioli wrote:

Please don't answer me to print the text 'Hello' as H
                                                                        e
                                                                         l
                                                                         l  
                                                                        o

May i know why ?

normally how we are displaying the form 

0 Kudos

Yes you may.

The end user asked us to print in this way

former_member226234
Contributor
0 Kudos

I do not have access to a system now, so i cannot try this. Just a thought.

Can you make the window width small to print one character and increase the height. Then have the text properties set to Wrap text. I think if the width of the window is small, the text is written in the next line?

Just a thought. Happy Friday .

Former Member
0 Kudos

Hi Gino,

I beleive it is not possible in SmartForm, alternatively you can print it through any image.

If your text is not fixed, you can take help from any online API to convert you text to a varticle image.

Thanking You All.

Enjoy SAP.

Former Member
0 Kudos

If you're talking about rotating text within a Smart Form, we have accomplished this by implementing JetCAPS BarDIMM (see http://www.makebarcode.com/reviews/addin/barsimm2.html).  There is a special printer module (DIMM), when inserted into the printer, which allows you to send escape sequences and information through the regular ABAP spooler to your HP printer.  The special DIMM allows Smart Forms to rotate text and do other text manipulation.  A simple command would look like this to rotate your text 90 degrees:

~&a90p

Other commands allow for exact position (X,Y coordinates) of your text information and variables.  The following escape sequence would print the sales document number at a specified location on your Smart Form and use a specific font size and weight:

~*p50x1600Y~(s1p12.0v0s0b16602T&'Order Number:  'VBAK-VBELN&~(

The simpler approach to text rotation would be Adobe printforms.  This has built-in rotation capabilities (t-code SFP).  You would have to have an Adobe Document Service setup and available on your system before you would be able to use Adobe printforms in your system.

0 Kudos

Hi John,

Woou,, thanks alot for the information......!!!!!!!!!!!

I was not aware of this......!!!!!!!!!!

Thanking You All.

Enjoy SAP.

Former Member
0 Kudos

Hi Gino,

You can try out with a Template created inside a Window and then to dynamically assign the possition to your text.

So, in one box of your template, you can only put one letter and the coordinates for the texts containg the letters will be dynamically decided.

Infact, this is how we are printing Dynamic font in Smartform, so this idea clicked in my mind.

Yes, it will be a bit complex, but I do not find any other way to acheive.

Pls post, if you need any more help for this implementation.

Thanking You All,

Enjoy SAP.