Does anyone have any experience of merging a PDF document with another one. I basically have a PDF document that i want to use as a watermark and want to place this document on top of the PDF document that i generate. I am using Amyuni as my PDF converter?
0
Comments
TIP: You could set up a virtual printer that automatically adds this watermark PDF. I use this for stationery.
So when you print from Word or Navision or whatever to this printer, stationery with the company logo is added.
BTW, I use FreePDF XP. It's free. Also works under Vista.
Works like a charm.
http://shbox.de/xpDownload.html
(Install Ghostscript first.)
We use this for automatically sending documents by e-mail.
Like e-mailing invoices 'on stationary'.
link bullzip how to
http://mibuso.com/blogs/ara3n/2008/08/0 ... ts-to-pdf/
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Is there anyway I can get the SuperimposeLayer from the PDF Merge Settings through the Automation :?:
Is there anyway I can access 'Bullzip'.PDFMergeSettings just like 'Bullzip'.PDFPrinterSettings in your example?
Thanks in advance for your help
http://www.bullzip.com/phpBB/viewforum. ... 37a0b39163
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
See: http://www.docu-track.com/home/dev_tools/pdf/
They have a trial version that you can download that is fully functional out of the box for you to test and develop with - it will print it's own trial version stamp in the 4 corners of each page until you pay for a license key. But that at least allows you to try everything and get it working BEFORE you buy. I've recently worked with this product for a client that already had it and it's been one of the simplest PDF printing experiences I've had with NAV to date.
Epimatic Corp.
http://www.epimatic.com
Had already checked their forum. Only a couple of threads regarding merging and all of them were never replied to.
It is doable manually using the Merge tab from the Options, but whilst looking at the documentation I found
SuperimposeLayer
(version 6) Much like the watermark layer setting you can also control if the superimposed document is placed over or under the current print job.
values: top, bottom (default).
If only I had access to SuperimposLayer function
I'm trying to work this out using Bullzip, will consider using PDF Exchange if I dont manage.. but thanks for the information.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thanks alot Rashed, had an error before which affected the rest of the settings. Thanks again
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Epimatic Corp.
http://www.epimatic.com
http://mibuso.com/blogs/davidmachanick/
Also have you confirmed that you are selecting the correct printer at print time? This is either happening via report selections or code that is placed in the FindPrinter function in CDU 1 (Application Management).
Epimatic Corp.
http://www.epimatic.com
I used the code from one of Rashed's blogs, and the setting information from someone else.
FileName := SalesInvHeader."No." + '.pdf';
BullZipPDF.Init;
BullZipPDF.LoadSettings;
RunOnceFile := BullZipPDF.GetSettingsFileName(TRUE);
BullZipPDF.SetValue('Output',FileDirectory+FileName);
BullZipPDF.SetValue('Showsettings', 'never');
BullZipPDF.SetValue('ShowPDF', 'no');
BullZipPDF.SetValue('ShowProgress', 'no');
BullZipPDF.SetValue('ShowProgressFinished', 'no');
BullZipPDF.SetValue('SuppressErrors', 'yes');
BullZipPDF.SetValue('ConfirmOverwrite', 'no');
BullZipPDF.WriteSettings(TRUE);
then this code to merge pdfs that were stored using record links:
IF SalesInvHeader.HASLINKS THEN BEGIN
MergeFile:='';
RecLinks.SETRANGE(RecLinks.Description,'Order: ' + SalesInvHeader."Pre-Assigned No.",
'Order: ' + SalesInvHeader."Pre-Assigned No." + 'z');
RecLinks.SETRANGE(Company,COMPANYNAME);
RecLinks.FINDSET;
REPEAT
IF MergeFile = '' THEN
MergeFile:='.|' + RecLinks.URL1
ELSE
MergeFile:=MergeFile+'|'+ RecLinks.URL1;
UNTIL RecLinks.NEXT = 0;
BullZipPDF.SetValue('MergeFile', MergeFile);
END;
REPORT.RUN(ReportSelection."Report ID",FALSE,FALSE,SalesInvHeader);
BullZipPDF.WriteSettings(TRUE);
then this code to save the firl to the recordlink for the posted invoice
SalesInvHeader.ADDLINK(FileDirectory+FileName,'Sales Invoice: ' + SalesInvHeader."No.");
http://mibuso.com/blogs/davidmachanick/