CUPS

Batch convert Mac iWork files to PDF on the command line

笑着哭i 提交于 2019-12-10 10:23:37
问题 I'm trying to batch convert a bunch of assorted iWork files (Numbers, Pages, Keynote) to PDF on the command line. I've been trying cups-filter but there's no MIME type filter for the iWork types. I then looked into using qlmanage to generate the preview image and use that, but this doesn't seem to work for multi file Keynote documents as they generate as HTML rather than PDF. Any suggestions? I'd rather not resort to AppleScript. 回答1: Well... you need something that understand the iWork file

How to install cross compiled cups to target board?

这一生的挚爱 提交于 2019-12-08 04:46:31
问题 I Cross compiled cups 1.7.0 for sitara arm linux 6 I followed ./configure --host=arm-linux-gnueabihf --disable-gssapi --prefix=/media/rootfs make make install All cups related files are automatically saved in sd card , but it shows error on typing cupsd command and not starting cups server cupsd: Child exited on signal 1. On checking /etc/cups/cupsd.conf, several paths in the configuration files are /media/rootfs/var/run/cups/cups.sock instead of /var/run/cups/cups.sock 1)how to install this

How are printer notifications in Windows supposed to work with network printers?

主宰稳场 提交于 2019-12-08 04:24:14
问题 I have an application which needs to print files of different types using their associated applications for printing using ShellExecute and the "print" verb. My application needs to (hopefully) reliably know when one print job is completely processed and it can issue the next one. I accomplish this using FindNextPrinterChangeNotification and everything seems to work fine using local printers, e.g. installed via USB, but I get a completely different behavior if network printers are involved.

How are printer notifications in Windows supposed to work with network printers?

元气小坏坏 提交于 2019-12-07 02:12:26
I have an application which needs to print files of different types using their associated applications for printing using ShellExecute and the "print" verb. My application needs to (hopefully) reliably know when one print job is completely processed and it can issue the next one. I accomplish this using FindNextPrinterChangeNotification and everything seems to work fine using local printers, e.g. installed via USB, but I get a completely different behavior if network printers are involved. One of my clients used my application with a network printer, meaning a professional printer with it's

Batch convert Mac iWork files to PDF on the command line

北战南征 提交于 2019-12-06 02:30:41
I'm trying to batch convert a bunch of assorted iWork files (Numbers, Pages, Keynote) to PDF on the command line. I've been trying cups-filter but there's no MIME type filter for the iWork types. I then looked into using qlmanage to generate the preview image and use that, but this doesn't seem to work for multi file Keynote documents as they generate as HTML rather than PDF. Any suggestions? I'd rather not resort to AppleScript. Well... you need something that understand the iWork file formats, can render the documents to then create the PDF. Unless you want to re-invent the iWork suite...

What's the easiest way to add custom page sizes to a .ppd?

狂风中的少年 提交于 2019-12-04 23:00:08
问题 I would like to add custom page sizes to my printer's .ppd (PostScript printer definition) file. What do I have to add to get a new page size working properly? 回答1: You have to add values for each additional page size at 4 different places: for PageSize , for PageRegion , for ImageableArea and for PaperDimension Best, you take one PPD and search for sections enclosed in these keywords *OpenUI *PaperSize: PickOne .... *CloseUI *PaperSize . *OpenUI *PageSize: PickOne .... *CloseUI *PageSize and

centOS 7 安装 CUPS 打印服务器,安装映美 FP-730K打印机共享

