Sapscript, turn the window

Hallo,
I have an sapscript, where the pages are in landscape format. In the last page, I want to display the address of the business partner on the back side of the paper, but it must be shown from up to down and not from left to the rigth, because it is used to be displayed in the envelope.
Wrong:
abap street 10
It should be written in the following direction:
a
b
a
p
(but the letters in the rigth direction ...
Thanks a lot,
marcos

hi,
Sometimes you may want to print text vertically. SAPscript itself is not able to print text vertically, but you can inform the printer to do this. To rotate the window during the printing, you need two separate print controls. You have to include the print controls so that they
enclose the content (text, bar codes, graphics) you want to print vertically.
The content of the window should have the following structure.
print-control zm200
  write your text
print-control zm300
The print control ZM200 informs the printer to print the following text vertically. The print control ZM300 informs the printer to return to horizontal printing.
The specific print sequences for the print controls can be found in the documentation of your printer type.
SAPscript, however, interprets the window’s content as horizontal text. Therefore, if you execute the test printing function in SAPscript, the text will be printed horizontal. To check the printout, you have to print the form starting the print program from the application.
To print text vertically, perform the following steps in the recommended order:
1. If necessary, copy a standard printer type
2. Create the print control that informs the printer to print vertically
3. Create the print control that informs the printer to return to horizontal printing
4. Create a new window for vertical printing.
Make sure that the window does not overlap with other windows or stand out of the page during the printing.
5. Include the print controls in the new window
Regards,
Sailaja.

Similar Messages

  • SAPScript:  why the window only show the LAST line

    Dears,
    In my form, one of the window only show the LAST line of the it.
    I have set the window enough space,  also when  debuging the program , open_form, write_form,
    all of those sy-subrc = 0.
    both static texts and dynamic texts are set  in the window,   but only the last line shown.
    Anyone could help me?
    Thanks a lot.
    Sincerely,
    Julie Lv

    Hi,
    There are several possibilities to resolve your problem.
    You can work with 2 main windows on in1 page.
    With NEW-WINDOW you switch to the next main-window
    How to use it.
    make an item in main window with that /: NEW-WINDOW command
    if you are ready with first loop call a WRITE_FORM with that NEW-WINDOW statement.
    to cojntinue in the other main.
    Other possibility is. (in case there are not ot many lines)
    Use for every line other variable names.
    Fill these in the loop. And after loop WRITE FORM
    eg. (if maximum is 3 lines)
    &VAR1_1& &VAR1_2& &VAR1_3& &VAR1_4&
    &VAR2_1& &VAR2_2& &VAR2_3& &VAR2_4&
    &VAR3_1& &VAR3_2& &VAR3_3& &VAR3_4&
    Hope this helps.
    Gr., Frank

  • How can I turn back the suggest option on iTunes when I purchase a song? somehow I close the window and now it doesn't come up

    how can I turn back the suggest option when I purchase a song? somehow I close the window that suggest the song similar to what we purchase on itunes

    NVM!!! Everything is strangely fine now!

  • TS3274 my ipad won"t turn off. there is a small window with an email text in it and it appears frozen on the screen. How can i turn the ipad off?

    my ipad won"t turn off. there is a small window with an email text in it and it appears frozen on the screen. How can i turn the ipad off?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • When I turn on my iPad 1it stops the network connection to my windows xp pro computer. Ican fix the network connection by repairing  the windows machine network.  What is the reason thia is happening?windows

    When I turn on my iPad 1it stops the network connection to my windows xp pro computer. Ican fix the network connection by repairing  the windows machine network.  What is the reason this is happening?windows

    Are you using DHCP to allocate IP addresses via your router or Static IP allocation?
    You may have an IP conflict in your network.
    Check on your various network configuration parameters in your iPad, PC and WiFi router.

  • I wanted to install windows for Mac and I had vista so I put I the disk and installed it then it  loses my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have Ma.

    I wanted to install windows for Mac and I had vista so I put I the disk and installed  followed the steps it then it  closed my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have it so I wanted to go back to Mac I shut it off and it just goes back to windows and asks me to put the box code how do I get rid of it and go back to Mac because no buttons work at the start and i can't take out the disk !! Help

    The two other posts are correct... so I'll just clarify.  What's happening right now is your system is trying to boot into Windows in order to finish the installation.  What you want to do is make it boot into OS X.  As mende1 indicated, with your system off, hold down the Option key and continue to hold it while you turn the system on.  You will eventually be presented with an option to select which partition you would like to boot from.  Choose OS X.  After you get into OS X, again, as mende1 indicated, change the Startup Disk to OS X.  What this will do is cause your system to automatically boot into OS X when you restart it instead of you having to use the Option key when booting each time.
    Relaunching BootCamp Assistant will allow you to remove your Windows installation and partition. 

  • Itunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a new dell computer w/ windows 7 with minimal programs installed

    Itunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a nItunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a new dell, windows 7 ultimate, no virus or firewall programs installed.

    This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
    I live in Europe ,So Be persistent and don't give up !  Aug. 2013

  • My macbook pro (10.6.8 version) the screen turns blue, can not operate, forced shutdown, I installed the windows 7 Home Basic version.

    My macbook pro (10.6.8 version) the screen turns blue, can not operate, forced shutdown, I installed the windows 7 Home Basic version.

    To fix your issue is too complicated and lengthy to go into all of it here, it will require the services of person very familiar and experienced with Mac's to first recover your data and then restore OS X back to a functional state, then hopefully achieve the goals you were attempting.
    I advise you hire the services of a local Mac computer support technician experienced in these matters.
    Have them look at your Wifi and computer backup proceedures in the process.
    Good Luck.

  • Since the latest update, my iTunes is EXTREMELY slow. I'm about to turn to Windows. Can it go back to previous versions?

    Since the latest update, my iTunes is EXTREMELY slow. I'm about to turn to Windows. Can it go back to previous versions?

    Slow in what respect?  Please be specific.
    ClarkeJM wrote:
    Since the latest update, my iTunes is EXTREMELY slow. I'm about to turn to Windows.
    Ummmm, could you ellaborate on how you plan to turn to Windows because iTunes (an application that runs on Windows) is running slow?

  • Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!

    Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Detect the window is fully occupied in sapscript

    Hi all,
    I am currently working on a customized Transfer Order form using sapscript.
    I understand in saprscript can pagebreak automaticall when the window is filled with records.
    However, it does't remain the header on the first page. The subsequent pages doesnt have the header which display in the first page.
    Nevertheless, I have managed to do so by initial the variable FLG_HU_PRINT.
    Can someone tells me, how could the program detects when the window is fully occupied?
    The reason why I need to know is I need to perform certain action (call a FORM) when it is happened.
    At present, I am hardcoded line 13, the program will perform page break and initial the variable FLG_HU_PRINT.
    DATA: lv_counter TYPE i.
    SORT XRLDRI BY TANUM VLTYP.
    LOOP AT XRLDRI
      lv_counter = lv_counter + 1.
      IF lv_counter >= 13.   "<-----------How could the program determine when the window is fully occupied?
        call function 'CONTROL_FORM'
             exporting
                command = 'NEW-WINDOW'.
        CLEAR: lv_counter, FLG_HU_PRINT.
      ENDIF.
      IF NOT lv_tanum IS INITIAL AND NOT lv_vltyp IS INITIAL.
        IF lv_tanum <> XRLDRI-tanum OR lv_vltyp <> XRLDRI-vltyp.
           call function 'CONTROL_FORM'
              exporting
                 command = 'NEW-WINDOW'.
           lv_tanum = XRLDRI-tanum.
           lv_vltyp = XRLDRI-vltyp.
           CLEAR: FLG_HU_PRINT.
        ENDIF.
      ELSE.
        lv_tanum = XRLDRI-tanum.
        lv_vltyp = XRLDRI-vltyp.
      ENDIF.
      PERFORM MULTI_PRINT.
    ENDLOOP.
    Thanks in advance.

    Hi,
    IF lv_counter >= 13 this condition means Lv_counter is equal to 13 or morethan then it enters.
    I think just change it to IF lv_counter <= 13.It can work.
    Regards,
    Shiva Kumar

  • I am not able to view the default view of FF 4.0, It is showing menu bar with the windows border. When i turn off menu bar, the strip which should be present above the tabs goes missing.

    I have recently downloaded FF 4.0 and using a lot of add-ons. I am not able to view the default view of FF 4.0 with no menu bar. Even after turning off the menu bar from customization, I am able to see only the tabs and FF button, but not the strip over the tabs.

    When you hide the menu bar to display the Firefox button, the titlebar (strip above the tabs) is only displayed if the Firefox window is not maximized. If you always want the Window titlebar, you can use the Firefox 4 UI Fixer extension - https://addons.mozilla.org/firefox/addon/firefox-4-ui-fixer

  • How can i turn the inbox window in ipad mail into full screen size?

    When we open the mail on our ipad, there is a inbox window shows up at the left on top of a mail.
    Can i turn the inbox window into a full screen display size?
    PS: My boss told me that she saw someone has the full screen inbox on his/her ipad and she want me to do the same for her,
    but i realy have no idea how to make that happen.
    Please can anybody tells how to set that up!!! I realy appreciate!!! Please...... help......
    Thanks a lot.....
    Add:Thank you very much rbrylawski. i was saying the same to my boss but she insist that she saw someone's ipad had a
    full screen inbox, that drives my crazy...... please guys if you seen the page atleast leave some words like rbrylawski here so i
    might print this page out as a evidence to prove what my boss asked is a mission impossible otherwise she wouldn't believe me.
    Please guys help me out !!! Thank you very much!!!

    As far I'm aware, what you're asking to do is not a native feature of iPad.  In other words, I don't believe this can be done.

  • How do you turn off the Application Frame in the Windows version of CS6?

    I have successfully turned off the Application Frame on my Mac version of CS6 but can not find the same functionality in my Windows version.  Anyone know how to turn off
    this feature in the Windows version?

    Application Frame is a Mac only feature
    http://helpx.adobe.com/creative-suite/kb/troubleshoot-application-frame-document-window.ht ml#main_Application_frame__Mac_OS_X_Only_
    It's the normal behaviour by design for all software in the Windows environment so there's no on-off toggle.

  • Upgrade to Windows 10 by using my notebook as a tablet does not turn the screen

    I realized that after doing my upgrade to Windows 10 by using my notebook as a tablet does not turn the screen  (al realizar mi actualizacion a windows 10 mi laptop ya no gira la pantalla en modo tableta... y es 360 grados.. como lo resuelvo??? gracias!!!

    i have the same problem with my envy x2 13 j002dx. tried reinstalling drivers and windows 10. the auto rotate button is there but doesnt do anything when i toggle it

Maybe you are looking for

  • Calling PL/SQL function from OCI?

    Hi, How do I execute a PL/SQL function from OCI? My test function: CREATE OR REPLACE FUNCTION GetNodeQuery(TypeId IN INTEGER) RETURN VARCHAR2 IS Query VARCHAR2(500); BEGIN Query := 'Select * from Logical_Name'; RETURN Query; END GetNodeQuery; char SQ

  • How to connect to MS SQL server using JSP?

    Hi, i am new to JSP so i would like to know what is the code to create a connection to MS SQL server. I am using jakarta-tomcat 4 as my server. sorry for any inconvenient.... pls help me....

  • Single Web Dispatcher for Multiple SAP Systems

    Having read a number of posts & S-Notes, I found that Web Dispatcher 7.2 is capable of routing between multiple SAP instances. But despite having troubleshooted, I am unable to make it work. I have two separate installations ERP & Portal on the same

  • Unchecking All Check Boxes with one button?

    Hello, I am trying to include a button which automatically unchecks multiple checked boxes. Does anyone have any idea on how I could do this? Please let me know Thanks, Dilip

  • Hiding items on midp 2.0 forms

    Hello All, I am Shashank from India. I am new to J2ME. I just wanted to know how we can make the items on the screen temporarily hidden. Please help. Its urgent. Thanks.