2006 May 04 3:16 AM
hi all,
can someone tell me how to provide Zoom-in/out facility in a smartforms report? We have a report with very small font and we hardly read contents in preview screen. can someone provide some help on this?
thanks in advance,
sid
2006 May 04 3:53 AM
Have you tried converting it to PDF and using the PDF zoom functions?
Rob
2006 May 04 3:35 AM
Hi
I don't think you can do it.
You can try to check if the user run preview or print and decide which paragraph has to be used.
If user has choosen the preview you print the text using a paragraph with a "big" character.
Max
2006 May 04 3:53 AM
Have you tried converting it to PDF and using the PDF zoom functions?
Rob
2006 May 04 4:02 AM
hello rob,
i haven't tried it in pdf. can i make it go directly to pdf screen without having to go first to print dialog? how is it done?
thanks,
sid
2006 May 04 4:07 AM
Hi,
You can get the output of the SMART Form into the OTF table which is the output of the SMART form and then use the function CONVERT_OTF_2_PDF to convert that into PDF and then you can download the same to your desktop and even try opening the document.
Regards,
Ravi
Note : Please mark the helpful answers
2006 May 04 4:26 AM
Hi
The fm of sm has the parameter SSFCRESCL, here you can get your print in OTF format. Before getting it you have to print (o preview) the smartforms.
Max
2006 May 04 10:35 PM
This will take in your spool request and download a PDF file to your PC where you can view it in Acrobat:
REPORT zpdf MESSAGE-ID zc LINE-SIZE 255 NO STANDARD PAGE HEADING.
PARAMETERS: spoolid LIKE tsp01-rqident OBLIGATORY.
DATA BEGIN OF pdf_table OCCURS 0.
INCLUDE STRUCTURE tline.
DATA END OF pdf_table.
DATA pdf_fsize TYPE i.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = spoolid
no_dialog = 'X'
IMPORTING
pdf_bytecount = pdf_fsize
TABLES
pdf = pdf_table
EXCEPTIONS
OTHERS = 0.
CALL FUNCTION 'DOWNLOAD'
EXPORTING
bin_filesize = pdf_fsize
filetype = 'BIN'
TABLES
data_tab = pdf_table.
Rob
2006 May 04 4:46 AM
HI
GOOD
AS PER YOUR QUERY I HOPE THERE WONT BE ANY ZOOM IN/OUT FACILITY IN A SMARTFORM REPORT.ONLY THING WE CAN DO IS IN THE SMARTSTYL WE CAN INCREATE THE SIZE OF THE FONT FOR THAT PARTICULAR CONTENT THAT IS NOT COMING PROPERLY.
THANKS
MRUTYUN