Murat Yazi
Murat Yazi

Reputation: 85

Print file in PHP 5.6 (still) not possible?

I am using PHP 5.6 and to print something, I have to edit php.ini and include the php_printer.dll file. But there is no .dll fiile for PHP 5.6.

What I am trying to solve:

I want to connect the voucher-printer to the server/webpage. When a customer orders products, the order will be printed automaticly on the voucher-printer.

Are there other solutions? I have read, that some printers/voucher-printers can get E-Mails.

Many thanks in advance!

Upvotes: 3

Views: 8879

Answers (2)

mokNathal
mokNathal

Reputation: 553

I also was looking for the same hope you have solved it.

But there are no answer, so here is the link where I found php_printer.dll for PHP 5.6, and it worked for me.

https://github.com/gimjudge/php

Upvotes: 4

ToBe
ToBe

Reputation: 2681

Many PECL extensions can be found on this site, but you need to match PHP version, platform and compiler of the extension to your PHP file.

http://windows.php.net/downloads/pecl/releases/

It seems there was a "printer" extension on PECL a very long time ago. You may find windows versions of it somewhere, but most likely this extensian is dead.

http://pecl.php.net/package/printer

The top three lines of phpinfo() contain your version information. A small sample from my instance:

  • System: Windows NT 6.2 build 9200 (Windows 8.1 Home Premium Edition) i586
  • Build Date: Jul 23 2014 14:58:09
  • Compiler: MSVC11 (Visual C++ 2012)
  • Architecture: x86

Upvotes: -1

Related Questions