建了一个printcab就可以了。
下面是我从网上找到的。
about QPrinter not finding the printers: Qt has support for CUPS, but it needs to be built in the library. Otherwise, it's possible that simply Qt cannot get the printer list from CUPS. Possible solutions: -
- check if Qt is linked to libcups (use "ldd")
--configure CUPS to create a printcap file, such that Qt can still access printer list using the old LPR-way (done in /etc/cups/cupsd.conf, see CUPS doc)
建了printvad file以后,不用连接cups库了,不过,是不是没有用CUPS呢?
我还是不明所以。
建了一个printcab就可以了。
下面是我从网上找到的。
about QPrinter not finding the printers: Qt has support for CUPS, but it needs to be built in the library. Otherwise, it's possible that simply Qt c ...