The Way Of Life: February 2013
Google

Sunday, February 24, 2013

Problems when installing ESET on Linux Ubuntu


The problems occurs when i started install ESET NOD32 Antivirus for my Linux Ubuntu Desktop, I received the error message "Please install the following files or packages: /usr/lib/gconv/UTF-16.so. If you get the same problem and want to resolve the error, you must follow a few step below.

1. Open Terminal windows and type the following command :

sudo mkdir /usr/lib/gconv
 
 then make a link for UTF-16.so

sudo ln -s /usr/lib/i386-linux-gnu/gconv/UTF-16.so /usr/lib/gconv/UTF-16.so 

2. Continue the instalation process

picture take from here

related links:





Labels: , , , , , ,

Tuesday, February 05, 2013

PHP library to convert PDF


This time i will compare some way to convert pdf with php library. I've used dompdf, mpdf and tcpdf php library that combine with phpexcel library on code igniter framework. First you must download and copy pdf converter library to library folder, as you see the picture below:


Then you can change some code ,to try dompdf, mpdf and tcpdf like the picture below:

For complete source code, you can see here.
I make simple template with excel files that contains header and some columns like this:


result with mpdf library like the picture below:







and i've compare too with online pdf converter like http://www.freepdfconvert.com/

and the last comparison with print to pdf ( Ms Excel ) :


As you can see, the perfect one is mpdf library, but less on columns precision, both tcpdf and dompdf cannot render calibri font from the source template file. Bad columns convertion on tcpdf library. dompdf can convert good precision columns. With overall result, i think mpdf is the winner this time. Ms Excel and online pdf converter are not included because both of them are not php library.


related links:




Labels: , ,