saving reports to PDF in navision 4.0

rksaurabh
Member Posts: 18
Hi all,
I have a query regarding saving report to PDF in navision 4.0 using Adobe acrobat 7.0 professional. I am able to create PDF using PDF creater but my client don't want to go for any other software. They are using original version of acrobat 7.0. so is there anyway by which we can save report to pdf using adobe acrobat.Can somebody help me with this problem
Thanks in advance.
I have a query regarding saving report to PDF in navision 4.0 using Adobe acrobat 7.0 professional. I am able to create PDF using PDF creater but my client don't want to go for any other software. They are using original version of acrobat 7.0. so is there anyway by which we can save report to pdf using adobe acrobat.Can somebody help me with this problem
Thanks in advance.
0
Comments
-
did you search the forum for "acrobat"?0
-
I assume you mean they have Acrobat Reader which won't create PDFs. There are a couple of free ones like PDFCreator. Creates a printer driver to create the PDF. You can also setup a linux server that will use Ghostscript to create PDFs. Never done the latter.0
-
We have Adobe Acrobat Pro version 9 which also has a print driver. I don't remember if Acrobat 7 had this same feature, but using Acrobat or any of the print-to-PDF utilities seems straightforward. Bullzip PDF is one mentioned here on the forum that we use and works well (and is free). Others have had success with PDF Creator. I also like PDFFactory - it makes very small PDF files - especially compared to Acrobat.Ron0
-
Thanks for the comments and advice.
But problem still remains.
I have tried with PDFcreator and BullZip, its working fine for me but my client don't want to go for any other software.
Adobe acrobat 7.0 has the utilites to create PDF using printer setup which acrbat 9 has. but don't know which automatin to use for PDF conversion...
Please help me if any code is there regarding this.0 -
So are you saying that you have to stay with Acrobat 7.0, and not even upgrade to Acrobat 9.0?
RonRon0 -
As a customer myself - I don't understand why they care which program is used to get what they want done.. as long as it gets done.
It not like the other programs cost anything... :-k0 -
Savatage wrote:As a customer myself - I don't understand why they care which program is used to get what they want done.. as long as it gets done.
Although I agree, it is another program to make sure is installed on new machines. Another application to support and troubleshoot. We use PDFCreator and it works great. Very few problems.0 -
My client already has adobe license and don't want to go for any 3rd party source.
When i installed adobe i can see automation which provides function to create PDF but not getting exact function to use.
Can anybody help please with the code.
I need it very urgently.
Thanks for your support0 -
Do you have to stay with Acrobat 7.0, or can you upgrade to Acrobat 9.0?Ron0
-
rksaurabh wrote:When i installed adobe i can see automation which provides function to create PDF but not getting exact function to use.
Can anybody help please with the code.
I need it very urgently.
Not that everyone isn't willing to help, as I am also curious how this would work with Acrobat, but Mibuso might not be the best place to be asking the question. Your question is Adobe specific and has little to do with NAV, so you may want to browse some of their user groups (if there are any).0 -
I think that posting of automation examples is a valuable contribution to MIBUSO. I've contributed such examples in the past. But we need to know which automation platform.Ron0
-
rsaritzky wrote:I think that posting of automation examples is a valuable contribution to MIBUSO.
Absolutely, just maybe not the place to go if it really is an urgent need.0 -
You will need to use two automation servers.
Adobe Acrobat 7.0 Type Library - AcroApp
and
Adobe Acrobat 7.0 Type Libraru - AcroAvDoc
then using the CAL Symbol menu you will be able to see all the methods offered.
Open - will open the file for example
i have used adobe adobe automation before for one of my customers, and all the functions you need are listed there. I do not remember exactly how i did it, but i could dig some examples out later if you still need them.Microsoft Certified Technology Specialist
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com0 -
gvolkov wrote:You will need to use two automation servers.
Adobe Acrobat 7.0 Type Library - AcroApp
and
Adobe Acrobat 7.0 Type Libraru - AcroAvDoc
then using the CAL Symbol menu you will be able to see all the methods offered.
Open - will open the file for example
i have used adobe adobe automation before for one of my customers, and all the functions you need are listed there. I do not remember exactly how i did it, but i could dig some examples out later if you still need them.
Thanks gvolkov. atleast some idea is given. i tried those automation but still not able to convert reports into PDF. If you could please help it more in this.0 -
matttrax wrote:rksaurabh wrote:When i installed adobe i can see automation which provides function to create PDF but not getting exact function to use.
Can anybody help please with the code.
I need it very urgently.
Not that everyone isn't willing to help, as I am also curious how this would work with Acrobat, but Mibuso might not be the best place to be asking the question. Your question is Adobe specific and has little to do with NAV, so you may want to browse some of their user groups (if there are any).
Many places i saw people asking questions to use adobe to create nav report into PDF but they are not giving exactly how we can. Because if we can select adobe printer to save report into PDF manually then through some how we can create through code also.. that i need.0 -
We all know what you need.
Most of us don't use Adobe to create PDF's.
So it's not like we're holding back anything.
If someone had the information you seek I'm sure they would post it.
I lke many use the free PDF programs where their are many details posts on how to do it.
A good suggestion was to look for an adobe forum that can give you a list of the automations
Also review the PDFCREATOR one and see if you can switch it up.
When it calls for a PDFCreater auto see if their is a corresponding Adobe one.0 -
Creating a PDF file using Acrobat is very similar to PDFCREATOR, i have done both. As soon as i find my code, i will post it.
In the meantime, get Acrobat SDK, and take a look there.
steps are quite simple:
1. print report to Acrobat Distiller Printer.
2. set required properties.
doneMicrosoft Certified Technology Specialist
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com0 -
could not find my code yet, but here is something you may be able to use:
Add a variable 'Windows' type: Automation Subtype 'Windows Script Host Object Model'.WshNetworkRec.SETRECFILTER; IF ISCLEAR(Windows) THEN CREATE(Windows); Windows.SetDefaultPrinter('Adobe PDF'); REPORT.RUN(205,FALSE,FALSE,Rec);
in production you will want to revert the default printer back to the original. This solution also gives you flexibility as to where you will sava the pdf file.Microsoft Certified Technology Specialist
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com0 -
gvolkov wrote:could not find my code yet, but here is something you may be able to use:
Add a variable 'Windows' type: Automation Subtype 'Windows Script Host Object Model'.WshNetworkRec.SETRECFILTER; IF ISCLEAR(Windows) THEN CREATE(Windows); Windows.SetDefaultPrinter('Adobe PDF'); REPORT.RUN(205,FALSE,FALSE,Rec);
in production you will want to revert the default printer back to the original. This solution also gives you flexibility as to where you will sava the pdf file.
Thanks gvolkov,
As u said it will give the flexibility to save the pdf file,i tried to save it but nowwhere i was able to find out the property to save it as pdf in any of the location using code. i don't want any dialog window to open.
Could u please provide some more information.
regards
Raj0
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