像Crystal Reports for PHP一样? [英] Something like Crystal Reports for PHP?

查看:110
本文介绍了像Crystal Reports for PHP一样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找可以在PHP中使用并且类似于Crystal Reports的东西.我基本上需要进行布局设置,这意味着我只需插入数据即可输出发票,然后将其发送到打印机.

I'm looking for something that works in PHP and is similar to crystal reports. I basically need to have a layout setup that means I can output invoices just by inserting the data, and then send it to a printer.

到目前为止,我找到的最接近的是PDFB,但这有点麻烦,因为它需要精确定位.

The closest I've found so far is PDFB, but It's a bit of a pain as it needs to have precise positioning.

我希望有一些东西可以基于模板(最好是基于XML)生成发票,然后将其输出到易于我们打印的表单中(PostScript会很不错!)

I'd like to have something that could generate an invoice based on a template (preferably XML based) and then output it to a form easy for us to print (PostScript would be nice!)

它也需要支持条形码(尽管它们可以作为GD图像生成)

It needs to have support for barcodes too (though these can be generated as a GD image)

另一个要求是必须是牙线

Another requirement is that this must be FLOSS

推荐答案

将XML + XSL:FO与 Apache FOP一起使用通过 PHP-JavaBridge .

Use XML + XSL:FO with Apache FOP via PHP-JavaBridge.

方法如下: http://wiki.apache.org/xmlgraphics-fop/HowTo/PHPJavaBridge

PostScript很好!

PostScript would be nice!

许多PostScript打印机也了解PDF.

Many PostScript printers understand PDF too.

这篇关于像Crystal Reports for PHP一样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