|
Rank: Newbie Groups: Member
Joined: 3/13/2019 Posts: 6
|
Is EO.PDF able to create a PDF by 'printing' to a file path that I provide without prompting the user for a file name? If so, can you direct me to some sample code?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi, I am not sure if I understand your question correctly. This is primarily what EO.Pdf is for --- to create PDF file without user interaction. In fact you would need to write additional code if you want user interaction. There are two main interface you can use to create PDF file: HTML to PDF and PDF Creator. See here for more details about them: https://www.essentialobjects.com/doc/pdf/htmltopdf/overview.aspxhttps://www.essentialobjects.com/doc/pdf/acm/overview.aspxExactly which one to use depends on you. The PDF Creator interface is a lower level API, much less powerful but faster. The HTML to PDF interface is a higher level API and much more powerful but slower. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/13/2019 Posts: 6
|
Sorry about not being clear. I have an app where it can print its content to a paper printer without a problem. For Win10, I can use "Microsoft Print to PDF" to print and end up with a PDF file. I am wondering if EO.PDF has an "EO Print to PDF" sort of support that acts like the "Microsoft Print to PDF"?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Ah. No. EO.Pdf is not a PDF printer so it can not be used to replace "Microsoft Print to PDF". Sorry about it!
|
|
Rank: Newbie Groups: Member
Joined: 3/13/2019 Posts: 6
|
Shucks! Thanks for the very fast responses!
|
|