PDF document

Frank_Raemakers
Member Posts: 25
Is there anybody who can help me with the next problem or has a example?
One of our customers has adobe 6.0 professional. I want to make a PDF file without all the request windows when I choose print.
The name of the pdf -file must be automatically filled f.i. : Invoice5002.pdf
Must I use the automation global : AdobePDFMakerX? And the classes of the automation?
Frank.
One of our customers has adobe 6.0 professional. I want to make a PDF file without all the request windows when I choose print.
The name of the pdf -file must be automatically filled f.i. : Invoice5002.pdf
Must I use the automation global : AdobePDFMakerX? And the classes of the automation?
Frank.
0
Comments
-
Hi
You can configure in printer selection, wich printer would you like to use to print PDF files from a specific report.
In the Properties of PDF printer (Normaly is Acrobat Distiller) , in Printer preferences, you have a tab called ADOBE PDF SETTINGS
Here, you must disable PROMP FOR THE PDF NAME.
That disable the file name request window.
Now, if you print a report with this printer, automaticaly is created a PDF file with the report name. Now you can change this name using code.
Bye0 -
Hi Frank Raemakers & Saalek,
Did you find a solution to print the report in pdf format without the req. window using the Adobe pdf printer.
I have tried several option using "AdobePDFMakerX" automation, but everything is in Vein. ](*,)
I would be greatful if you could provide me with some sample code if you have.
Thanks in advance
Libin D0 -
Hi Libin
The solution mentioned above doesnt use automation but it used a pdf printer. We have used it serveral times with different pdf printers. Normally it works like a charm, just make sure the pdf printer gets time enough to finish the output before you try to rename and the file.
Hope this helps
Thomas0 -
Hi Thomas,
Thanks for your reply. Could you provide with a sample code, all my attempts failed.
I have setup the Adobe distler according to your suggession.
Thanks
Libin D0 -
Hi Libin,
There is a clue for you, first you write a code for assigning the report name on running the report for export to excel functionality. If you will get the success than the same will be applicable for print with the aforesaid settings.Mukesh Sharma0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions