Application Development and Automation 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: 
Read only

printing script text vertically

Former Member
0 Likes
1,824

Hi all,

I have developed a scrip with dimension 224 cm * 93 cm to take printout for cheques in sap. In this format i have to

put the cheques in printer in horizontal fashion and its giving printout horizontally. But the client want to enter the cheque

in vertical fashion and want to take printout. What necessary changes or setting I have to do to take the printout in that fashion?? The client is performing

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,132

I think this should be handled not in the form but in the printer configuration. Not all printers may be able to handle this, actually. For example, when printing on envelopes from Word, some printers may allow to insert an envelope both ways, but some may not. Also check if switching from Portrait to Landscape (or the other way around) helps. Keep in mind that this also has to be supported by printer config. Work with Basis admin on this.

P.S. This is not an ABAP question and there is a separate forum for the forms.

9 REPLIES 9
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,133

I think this should be handled not in the form but in the printer configuration. Not all printers may be able to handle this, actually. For example, when printing on envelopes from Word, some printers may allow to insert an envelope both ways, but some may not. Also check if switching from Portrait to Landscape (or the other way around) helps. Keep in mind that this also has to be supported by printer config. Work with Basis admin on this.

P.S. This is not an ABAP question and there is a separate forum for the forms.

Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
1,132

Hello,

There have 2 ways you can try:

1. In SE71 -> your form -> Header -> Basic Settings -> Tick the Landscape format.

2. Or when you print the form select the landscape format.

Regards,

David

Read only

Former Member
0 Likes
1,132

I have tried everything. I changed the script header details and also tried to change the format.

But in every case the output is coming in portrait format. i want it in landscape..

Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
1,132

Hello,

Then check the format/Page Format of the device type and see if the

orientation is Landscape.

Regards,

David

Read only

0 Likes
1,132

I have checked the format in device type (spad). Here orientation is landscape. But printout is coming in portrait fashion.

Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
1,132

Hello,

Check the format for the device type -> Printer initialization, if the Portrait-Mode is

activated in there by escape cope \ePP.

Regards,

David

Read only

0 Likes
1,132

Hi David,

In my output device printer initialization is not done. Can you provide me more specification regarding that. How i can provide the print mode there and what code i have to write??

Edited by: shekharamit on May 19, 2010 12:14 PM

Read only

0 Likes
1,132

hi all,

i have one more problem regarding that cheque printing. when i try to print that cheque from a previously created

spool request it giving printout in portrait form. But with same parameters ( device type and format) if i try to print the scrip directly ( using se71-> test print) , it's showing error message " device type z**** dooesn't support format z*****. That format

is already added in that device type. how i can solve this problem?

Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
1,132

Hello,

Check SAP note 118750.

Regards,

David