on 11-22-2006 4:02 PM
Hi
I need to convert read data from a PDF file and then convert it to OTF format. I was able to read PDF data into an internal table. I am wondering what's the way to convert this PDF data format to OTF.
Please let me know if you know anything on this.
Thank you
Hi,
Use FM 'CONVERT_OTF'.
after that use 'GUI_DOWNLOAD'.
try this...
Senthil kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi boby,
FM is CONVERT_OTF.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING FORMAT = 'PDF'
IMPORTING BIN_FILESIZE = FILE_LEN
TABLES OTF = OTFDATA
LINES = PDFDATA
EXCEPTIONS ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
also check sample programs
<b>RSTXPDF4/5.</b>
rgds
Anver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi do like this::
*-- Convert the OTF data to PDF data
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
use_otf_mc_cmd = 'X'
IMPORTING
bin_filesize = v_bin
TABLES
otf = lt_otf
doctab_archive = it_doctab
lines = lt_pdfdata
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
Regards
Ashok P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check CONVERT_OTF_2_PDF and may be copy and modify this FM to convert PDF to OTF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.