Hi,
We are using function module - CONVERT_ABAPSPOOLJOB_2_PDF to generate a PDF file . The PDF file generated has very small font size. Could someone please provide a step by step approach to deal with this problem .
I searched existing posts in SCN and got this piece of code which changes printer parameter :
CALL FUNCTION 'RSPO_R_SELECT_TSP01'
EXPORTING
rqident = gv_spool_nr
TABLES
tsp01desc = gt_spool
EXCEPTIONS
error = 1
OTHERS = 2.
IF sy-subrc = 0.
*Passing RQPAPER has the key and getting the paper format.
READ TABLE gt_spool INTO gs_spool WITH KEY param = 'RQPAPER'.
IF sy-subrc = 0.
* CASE gv_flag.
* WHEN 'X'.
* gs_spool-value = '200'.
* WHEN 'L'.
* gs_spool-value = '512'.
* WHEN OTHERS.
gs_spool-value = 'X_65_200'.
* ENDCASE.
MODIFY gt_spool INDEX 21 FROM gs_spool.
ENDIF.
ENDIF.
CALL FUNCTION 'RSPO_R_UPDATE_TSP01'
TABLES
tsp01desc = gt_spool.
COMMIT WORK.
Unfortunately , I could not find a suitable format that could adjust all my columns in one page with proper font size. Could some one please throw some insight into this problem solution ?
Regards,
AM