我们两清 提交于 2019-12-03 13:28:29
centOS 7 安装 CUPS 打印服务器,安装映美 FP-730K打印机共享 2017-09-13 16:27:02 mostone 阅读数 3698 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/mostone/article/details/77967018 注:映美 FP-730K 与 EPSON LQ-24 针式打印机的通讯是兼容的,所以在 linux 主机添加打印机时,使用此驱动。(https://www.openprinting.org/printer/Epson/Epson-LQ-24) Step 1: 安装 CUPS sudo yum install cups Step 2: 配置 CUPS 编辑配置文件 /etc/cupsd.conf,主要是指定网络连接侦听主机与端口,如果对所有主机开放,使用 Port 631 另外,默认的 WEB 管理界面是 Deny 的,要添加允许开关。将 Location /, /admin, /admin/conf,都加上 Allow all sudo vim /etc/cupsd.conf 重启 cups sudo systemctl restart cups 查看网络端口,是否正常 sudo ss -ant

CUPS Server compiled for Windows?

匿名 (未验证) 提交于 2019-12-03 01:17:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there a version of the CUPS server available for Windows? Looking at the CUPS source code it seems it is ready for Visual Studio compilation, but I did not find any trace of an actual supported package. I'd like to set up a CUPS server on Windows so that I can print form Linux/MacOSX/Win clients to printers I set up on this server. 回答1: The .sln and .vcproj files you've been seeing in the CUPS sources are not meant to compile all of CUPS for Windows. They serve to compile only a few of its utilities (such as ipptool.exe )... Making the

转载【2017-05-20】OpenWrt 打印机共享专用固件 (trunk, r47249)

匿名 (未验证) 提交于 2019-12-02 23:47:01
[2017-05-20 更新] 经过研究发现,Windows 共享打印机使用 RAW 数据(不是 RAW 协议)传输,因此 CUPS 可以去掉所有的过滤器和 PPD 文件。 因此重新编译了 8M 的 ar71xx 固件,只包含了CUPS和后端程序,并附带上未包含进固件的过滤器和PPD文件。 另外提供 ramips 和 x86_64 的相关软件包。 ar71xx 和 ramips 都使用 musl 库。x86_64 使用 glibc 库。 此固件使用 CUPS 来共享打印机,因此兼容性比 p910nd 更好,但是对路由的硬件配置要求也会更高。 http://www.openprinting.org/printers http://www.openprinting.org/drivers 通过外部存储扩展以及安装 ipk,可以获得更多的打印机支持。 包含的功能如下: CUPS 打印服务(含串口、并口的后端程序) 带虚拟多用户支持的 vsftpd (第二版) EXT4、exFAT、FAT 挂载支持 hd-idle 额外软件包提供的功能: Python2.7 UFSD(NTFS)挂载支持,仅 ar71xx SAMBA 共享,仅 ar71xx 路由配置要求: Flash: 8MB 最低 64MB , 推荐 128MB (内存过低会导致 CUPS 耗尽内存) 另外建议使用外接存储器,将

Linux下通用打印系统CUPS使用教程

跟風遠走 提交于 2019-12-02 16:09:29
Linux下通用打印系统CUPS使用教程 2018-06-14 15:36:34 Nerror 阅读数 576 https://www.cnblogs.com/chjbbs/p/6536332.html 1.什么是CUPS CUPS(Common UNIX Printing System,即通用Unix打印系统)是FedoraCore3中支持的打印系统,它主要是使用IPP(Internet PrintingProtocol)来管理打印工作及队列,但同时也支持”LPD”(Line Printer Daemon)和”SMB”(ServerMessage Block)以及Socket等通信协议。 在Unix/Linux发展之初,打印总是会受到各种各样的限制,最初的打印都是用LPD(命令行方式的打印守护程序)来实现的,它不支持IPP(Internet打印协议),而且也不支持同时使用多个打印设备。而CUPS的出现,提供了一套完整的管理打印设备、实现可靠打印、网络打印的一套完整方案。此外,在Linux下进行CUPS驱动开发是遵循GPL协议规定的,也就是说必须开源。 CUPS实际上是一个集成的服务。包括了前端接收打印命令的相关程序,后端控制打印机硬件的程序,中间则是打印驱动。首先来看看CUPS驱动打印机的方式。当CUPS接受到打印命令时,首先会进行一个格式的预转换,比如将