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: 

landscape format in spool converted to pdf

Former Member
0 Kudos

Hi everybody,

I've created a pdf from a spool job and I was wondering about changing the page orientation to landscape. I want to change it from the function GET_PRINT_PARAMETERS or the function CONVERT_ABAPSPOOLJOB_2_PDF but I haven't found anything related to portrait or landscape orientations. I don't know if it's automatically set by specifying the line size parameter or it has to be put in some of these two functions or in the pdf generation (I'm creating it by using the method add attachment from a cl_document_bcs object).

Does anybody know how can I get this?

Thanks!

2 REPLIES 2

Former Member
0 Kudos

I think it might be taking the parameters from the default Printer that has been setup in your system. Change the default Printer paramters to Landscape and try again.

0 Kudos

I've tried that already and it's not working.

I thought it could be also changed from get_print_parameters mainly as this manages all in which printing refers.

Any suggestion?