Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from ABAPER on Jun 9 at 9:05 AM Hi Siva, Thanks for your help. I created a GUI Status as PRINT. On AT USER-COMMAND i am calling this following code. DATA: val(1) TYPE c, pripar TYPE pri_params, arcpar TYPE arc_params, lay TYPE pri_params-paart, lines TYPE pri_params-linct, rows TYPE pri_params-linsz. *pripar-PDEST = 'LP01' . lay = 'X_65_132'. lines = 350 . "255. rows = 86 . "65. CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING authority = space in_archive_parameters = arcpar in_parameters = pripar layout = lay line_count = lines line_size = rows immediately = 'X' * no_dialog = 'X' DESTINATION = 'LP01' user = sy-uname IMPORTING out_archive_parameters = arcpar out_parameters = pripar valid = val EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4. " Add to IT0045 * PERFORM PRINT_REP. WHEN 'BACK' OR 'EXIT' OR 'CANCEL'. LEAVE PROGRAM. " Exit the report ENDCASE. so once i click our print custom button i am getting "Print Screen List" pop up with format, lines and rows whatever i specified. But when i click on ok it's not going to my physical printer(HP printer) nor it's creating a spool copy. I have to pint this on A3 paper with landscape format. where i have to assign my physical printer name and A3 paper type. Your response highly appreciated. Thanks you so much. With Regards, ABAPER
| | | ---------------Original Message--------------- From: ABAPER Sent: Wednesday, June 06, 2012 3:04 AM Subject: Making Print Parameters As Defaults Hi All, I developed a classical report. I want this report to be printed on A3 paper in landscape and also the print format, I want to use is X_65_132. kindly suggest me how to make these settings as default to my report. Can BASIS consultants make it as default. or do I need to write any code for this in my report. Advance Thanks. With Regards, ABAPER | | Reply to this email to post your response. __.____._ | _.____.__ |