hello
I want to merge several pages so that i can print all the pages in one batch as i need them to print on a duplex printer
i have several PDF files and they all contain form fields
in experimenting with the viewer (i have purchased a licence) i opened one of my PDF files and i can edit the form fields - no problem.
now when i go to insert another PDF file that also has form fields i discovered that I cannot edit the forms fields from the second PDF file
is this correct or is there something i am doing wrong.
will this also be the same i use the SDK as i was planning to merge to PDF together into one and then continue filling the single document.
why is there a restriction
many thanks
problem with inserting pages
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: problem with inserting pages
As you was told before (in other topic) ther is no convenient way to merge two forms - they may contain fields with same name, may contain alot of scripts that refer to fileds by names (so there will be conflicts), there may be two different submit buttons, so what merged form should do if one of theese buttons are pressed? There is alot of questions and no answers. If you want to merge two forms - you need form designer, not Viewer, isn't it? Also, if one of documents will be XFA form - there is no way to merge this fom with other PDF document, even it is XFA form too.
If all what you need is print filled forms on physical printer as one file there is simple solution for non-XFA forms and a bit more complex in case when some forms are XFA.
Simple solution is very simple - fill forms, flatten them, merge and then print.
More complex solution - print filled forms for PDF-XChange Driver, merge resulting PDF files and print them to your printer.
Complex solution will work always, simple - if there is no XFA forms. There is no better way now, and I'm not sure that there will be better way even in next version - because automated merge of forms is not always possible (see explain at begining of mu post).
If all what you need is print filled forms on physical printer as one file there is simple solution for non-XFA forms and a bit more complex in case when some forms are XFA.
Simple solution is very simple - fill forms, flatten them, merge and then print.
More complex solution - print filled forms for PDF-XChange Driver, merge resulting PDF files and print them to your printer.
Complex solution will work always, simple - if there is no XFA forms. There is no better way now, and I'm not sure that there will be better way even in next version - because automated merge of forms is not always possible (see explain at begining of mu post).
Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 89
- Joined: Wed Dec 29, 2010 8:50 am
Re: problem with inserting pages
hi victor
i am not a guru in pdf so i have one basic question
how do i tell if it is a xfa pdf form or not. is there a tool that can tell me
i understand about two forms having same fields will be a problem but the ones i have are not and i know this becuase i have checked and i have asked the developer
i can merge the two pdf without problems using the tools sdk so i might have to close the pdf and use the tools sdk to merge and then open it again
joe
i am not a guru in pdf so i have one basic question
how do i tell if it is a xfa pdf form or not. is there a tool that can tell me
i understand about two forms having same fields will be a problem but the ones i have are not and i know this becuase i have checked and i have asked the developer
i can merge the two pdf without problems using the tools sdk so i might have to close the pdf and use the tools sdk to merge and then open it again
joe
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: problem with inserting pages
Hi, joe.
We will add into the next build the simple property:
Best
Regards
We will add into the next build the simple property:
Code: Select all
int val;
ctrl.GetDocumentProperty("Form.Type", out val, 0);
// val:
// 0 - none
// 1 - acro-form
// 2 - XFA-form
// 3 - Static XFA-form
Regards
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 89
- Joined: Wed Dec 29, 2010 8:50 am
Re: problem with inserting pages
great idea
just one more question
you mentioned before flattening
using the viewer how how do i flatten the file
cheers
just one more question
you mentioned before flattening
using the viewer how how do i flatten the file
cheers
-
- Site Admin
- Posts: 19885
- Joined: Mon Jan 12, 2009 8:07 am
Re: problem with inserting pages
Hello Joe,
The command is FlattenAnnots ID: 36340 so you can execute that in the Viewer AX.
Best,
Stefan
The command is FlattenAnnots ID: 36340 so you can execute that in the Viewer AX.
Best,
Stefan
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: problem with inserting pages
Hi joe.
To use Flatten Document operation without UI:
HTH.
To use Flatten Document operation without UI:
Code: Select all
// flatten all pages in active document
ctrl.RunJavaScript("this.flattenPages();")
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.