Author Archives: selectpdf

Web/HTML To PDF REST API for Python Samples

python-programming-languagePython is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale.

Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library.

In this post, SelectPdf team has put together a few Python samples for our Html To Pdf API to make your life a little easier if you need to convert from web pages to pdf in your Python applications.

Continue reading

Web/HTML To PDF REST API for Ruby Samples

Ruby-languageRuby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Since its public release in 1995, Ruby has drawn devoted coders worldwide. In 2006, Ruby achieved mass acceptance. Ruby is also completely free. Not only free of charge, but also free to use, copy, modify, and distribute.

Because of its popularity, we are sure that a lot of you write your code in Ruby, so SelectPdf team decided to put together a few samples for our Html To Pdf API to make your life a little easier if you need to convert from web pages to pdf in your Ruby applications.

Continue reading

Web/HTML To PDF REST API for Java Samples

javaSelectPdf API is the best when it comes to converting web pages to pdf. Just send your url or html string to our API and get back the perfect PDF document. Externalize the load from your servers. Outsource the html to pdf conversion to SelectPdf REST API and get the best results no matter the platform you are using: Java, PHP, .NET, Ruby, Perl or anything else.

SelectPdf HTML To PDF Online REST API is a professional solution that lets you create PDF from web pages and raw HTML code in your applications. The API is easy to use and the integration takes only a few lines of code. The following Java code samples use v2 of SelectPdf Online HTML to PDF REST API.

It’s very easy to convert any URL or raw HTML string to PDF in Java using SelectPdf HTML To PDF API.

Continue reading

Web/HTML To PDF REST API for PHP Samples

phpSelectPdf HTML To PDF Online REST API is a professional solution that lets you create PDF from web pages and raw HTML code in your applications. The API is easy to use and the integration takes only a few lines of code. The following PHP code samples use v2 of SelectPdf Online HTML to PDF REST API.

It’s very easy to convert any URL or raw HTML string to PDF in PHP using SelectPdf HTML To PDF REST API.

Continue reading

HTML To PDF Online REST API v2 released

selectpdfSelectPdf releases v2 of the HTML To PDF Online REST API. SelectPdf HTML To PDF Online REST API is a professional solution that lets you create PDF from web pages and raw HTML code in your applications. The API is easy to use and the integration takes only a few lines of code.

Our HTML to PDF REST API platform will work with both desktops and mobile devices, no matter what OS you are using. Your apps can access any of our PDF converter features from desktops, servers or mobile devices. No changes are required to your server infrastructure. No software installation is needed. Choose from our pricing model based on your PDF Conversion needs.

Continue reading

New feature for the online html to pdf converter – use CSS print media type

New html to pdf converter online featureA new feature was added to the online html to pdf converter: the possibility to use the page ‘print’ CSS media type (instead of the default ‘screen’ media type).

To use the feature with our html to pdf converter online, in our homepage, click on the ‘Options’ link and check the box ‘Use CSS media type Print’.

The same feature is now available in our Html to Pdf Online API and also in the Save as Pdf free service using the use_css_print option.

SelectPdf Library for .NET – 2015 vol 2

selectpdfSelect.Pdf Library for .NET – 2015 Vol 2 has just been released. Together with the full featured pdf library, the community edition of our SelectPdf Html To Pdf Converter for .NET v1.2 was also released.

The release contains a lot of bug fixes and speed improvements.
The 2 products can be downloaded from our website or via NuGet.

Continue reading

How to fix: Conversion failure. Could not find ‘Select.Html.dep’.

(Updated in December 2016).

SelectPdf Html To Pdf Converter needs 2 files to work. They are different for the 2 versions that we offer:

Select.Pdf Library for .NET – Commercial Edition

Select.Pdf for .NET requires the .NET assembly Select.Pdf.dll and if the html to converter is used, an additional file called Select.Html.dep. This file, because it does not have a reference in the project, might not get copied to the deployment destination. To fix the problem, copy Select.Html.dep manually. More details about this here:
http://selectpdf.com/docs/Deployment.htm

SelectPdf Html To Pdf Converter – Community Edition

SelectPdf Html To Pdf converter requires 2 files to work: the .NET assembly Select.HtmlToPdf.dll and an additional file called Select.Html.dep. This file, because it does not have a reference in the project, might not get copied to the deployment destination. To fix the problem, copy Select.Html.dep manually. More details about this here:
http://selectpdf.com/html-to-pdf/docs/html/Deployment.htm

IMPORTANT: If you are setting the full path to Select.Html.dep in code using the HtmlEngineFullPath property of the GlobalProperties class, do not forget to include the file name (Select.Html.dep) with the path.

UPDATE (December 2016):

There are special cases that need to be taken into account when deploying applications that use SelectPdf and you get the “Conversion failure. Could not find ‘Select.Html.dep'” error. One is related to One Click deployments (Publish…) from Visual Studio.

To be sure that Select.Html.dep is deployed, add it into the project as a regular file and set the ‘Build Action’ to ‘Content’ and ‘Copy to Output Directory’ to ‘Copy Always’. Rebuild and redeploy your project (make sure that Select.Html.dep.deploy exists in the deployment folder).

Benefits of Using a HTML to PDF Converter

pdf converterPeople need to access web pages on a regular basis. There are some pages which you may want to refer to on a daily basis. Going to the web page all the time may not make sense. If you have to use it daily, it makes sense to save it in the form of a document which you can access from your phone or laptop whenever you want. The best format to save it is in PDF. The biggest advantage of the PDF format is that it can be made secure by using password protection. You can check the document whenever you want without any restriction. For this, you need to get the web pages converted into the PDF format. This can best be done by making use of the HTML to PDF converter. When you search online, you will come across many converters from which you can opt for one which is quite popular and used by many people.

Continue reading

Convert Complex Files from HTML to PDF with an Online Convertor

SelectPdfInternet serves as a place wherein people of all spheres come and gather. It is a hub of knowledge wherein an individual gets access to all the important information. Rarely does it disappoint anyone who is looking for product or service related knowledge. There is no denying the fact that business today thrives on the web. It can be said that even the biggest brands cannot survive without sharing data with its competitors or with its associates. This necessitates the requirement of a portable document that works universally on all the systems without causing issues. Every individual whether working professionals or personal users cater to document formats that are portable and easily managed. As a professional convertor company, I understand the need had to preserve valuable data in a reliable and efficient way. For any business this is a globally accepted file format. Many people take this as the go-to medium of storing and sharing data. Html to PDF convertor plays a key role here, facilitating faster and cost effective conversions.

Continue reading