duansha7025 2015-02-23 18:18
浏览 61

在PHP 5.6中打印文件(仍然)不可能?

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!

  • 写回答

2条回答 默认 最新

  • douwei8096 2015-02-25 09:05
    关注

    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
    评论

报告相同问题?

悬赏问题

  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思