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: 

Spool to PDF problem

Former Member
0 Kudos
144

Hi Experts,

I am using FM "CONVERT_ABAPSPOOLJOB_2_PDF"

to convert a spool to PDF.

Its working perfectly all right

the issue is the Page in PDF is Landscape, but i want Portrait

Also the fond is very very small when i print the PDF

Is there any way to change it or any parameters in FM to do it.

Please let me know.

Thanks,

Vaibhav

1 ACCEPTED SOLUTION

Former Member
0 Kudos
106

use the FM 'SET_PRINT_PARAMETERS'

and pass LAYOUT = X_LANDSCAPE

The values for Layout can be found in the Table 'TSP1D'

Awrd Points if useful.

Bhupal

2 REPLIES 2

arpit_shah
Contributor
0 Kudos
106

use the fm getprintpatameter

and set the value of layout & line-size..

may be its solved ur problem.

regards,

arpit

Former Member
0 Kudos
107

use the FM 'SET_PRINT_PARAMETERS'

and pass LAYOUT = X_LANDSCAPE

The values for Layout can be found in the Table 'TSP1D'

Awrd Points if useful.

Bhupal