My organization uses a web application built with PHP that prints barcodes and other formatted stuffs directly to printer. The PHP version used is 5.2.6 that has php_printer.dll extension which enables the program to print directly to printer.
Now, the management wants me to rebuild the app and I am very interested to create it using Laravel latest version which requires PHP version >= 5.6.4. But the php_printer.dll extension is not available for these versions.
I found the extension which mentions it supports 5.6.8 (https://github.com/gimjudge/php) but it does not work. I have tested with PHP 5.6.25 and 5.6.8.
So, what are my options here?
Am I stuck with older version of PHP because of this single issue?
I am self learned web developer without CS degree. I don't know C language. So I cannot create the .dll extension myself. Do I have to learn the whole process? How long might this take?
Can I hire someone to take the extension for the old version and create a new one for the latest version of PHP? How long may this take and how much may this cost?
Last project I worked on that needed to print, I created PDFs containing this.print() JavaScript so the PDF would print automatically upon opening coupled with Chrome's kiosk printing option..
Hi @SaeedPrez, thank you so much for your kind suggestion. I will try it.
In your experience with these tools, is it possible to start a page, print something, end the page and start again. I am asking this because I need to print barcodes to barcode printer, for which I need to start and end the pages for barcodes to print on each barcode sticker.