Which 3th party is used for?
Demo Not working
Please provide a demo URL
I have included documentation which envato should have made available for buyers.
Anyway, here are the steps:
1) add the dll, as well as the windows binaries from http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltox-0.11.0_rc1-installer.exe to your bin folder
2) add a reference to the dll
3) call it with
PDFWriter pdf = new PDFWriter(txtURL.Text, Server.MapPath(““), “PDF/pdf”, DateTime.UtcNow.Ticks.ToString());
you should maintain server.mappath(““) so the dll knows the folder to reference the file from.
after that you can set your own folder (e.g. “pdf”, “pdf/pdf”)
let me know if you need further assistance
how do i install this on the server ? the hoster is not agreed to install exe on the server is there a better solution ?
If you own the server, or you have a remote machine of your own you can set that up yourself by adding the binaries and calling them. If you are depending on the hoster, it could be harder since they will fear the binaries will hurt the machine. Unless you have full trust you cant call ProcessStartInfo. I’m sorry if that was unclear in the description. Anyway, feel free to send me an email so we can talk.
hi dude, if i purchase this will u help me to setup this on a vps server ?
you will receive detailed documentation with your purchase,but yeah, if you have any problem, contact me through my profile and I can provide support
if i am not able to install it … will u help me install and start it ? if yes will u charge me for the assistants or u will install it for me ?
yes, if you followed the installation steps carefully and it still doesn’t work, I can take a quick look at your server and see if I can help
There is no help file how do I use the program ?
you can test the pdf generation here, http://www.tiagoduarte.pt/
I believe I added a working demo and documentation for this solution. If you are having trouble finding it, please let me know so I check with envato.
i have downloaded the zip from codecanyon.net but it only contain a dll of WeatherModule of xml and WeatherModule.dll and nothing else
Please send me the correct ZIP file on my email id
Haven’t received anything ?
I believe the new version has been approved. Please check your item and redownload it at code canyon and let me know if you have any troubles.
Hi tduartethemes, Some of us have more experience with PHP and/or app servers on the Unix side (for me).
I need to try this on an IIS7 webserver. I’m familiar with wkhtmltopdf. My question is in regards to the best base directory structure for implementing this on IIS7 (on the webserver end not in visual studio). I’m new to the asp.net world so forgive me if the questions seem obvious.
In regards to the demo can I set it up this way with a virtual directory? Do I need those site.master files? Als how do i call the demo?
urltopdf <- virtual directory
the demo project has a subfolder and a master page that you don’t need but if you want to take the demo project as is and try it, the simplest way is to configure the root directory as the virtual directory location (where web.config is) and set the default file to PDF\Default.aspx so that it opens automatically, or else you have to navigate to /PDF/Default.aspx from the base url. All the project really does is instantiate the object through the assembly reference. If you’re having trouble I can provide you a cleaner demo project only with a single web form and no subfolders so you can try it. If so, send me a message directly from my profile page so I can answer by mail.
Excellent thank you for the quick response. I’ll give the demo a whirl and let you know if I have any other questions.
Hi, besides considering to buy your google Drive downloader I am also considering this one, however how do I test to see if it works with my site?
because it says on your live preview:
Note: pdf generation is currently disabled. You can try checking if the dev site is online.
if you click on “dev” site it opens this link at this moment, when it is available, so you can generate pdfs and images: http://tiagoduarte.dyndns.org:82/
Nice, thanks. Working great!
Hi again, I was wondering if you were to make a similar plugin for Wordpress?
I will give you a scenario: The can at any time press a “make pdf” -button and the current page they are seeing is turned into PDF.
Since I am asking is because your PDF’s are so much more worth it that the other PDF generators out there. So nice with the pictures and incoporated links etc.
I will definitely consider a wordpress version. It is a bit hard for me to keep creating new stuff at such low prices, because the return value does not make up for the hours I invest in these plugins but if there are people out there interested in new platform support I will surely give it a try. I haven’t created a widget yet but I think it will be a good way to incorporate this into wordpress.
what can I do to help? Besides buying your plug-ins?
Do you have a donation page?
Yes, on my blog http://ftduarte.blogspot.pt/ there is a link to paypal donation below “blog archive” on the right column. If you are kind enough to donate whatever you think you can, it will surely help me keep going on. If you can also help me share the plugins on social networks that will surely help as well. Thanks.
As you wished, here it is, http://codecanyon.net/item/wordpress-converter-widget-for-pdf-png-and-jpg/4610974
1. Make this project into a single ‘dll’ – it is dumb to have your purchasers install binaries or include an executable within their applications. Dependency dll’s are fine.
2. The api is bland is not well documented.
3. Server IO is expensive, memory is not. With many engineers migrating their .net projects to MVC, its important to consider the following,
barcodeBitmap = new Bitmap(result);
MemoryStream ms = new MemoryStream();
return File(ms.ToArray(), "application/pdf");
Obviously, the above is not going to work. As PDFs are not bitmaps. Just a though.
You got a lot of work man!
Thanks a lot for your feedback.
I just wrote a lot of things in the general comments page and then realized this is a asp.net url2pdf comment.
I understand your concerns, but I wanted to keep the possibility of updating the binaries, instead of enforcing a binary version that cannot be upgradable or moved to other versions.
Using IO operations may not be the best practice I think it makes sense. You can always have a task running that covers maintenance issues, and keep conversion formats low to reduce file size.
As always, I appreciate the feedback and use it to improve all of the items I have available. I have created awesome new features to plugins such as the google and dropbox downloaders due to feedback from both customers and non-customers. Unfortunately this module that I believe is powerful, doesn’t make up for the development time and it’s hard for me to keep improving everything when the return value is so insignificant (I got 1.9 euros per each current purchase).
‘URL2PDF.PDFWriter’ does not contain a definition for ‘OpenPDFfromURL’ and no extension method ‘OpenPDFfromURL’ accepting a first argument of type ‘URL2PDF.PDFWriter’ could be found (are you missing a using directive or an assembly reference?)
This is what I get on this line
string pdfLocation = pdf.OpenPDFfromURL();
The method has changed since V1.
Please check the item description page and you’ll see an example implementation now using the updated method, GenerateAndGetLocation()
Hi! I purchased the plugin yesterday and believe I’ve just about got the implementation figured out but received the following error just now while testing:
ERROR: System.ComponentModel.Win32Exception: The directory name is invalid at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at URL2PDF.PDFWriter.GenerateAndGetLocation() in D:\Consulting\Modules\PDF\wkhtmltopdf\URL2PDF\URL2PDF\PDFWriter.cs:line 140 in C:\inetpub\wwwroot\upfiles\
No need to reply, I figured out the issue.
is this support arabic?
you can try it for yourself using the demo site
Where is the demo site? Have you added arabic support to it?It is really urgent.
use this link to try for yourself http://tiagoduarte.no-ip.org. I don’t know what you mean by adding support
Its working properly in local server but when i hosted in iis server 7 it doesn’t working..
if you need support please use the contact form on my profile page. generation will only succeed if there are enough permissions to run the application and to write in the output folder
We have used software like this before but it didn’t convert the css styles and the formatting came out badly. Is there a demo somewhere we could test out on one of our pages?
I wont. be able to setup the live demo until next week. meanwhile you can send me a message with the url and i can send you an example output.
Is it work with webforms?
Is this a stand alone web app or class?
it is a wrapper class for an external executable. an example website is included for demo purposes
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $4
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work