‎2006 Oct 04 4:07 PM
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
‎2006 Oct 04 4:08 PM
‎2006 Oct 04 4:08 PM
‎2006 Oct 04 4:10 PM
‎2006 Oct 04 4:15 PM
and maybe to generate a picture with the text and turn the picture to be displayed?
Cheers
marcos
‎2006 Oct 04 4:18 PM
‎2006 Oct 04 4:16 PM
hi,
It can be done in sap scripts by using Print controls.
Regards,
Sailaja.
‎2006 Oct 04 4:20 PM
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 windows 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.
‎2006 Oct 04 4:24 PM
When using PRINT-CONTROLS, you must remember that this is specific to device types. So if you try to print the same document on a printer which does not use the device type which as been modified to handle the print-controls, then the text will not be rotated. So in other words, you are making your sapscript "printer specific", which may be ok in your case.
Regards,
Rich Heilman
Salilaja, please correct me if I'm wrong.
‎2006 Oct 04 4:36 PM
Thanks Sailaja,
Your reply was very informative. I learnt about this print control (though, are printer specific) after reading your reply.
Regards,
Raj
‎2006 Oct 04 4:36 PM
‎2006 Oct 05 9:16 AM
Hi,
thank you very much for your answers, but I should not use the specific printing-controls of the printer. I must print some pages in landscape and a little text in portrait in the last page, maybe I should do it in smartforms.
Thank you again
marcos