Convert XFA form to PDF document
Within a process, I have form defined as a xfa variable and user can fill it in workspace and also include attachment when submitting the form.
Then after the form is processed, approved by manager I need to convert it to a pdf(which should contain attachments) and save it to a folder. how can I do that?
Thanks.
There is another way but it's a manual process and it's a HACK. Using this process will basically kill any XFA or JS functionality that was in the form previously. So proceed at your own risk...
Use a tool that can view and edit the internals of a "static" LiveCycle PDF form (i.e. Windjack's PDFCanOpener).
Delete the XFA dictionary
Do a SaveAs to a new form name.
Close the form
Re-open the form and then you should be able to edit the form with the Acroform tools.
Note: This WILL NOT work with dynamic forms.
Sabian
Similar Messages
-
Problem in converting smart form into PDF
HI Experts,
I am using a Function Module CONVERT_OTF for converting smart form into pdf file for send it to with attachment.
But i got a error when i am using that FM.
Runtime Errors CONVT_NO_NUMBER
unable to interpret *292 as a no.
Is that because my file size too large about 13 pages of PDF?
and when i run it for other smart forms which have 2 or 3 pages of PDF, its working perfectly.
can anyone tell what is problem with that FM?
Thanks
ShakunHi,
I had the similar issue and after analysis I have that this is the issue by not passing the IMPORTING parameter of the Function Module "BIN_FILESIZE". Please try to pass some variable to this paramter and then this will be completely rectified.
DATA ; v_filesize TYPE i.
*--Convert OTF data to PDF data
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_filesize
TABLES
otf = it_otfdata
lines = it_pdfdata
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Please verify whether this reolves the problem for you.
Regards,
SRinivas -
Why can i not convert a form to PDF when I have an active account and it wants me to sign up for an upgrade? This just started!!!!!!!!
Hi EdAAK,
I've checked your account, and see no issues with your subscription. So, if you're using a web browser, please log out, clear the browser cache, and then log back in to https://cloud.acrobat.com. And, if you're using Reader, make sure that you're logged in—you should see your name listed in the upper-right corner. If not, click the Sign In link and then sign in with your user name and password.
Please let us know how it goes.
Best,
Sara -
How to convert a multi page PDF document into a single TIF file?
Hi!
We are trying to convert a multi page PDF document into a single TIF file. We are using Adobe Acrobat Standard v 9. Can it be possible?I am also looking for feedback. Although having a PDF copy of a document is wonderful, long term and efficient archival for my workplace is tif or tiff.
Very frustrating that the PDF to tiff creates a separate tiff file for each page of the multi-page PDF document. Are there any options or work-arounds? -
Convert XFA form to static PDF
Hi,
I have few XFA form and i wanted to convert them to static pdf.
could you please tell me if it is possible via Coldfusion.I would be great if you could share sample code\approach to do this.
regards
PushpendraHi,
you have several options.
1) Print the form with a PDF printer — Produces a completely non-interactive PDF file with a very small file size
2) Use JavaScript to lock down all or specific form fields — can also be combinated with password protection and preserves the interactivity of the form for further changes
A sample can be found here http://forums.adobe.com/message/1921613#1921613 -
Hello.
Is it possible to convert a PDF Form to a PDF document?
I created PDF Form using Adobe LiveCycle Designer 8 and put it on the website so our users can fill in over the Internet.
Thanks to Ulf I Anderssons sample code, I was able to use ASP.NET page to extract form field values and store them into our SQL database.
We know how to recreate the PDF Form with the data filled in, but the final product should be a PDF document so all the fields must be non-editable. And we are using Acrobat Professional 8.1.
I guess we can lock the form fields, but we should be able to programmatically save as a PDF document, right..?ExportPDF is not, in my opinion, the least bit suitable for forms. Forms need to stay as PDFs.
-
Export Dynamic XFA form to PDF
Greetings,
I am a developer on an ASP.Net web application. I have the need to export a dynamic XFA PDF to a "flat" PDF or image. With Acrobat Pro I can export the formt to PostScript and then use Distiller to convert back to PDF. This is essentially what I want to do. Is there any way to accomplish this without user interaction server-side. I know LiveCycle is one option but is cost probhitive for this project.
ThanksI do not know if I have understood to you well. My English is not very good.<br /><br />If your form is fixed and you want to interchange the fields, I can help you.<br /><br />You save the form in designer in format PDF, and in an accessible place from Notes, for example scheduler in a pagina of Notes.<br /><br />Now only you must create the file XDP that represents the data of<br />the form, doing reference to where it is form pdf.<br /><br />For example, a simple form whith two fields, I generate the XDP file following, and when is opened in adobe reader show the fields in the form<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><?xfa generator="XFA2_0" APIVersion="1.4.4127.0"?><br /><xdp:xdp <br /> xmlns="http://ns.adobe.com/xdp/pdf/" <br /> xmlns:dxl="http://www.lotus.com/dxl" <br /> xmlns:xdp="http://ns.adobe.com/xdp/" <br /> xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><br /><xfa:datasets><br /><xfa:data><br /><form><br /> <subForm><br /> <cNombre>Antonio</cNombre><br /> <cApellidos>Garcia Rodriguez</cApellidos><br /> </subForm><br /></form><br /></xfa:data><br /></xfa:datasets><br /><pdf href="page/File/formPersonaLocal.pdf?OpenElement"/><br /></xdp:xdp>
-
How to convert Smart Form into PDF format and return the result in BAPI?
I want to convert a Smart Form into PDF format and return the result in BAPI.
can anyone tell me how it can be done with related example
regards
pranayhi,
smart form to pdf--
All you have to do is call your SF to get OTF and then concert it to PDF. Works like charm:
DATA: p_output_options TYPE ssfcompop,
p_control_parameters TYPE ssfctrlop.
p_control_parameters-no_dialog = 'X'.
p_control_parameters-getotf = 'X'.
CALL FUNCTION v_func_name "call your smartform
EXPORTING
output_options = p_output_options
control_parameters = p_control_parameters
IMPORTING
job_output_info = s_job_output_info.
call function 'CONVERT_OTF_2_PDF'
tables
otf = s_job_output_info-otfdata
lines = t_pdf
and if u need more u can check below links also
Check the below links..
Re: Smartforms to PDF
Re: smartform (otf) as pdf and sending as email-attachment
VISIT THIS LINK
Re: Smartforms to PDF
PLZ REWARD POINTS IF IT HELPS YOU
rgds
anver -
How to convert Infopath forms into pdf or word ?
I have an urgent requirement. I need to covert approx 50k infopath forms into pdf/word.
Is there any way to convert it without using a third party software?
Is this possible via Powershell script ?Not with Microsoft tools. This would be something supplied by a 3rd party, if available at all.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Display interactive form as pdf document using LinkToURL UI
Hi Experts
I have an interactive form but I need to display as pdf document with a link. I tried to get the url:
String templateUrl =
WDURLGenerator.getWebResourceUrl(
wdComponentAPI.getDeployableObjectPart(),
"WDV_ARC_PDF_InteractiveFormMercantil.xdp");
And modified the 'reference' property of 'LinkToURL' with this String.
Please help meWebDynpro Java
I need to display an interactive form like a pdf document, away the portal. Similar when you try to open a pdf document, appers the pop up window with the opcions: Open, Save ...
Thanks -
Convert InfoPath form to PDF issues
Hello,
We have some web based InfoPath forms hosted in a MOSS 2007 SharePoint environment. Users who have Acrobat professional installed on their computers are having problems converting the forms when using the Adobe PDF Toolbar in IE. There are two problems that the users are seeing.
First, individual text fields appear to black out the field. If the user selects the highlight fields option in Reader or Acrobat when they open the saved PDF, then the fields are no longer blacked out. It looks like the conversion is interperating the background color of the fields to be black. On the form there is no background color for the fields.
The second issue some users are experiencing is that the converted PDF looks to cut off the right side of the form, or throws off the layout of the form (table columns are shifted). The table shifting issue is probably related to the InfoPath form layout, but the cut off issue seems a bit odd. For most users the form scales to fit on the PDF page, but some users get a cut off form.
Has anyone seen either of these issues before, or found a resolution for either? Thank you ahead of time for any assistance.Infopath forms contain multiple components. The InfoPath .xsn file defines the data structure, appearance, and behavior of finished forms (.xml files).
To properly convert I would suggest using LiveCycle Designer (not the Web Capture in Acrobat). Designer will convert your .xsn file and extract the necessary components. -
Converting HTML Forms to PDF - Field Names
When I use Adobe 8 to convert and HTML form to PDF all the field names in the resulting PDF have the crazy long names that are jumble of letters and numbers. So I always have to go back through and manually rename every field because I'm using another program to autopopulate the fields with data. Is there any way to get Acrobat to automatically name the fields in the PDF the same as they are named in the form either using the "name" or "id" properties of the HTML fields? I don't understand why this isn't the default behaviour to begin with.
The reason this is done is due to a fundamental difference between HTML forms and Acrobat forms. In HTML forms, fields with the same name do not necessarily share the same value, whereas in Acrobat forms they do.
In the conversion process, Acrobat gives each field a unique name, but also sets a field's mapping name to the name the field had in the original HTML form. This is so that if the PDF form is used to submit as "HTML", then the original field names will be used and any server process that is capable of dealing with the HTML form is capable of dealing with the resulting PDF form. So be aware that if you want to use your modified form to submit to a web server using the "HTML" format, the new field names that you set will not be used. What will be used are the hidden mapping names.
Unfortunately, I don't think there's anything you can do about any of this to make it work like you want.
George -
Convert XFA-Forms in AcroForms
Hello,
is there a possibility to convert a pdf which contains a xml form to an pdf with the same form as AcroForm?
Background: I want to create a form with the designer but I need a pdf with acroform without xml form because there is an acrobat plugin which need acroform
Chris ;-)You can do it but its quite a job and in a way it will be like designing the form twice. First, you will add and layout all your fields in Designer. Then once you are happy with the layout, you need to PRINT the form to PDF (Note: this is Print and not Save As). It will then be a flat page with no fields on it. Then you can open that flat PDF in Acrobat and then add the fields again where the old fields used to be. None of the Designer functionality will exist in this new form so you cant add scripts in designer and bring them into the Acroform. Scripts will need to be added in Acrobat itself.
-
Convert SAPSCRIPT forms to PDF
We need to do a report that can generate several pdfs from a payment run (SAP-FI), so we need to have one pdf for each payment in the run (they are in SAPSCRIPT form).
The program that we use is copy of "J_1AF012" and the we use "SX_OBJECT_CONVERT_OTF_PDF" function to obtain the pdf form, but the changes that we did in the standard were:
a) in the "OPEN_SAPSCRIPT"
*& Form OPEN_SAPSCRIPT
text *
FORM OPEN_SAPSCRIPT.
ITCPO-TDIMMED = '*'. " kz sofort drucken
ITCPO-TDDELETE = '*'. " kz freigbe nach Druck
ITCPO-TDLIFETIME = '7'. " verfalltage
ITCPO-TDPREVIEW = 'X'. " druckansicht
Setting the options
w_options-tdcopies = 1 ."Number of copies
w_options-tdnoprev = c_x."No print preview
w_options-tdgetotf = c_x."Return of OTF table
w_options-tddest = c_locl."Spool: Output device
CALL FUNCTION 'OPEN_FORM' " open form for output
EXPORTING FORM = S_FORM
DIALOG = 'X'
LANGUAGE = 'S'
OPTIONS = ITCPO
OPTIONS = w_options
DEVICE = 'PRINTER'
DEVICE = c_printer
IMPORTING
RESULT = W_RES.
ENDFORM. " OPEN_SAPSCRIPT
b) In the "CLOSE_SAPSCRIPT" :
FORM CLOSE_SAPSCRIPT.
C_ORDEN = C_ORDEN + 1.
shift C_ORDEN left deleting leading space.
CONCATENATE C_PATH C_NAME1 C_ORDEN C_EXTENSION INTO C_NAME.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = w_res
TABLES
otfdata = i_otf
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
OTHERS= 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
c) And we added these functions:
Converting OTF data to single line
LOOP AT i_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
Converting to PDF Format
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = c_otf
format_dst = c_pdf
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
Downloading the PDF File
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = c_name
filetype = c_bin
TABLES
data_tab = i_content_bin.
When we run the program the error is a dump with:
"DBIF_RSQL_INVALID_CURSOR
CX_SY_OPEN_SQL_DB "
and aparenttly is due to the cursor in BKPF table is closed (or missing) in some of those functions.
We use the "open_form" and "close_form" for each payment document, and we could generate only the first pdf and then the program cancel (to the second pdf) with this mentioned error.
We are on R/3 4.70, 620, and Informix Database.
Please, could you kindly help us???
Best regards,Hola Grisel!
Estoy tratando de armar en pdf las órdenes de pago, pudiste hacerlo? Como lo lograste?
Gracias de antemano por cualquier info que me puedas brindar.
Saludos
Eduardo Puricelli
Hi Grisel,
I'm trying to build in pdf payment orders, could you? As you did it?
Thanks in advance for any info you can give me.
Greetings
Eduardo Puricelli -
Convert FormsCentral form to PDF form
Can I export or convert an existing FormsCentral form into an adobe acrobat Pro fillable form?
We currently do not support creating a PDF form. This has been a very common request (we are the Acrobat team so it isn't a surprising one ). PDF form creation is defintely on our roadmap this year.
Thanks for the feedback,
Randy
Maybe you are looking for
-
If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad with the same Apple ID, why can't I get 5 GB fo each of them?
-
Upgrade memory mid 2011 MacBook Air
how to upgrade my MacBook Air mid 2011 memory ?? is my Mac memory can be upgrade ???
-
Can I determine what clients are connected to my weblogic server?
Hi, is there anyway of determining what clients are connected to my Weblogic 8.1 server - I want this information to be generated for me, not by maintaining a list when clients login initially to the server. Also is there any thing that gets fired wh
-
Apple TV to PC. Cross-over cable or Ethernet?
My apple TV will plug directly into the pc with iTunes. Do I need a Cross-over cable or an Ethernet Cable? And What is the difference? Also How would I do this? Thanks in advance!
-
Win XP Apple hardware drivers not working- how to fix?
Snow leopard / Win XP SP2. After running the bootcamp install, and the drivers were installed off OSX disk (I could see them being installed in the messages), Win XP rebooted but the "found new hardware wizard" did not locate the drivers and I can't