it would be better if wpview did it...
Beiträge von chtiot
-
-
Hello,
I have problem when i save a pdf file modified with wpviewpdf3 to set acrofields value : file is saved but not correctly and when i open it and close it doing nothing, Acrobat reader ask me if i want to save modifications.
If i say no, file is not change but fields are not correctly saved and when i say yes, pdf file is saved (smaller size than initial) and fields are ok and can be used with other programs...
Thanks for your help.
Michel -
Hello,
I use a PDF form with acrofields like a template and do that :
- open the Template named A.PDF
- set acrofields values
- save the PDF as a new PDF file (B.PDF)There is no problem, everything is Ok.
But I have a problem when i do that :
- open the Template named A.PDF
- set acrofields values
- save the Template as a new PDF file (B.PDF)
- open once again the Template named A.PDF
- set acrofields values
- append B.PDF (AppendFromFile)
- save the PDF as a new PDF fileIn this case, acrofields values are the same for the first and the second use and it seems normal.
My questions :
- is there a way, with WpViewPDFPlus, to change acrofields name after open the Template (rename Gender to Gender_001 for the fist open, Gender_002 for the second and so on) ?
- in case this is not possible, is there a way to save the new PDF like a PDF without fields?I hope i was clear...
Thank you
Michel -
thanks
I will try next week-end -
thank you very much
I wil wait a little... -
pas de réponse?
je pense que je vais utiliser autre chose pour faire ça...
-
Hello,
I have a problem with acroform modified with WpViewPdf3Olus : in the saved pdf file, fields that i populate by program are not visible and not printed in acrobat reader until the field is focused.
When the field lose focus, his value become not visible.
Fields value are visible only if they are focused or if i modify it manually...
Original pdf file is correct and fields are always visible and printed.
If i print it with wpviewpdf, fields are printed but without style.
Original pdf was created with Acrobat pro XI.
here is what i do :
Code
Alles anzeigenWPViewPDF1 := TWPViewPDF.CreateParented(Handle); WPViewPDF1.DLLName := DLLDirectory + 'wPDFViewPlus03.dll'; WPViewPDF1.CommandEx(140, 1); WPViewPDF1.ViewerStart('', 'M...S', '%...C', 1.....8); if wpviewpdf1.LoadFromFile(FileName) then begin // On regarde s'il y a des champs variables // isChamps := False; i := 0; repeat j := WPViewPdf1.CommandEx(115, i); if j > 0 then begin // Il y a un champ donc on va récupérer son contenu // SetLength(s, j); WPViewPDF1.CommandEx(261, Integer(PAnsiChar(s))); //showmessage(s); j := pos('=', s); if j = 0 then j := length(s) + 1; snew := copy(s, j + 1, length(s)); sold := snew; if pos('#', snew) <>0 then snew := form1.GarniChampsPdf(snew); HERE I REPLACE CONTENT WITH A VARIABLE VALUE if snew <> sold then begin isChamps := true; WPViewPdf1.CommandStrEx(116, snew, i); end; end; inc(i) until j < 0; if isChamps then begin // On enregistre dans un fichier temporaire pour l'édition // CreateGUID(Guid); GuidStr := GUIDToString(GUID); FileName := ExtractFilePath(FileName) + '_temp_' + GuidStr + '.pdf'; WPviewPdf1.Plus.SaveToFile(FileName); WPviewPdf1.Print(''); end; end;
thanks for your help
-
everything is alright
Thanks
-
-
Hello,
If I install the last version of WPViewPDF Plus, I have this error message compiling project with Delphi 7 :
[Erreur] WPViewPDF3.pas(2675): Types incompatibles : 'WideChar' et 'Char'
In this part of code, in the line On e : .... :
Code
Alles anzeigenprocedure WPPDFViewerStop; begin {$IFNDEF LOAD_DLL_FROM_MEM} if WPViewPDFDLLHandle <> 0 then begin try FreeLibrary(WPViewPDFDLLHandle); except On e : Exception do OutputDebugString( PWideChar(e.Message) ); // We do not want to see an exception here ! end; f_set_lic := nil; WPViewPDFDLLHandle := 0; end; {$ENDIF} end;
Everything is good with previous version.
Thank you...
-
Hello,
I'm trying to convert a pdf file generated by Wpdf in tiff format with vpviewpdf3plus.
I have installed wpviewpdf3plus version i have bought and i always have -1 when i try to convert a pdf.
my licence is correct, my file is correct, i don't understand.
here is my code :
CodeWpViewpdf3.WPViewPDFLoadDLL('wPDFViewPlus03.dll'); n := WPViewPDF3.wpview_pdfConvertToTIFF(PAnsiChar(fnomedit),PAnsiChar(''), PAnsiChar(myLicName), PAnsiChar(MyLicKey), myLicCode, PAnsiChar(directory + '\Tiff\test.apf'), 1, 1, 0);
can someone help me ?
thanks
-
do you plan to resolve this problem ?
-
I don't know what kind of image it is but you can find the pdf here :
-
Hi,
I always have problems with some pictures.
Pictures are not rendered as in Adobe Reader or Foxit reader (poor quality and some pictures are black ...).
Thanks for your help
-
my question is the same.
i'm really waiting for it
-
i deleted it 2 days ago
I have upload it once again ...
-
Hello,
I have some problems with certain pdf files (http://michel.roos1.free.fr/45.pdf :
- everything is ok when view or print with adobe reder
- some text are not displayed or print where and how it must be with ViewPDF
- the bottom blue line with SOLUTIONS POUR VOLETS ROULANTS is not displaued or print with ViewPDFSome idea ?
Thanks
-
Hi,
I'm trying to specify options in pdfprin method, in delphi 7 but it doesn't work.
For setting 2 copies I have try these differents syntax but it doesn't work ;
- "\COPIES=2\"
- '\COPIES=2\'
- "COPIES=2"
- 'COPIES=2'
- COPIES =2Can someone help me and give me an example ?
Thanks