Acrobat PDF Writer - save as

mhp1234
Member Posts: 6
Hi,
I want to use the Acrobat PDF Writer to send PDF invoices to our clients by email.
Therefore I want to save the invoice as 'invoicenumber.pdf', but I can´t find out, how to pass over the 'save as' dialog and set the filename directly.
After some time I found a way to set the path fix in the windows registry. Now I can save the invoice as c:\invoice.pdf and copy it via the shell command as 'invoicenumber.pdf'.
Acrobat PDF Writer was often recommended in this forum. Is there any better way to solve this problem?
Thanks
Mario
I want to use the Acrobat PDF Writer to send PDF invoices to our clients by email.
Therefore I want to save the invoice as 'invoicenumber.pdf', but I can´t find out, how to pass over the 'save as' dialog and set the filename directly.
After some time I found a way to set the path fix in the windows registry. Now I can save the invoice as c:\invoice.pdf and copy it via the shell command as 'invoicenumber.pdf'.
Acrobat PDF Writer was often recommended in this forum. Is there any better way to solve this problem?
Thanks
Mario
0
Comments
-
Hi Mario,
I can give you a small example, how I have managed it with mailing invoices. I have created a new button in the sales form with those code lines:
path := 'D:\'+code+'_'+STRSUBSTNO ('%1',WORKDATE)+'.html';
REPORT.SAVEASHTML(404,path,FALSE,rec);
mailen.OpenNewMessage(emailadr,path);
where path = Textvar, where I store the path to save this file; in the textvar 'code' I store the number of the invoice and append the current date; 404 = number of the report and 'rec' in your case the sales invoice header; to codeuint 397 (=mailen) I pass the Emailadress (= var emailadr) of the customer.
Michael0 -
Hi Michael,
> I can give you a small example, how I have
> managed it with mailing invoices. I have
> created a new button in the sales form with
> chose code lines:
[...]
thanks a lot. But I need PDF. The PDF Writer was mentioned many times in this forum so hope to get an answer later.
Try http://www.mynavision.net/dlinfo.asp?FileID=112 for sending invoices by email. It´s faster and better to use. You can also add much more text to the email and tell your customer, when and how to pay.
Regards,
Mario0 -
Have you tried pdfFactory http://www.fineprint.com/software/pdffactory/standard/index.html ?
I have no experience with this, but it looks promising.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Hi,
I found 3 solutions:
1. Amyuni PDF (http://www.amyuni.com)
You can use it as automation
2. Acrobat Distiller
http://www.navision.net/forum//link.asp?TOPIC_ID=2704
3. Acrobat Writer < Version 4
The older versions are controlled by an .ini file called "__PDF.INI".
You can add the following line to avoid the DocInfo dialog and to set the path and create the complete ini file by C/AL:
PDFFileName = c:\rechnungen\RE051815.pdf
bDocInfo = 0
I like the Acrobat PDF Writer solution, because compared to Amyuni the pdf files are better.
Regards,
Mario0 -
MarioP: Could you tell us which key/location to change in the registry?0
-
PrebenRasmussen: "The key is HKCU\Software\Adobe\Acrobat PDFWriter"
But I found out, that PDFWriter is backwards compatible0 -
PrebenRasmussen:
[...]
So you can control the registry by the ini file. The ini file must be placed in the printer spool directory. If there is a value set in the ini file, it is mapped to the registry.0
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