|
|
create pdf programmatically in vb
I simply want to automate the process of creating a pdf file. I want to
print an excel sheet to pdf, like I normally would do on paper. But when I
try to use the Adobe pdf printer, always the print dialog shows up. How can
I suppress this and set the filename in my vb application?
I am looking for a solution for ages now, there are tons of things I can do
using several sdk's, but not the most simple thing like creating a pdf file.
One method I found is:
Dim bla As New PDFMAKERAPILib.PDFMakerDriver
bla.ExecPDFMaker "d:\test.pdf", ???, True, True
But what is this parameter ??? supposed to be?
Thanks, Ray
|
|
0
|
|
|
|
Reply
|
ano
|
1/17/2007 8:01:50 PM |
|
On Wed, 17 Jan 2007 21:01:50 +0100, ano nym wrote in comp.text.pdf:
>I simply want to automate the process of creating a pdf file. I want to
>print an excel sheet to pdf, like I normally would do on paper. But when I
>try to use the Adobe pdf printer, always the print dialog shows up. How can
>I suppress this and set the filename in my vb application?
>I am looking for a solution for ages now, there are tons of things I can do
>using several sdk's, but not the most simple thing like creating a pdf file.
>
>One method I found is:
>Dim bla As New PDFMAKERAPILib.PDFMakerDriver
>bla.ExecPDFMaker "d:\test.pdf", ???, True, True
>
>But what is this parameter ??? supposed to be?
I suggest you use the PDFDistiller object and its FileToPDF method. I've
published some skeleton code in some microsoft.public.* newsgroups:
<http://groups.google.fi/groups?threadm=081401c3820b%241ed766b0%24a101280a%40phx.gbl>
<http://groups.google.fi/groups?selm=1g9h11hp4hp219h5hja6f36ksbphgi89hr%404ax.com>
--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
|
|
0
|
|
|
|
Reply
|
Michael
|
1/18/2007 7:27:49 AM
|
|
"ano nym" <ano.nym@nowhere.com> wrote:
>I simply want to automate the process of creating a pdf file. I want to
>print an excel sheet to pdf, like I normally would do on paper. But when I
>try to use the Adobe pdf printer, always the print dialog shows up. How can
>I suppress this and set the filename in my vb application?
>I am looking for a solution for ages now, there are tons of things I can do
>using several sdk's, but not the most simple thing like creating a pdf file.
Did you try the Acrobat SDK? It is generally a recipe for disaster to
try and automate Acrobat without following the SDK, especially using
"discovered" objects like those for PDFMaker.
With Acrobat 7 and later, the Distiller API includes a method to
specifically set the filename for the Adobe PDF printer.
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
|
|
0
|
|
|
|
Reply
|
quite
|
1/18/2007 9:12:33 AM
|
|
|
2 Replies
667 Views
(page loaded in 0.046 seconds)
Similiar Articles: create pdf programmatically in vb - comp.text.pdfI simply want to automate the process of creating a pdf file. I want to print an excel sheet to pdf, like I normally would do on paper. But when I t... disable Save and Print programmatically - comp.text.pdfHi all, I want to disable Save and Print functions programmatically using VB or VB.Net. I have Adobe 5 Full Version and am able to use that to com... Converting Web Pages to PDF with Acrobat and VB - comp.text.pdf ...create pdf programmatically in vb - comp.text.pdf Converting Web Pages to PDF with Acrobat and VB - comp.text.pdf ..... option create pdf>from web page Is there any way to ... programmatically print PDF and specify printer, page size, and ...create pdf programmatically in vb - comp.text.pdf programmatically print PDF and specify printer, page size, and ... ... and copy count . comp.text.pdf ... pdf file ... Programmatically add signature and timestamp to PDF - comp.text ...I am writing an application (with Visual C++) that outputs PDF files, everything done programmatically (phew). Now I want to be able to add a signatur... How to implement batch print pdf file programmatically - comp.text ...create pdf programmatically in vb - comp.text.pdf How to implement batch print pdf file programmatically - comp.text ... vb.net - Printing to a pdf printer programatically ... how to insert <create pdf programmatically in vb - comp.text.pdf How to insert bmp's in pdf - comp.text.pdf... you have a little piece of code >(best in vb) I ... how to insert <</Type ... Programmatically check/extract PDF comments - comp.text.pdf ...create pdf programmatically in vb - comp.text.pdf Programmatically check/extract PDF comments - comp.text.pdf ..... computer users to create documents in (Portable ... PDF print from VB - comp.text.pdfcreate pdf programmatically in vb - comp.text.pdf I simply want to automate the process of creating a pdf file. I want to print an excel sheet to pdf, like I normally ... printing a pdf file from vb.net - comp.text.pdfcreate pdf programmatically in vb - comp.text.pdf I simply want to automate the process of creating a pdf file. I want to print an excel sheet to pdf, like I normally ... pdf • View topic • create pdf programmatically in vbcreate pdf programmatically in vb. Programming and Web Development Forums - pdf - Adobe Acrobat and Portable Document Format technology. Skip to content create pdf programmatically in vb - comp.text.pdf | Computer GroupI simply want to automate the process of creating a pdf file. I want to print an excel sheet to pdf, like I normally would do on paper. But when I t... 7/20/2012 4:22:05 PM
|
|
|
|
|
|
|
|
|