Convert HTML to PDF using MVC 4 - asp.net-mvc-4

I'm using MVC4 with Visual Basic to make a web aplication.
In my aplication I am using highcharts and some tables that i would like to export to a PDF to be send by mail.
What's the best way to do it? Server side (Visual Basic) or client side (javascript)? And how could i do it? I have found very poor information about this. Thanks

you can use Winnovative Html to Pdf converter or Evo Html to Pdf Converter
other good example at CodePlex

If you are looking for an Open Soure .NET library I would try PDFSharp. I have used it in the past with Visual Basic and had no problems.

Related

Power BI Report Server Paginated subscription in HTML 4.0 not showing images when saving to fileshare then embedding in email

In order to implement custom from addresses for paginated subscription, I am saving HTML 4.0 formatted report to a file share, then using OPENROWSET/BULK load in SQL plus sp_send_dbmail to send the mail. All worked great after adding the HTML 4.0 type and configured embedding. The only issue is that images do not show in the email.
In my research, all of the articles I am seeing are people rendering the reports via web service or code. SSRS -Image not rendering on HTML 4.0 Report(Unauthorization )
I am on Power BI report server and wondering if it would even be possible to get the images to render. The article mentions overriding the Deviceinfo StreamRoot, is this something I could do in my scenario without external code? Like via settings or anything else? I also saw a suggestion to just add a rectangle but that had no affect. Any ideas are appreciated.

is there any sample program using Kentor.AuthServices.MVC

I am using mvc4 and I need SAML2.0 for the security. I tried some samples with Component Pro but we need to purchase it and it has good documentation also.
I came to know about Kentor.AuthServices.MVC which is an open source and may i know whether there is any learning site where I can implement with mvc4.
There is a working SampleMvcApplication included in the source on github.

VB.NET QR-Code Reader

I've easily found various QR-Code generators, but I need to use the data stored in the barcode on a regular desktop app using VB.Net and a WebCam or eventually an flash, javascript webpage to do the job.
Is that possible? Any products or tutorials avaiable?
Should there be an online service for this? Maybe a flash app?
Need some directions...
Thx
Paulo Bueno.
Open Source library: http://www.codeproject.com/KB/cs/qrcode.aspx
Paid library: http://www.onbarcode.com/products/net_barcode_reader/barcodes/qrcode.html
There are likely more available as well.

How to create custom JSP in Documentum web publisher?

I'm trying to create a web page where some content(parts of the page such as footer/header etc) will come from documentum and some data on the page will com from external oracle database.
From what I can tell from Documentum Web publisher docs it seems like I should create a "presentation" that is JSP rather than XSL, but I am not able to figure out how to do that.
Is this the correct approach or is there a better approach? Is there a link to clear sample? Can all this be published into documentum from the web publisher frontend, or do I need direct access to documentum server(via unix etc)?
I got this to work in webpublisher, key was to create a presentation file that when applied will publish as a JSP rendering, JSP code is embedded in the XSL presentation file. Was not very difficult, just not easy to find in the myriad of documentation that Documentum webpublisher comes with.
Documentation

PDF converter for Classic ASP Application?

I need my asp page (report) to be converted as PDF format. Is there any free 3rd party control available for Classic ASP?
Take a look at
http://code.google.com/p/wkhtmltopdf/
It uses webkit.
Basically it's an EXE. You can call it from ASP (starting a process) and then sending the output file in the response stream.
active pdf and websupergoo are good choices.
Another option is the Adobe FDF toolkit. The fdf toolkit is cool because it lets you store pdf form data, can be saved in a db, and then it populates a pdf.