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

Change Print Parameters

Former Member
0 Likes
690

Hi All,

I have a query..

My Print parameters layout parameters are X_65_80, but i want to change my printer layout parameters to X_65_132.

For that I have done the following changes, but change are not reflecting..

I have tried with different parameters in the Get_print_paramters, but with no sucess.

I have used the following code.

CALL FUNCTION 'GET_PRINT_PARAMETERS' "

EXPORTING

NO_DIALOG = 'X'

DESTINATION = 'LOCL' MODE = 'CURRENT' "parameters

IMPORTING

OUT_PARAMETERS = OUT_PARAMETERS.

OUT_PARAMETERS-PRIMM = ''.

OUT_PARAMETERS-LINSZ = 132.

OUT_PARAMETERS-LINCT = 65.

OUT_PARAMETERS-PAART = 'X_65_132'.

SUBMIT RM07MTRB TO SAP-SPOOL

SPOOL PARAMETERS OUT_PARAMETERS

WITHOUT SPOOL DYNPRO

WITH WERKS IN S_WERKS

AND RETURN.

<REMOVED BY MODERATOR>

Regards

Aashish

Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:58 PM

Hi All,

I have a query..

My Print parameters layout parameters are X_65_80, but i want to change my printer layout parameters to X_65_132.

For that I have done the following changes, but change are not reflecting..

I have tried with different parameters in the Get_print_paramters, but with no sucess.

I have used the following code.

CALL FUNCTION 'GET_PRINT_PARAMETERS' "

EXPORTING

NO_DIALOG = 'X'

DESTINATION = 'LOCL' MODE = 'CURRENT' "parameters

IMPORTING

OUT_PARAMETERS = OUT_PARAMETERS.

OUT_PARAMETERS-PRIMM = ''.

OUT_PARAMETERS-LINSZ = 132.

OUT_PARAMETERS-LINCT = 65.

OUT_PARAMETERS-PAART = 'X_65_132'.

SUBMIT RM07MTRB TO SAP-SPOOL

SPOOL PARAMETERS OUT_PARAMETERS

WITHOUT SPOOL DYNPRO

WITH WERKS IN S_WERKS

AND RETURN.

<REMOVED BY MODERATOR>

Regards

Aashish

Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:58 PM

1 REPLY 1
Read only

Former Member
0 Likes
506

Hi,

Try this

SUBMIT <program> to SAP-SPOOL using layout 'X_65_132'.

Regards,

Satish