airprint-generate icon indicating copy to clipboard operation
airprint-generate copied to clipboard

Automatically generate AirPrint Avahi service files for CUPS printers

Results 21 airprint-generate issues
Sort by recently updated
recently updated
newest added

As the output file is created for writing text and lxml raw generates bytes objects an error is thrown. Opening the file in binary mode solves the issue.

Currently the avahi service file generated doesn't include whether the printer can print colour or not which causes iOS to assume the printer can only print black and white. It...

There is no discernible reason why, but this change (inspired by https://launchpadlibrarian.net/124973715/cups_1.5.3-0ubuntu5.1_1.5.3-0ubuntu6.debdiff) allows us to (air)print duplex on Debian Wheezy.

Hi all, I‘ve got an issue that is not limited to this script, yet I think for a start chances are that the good people here could guide me to...

I have installed the avahi-daemon service, cups with the shared option, you can print by cups perfectly, I have created the AirPrint service with the script, iOS detects it, but...

import cups, os, optparse, re, urlparse ImportError: No module named cups I get this when I run this. I am running a RPi and it may be an issue with...

- add printer-make-and-model as ty - remove duplicates and correct URF again - correct hex format for printer-type - rename node to reflect IPPS - add apple.convs and apple.types from...

Update to reflect that port option needs to be specified or else the host cannot be found.

I got an empty service file 'AirPrint-hplaserjet100colormfpm175a.service' created: -- @linux:~/Downloads/airprint-generate> ./airprint-generate.py -v hplaserjet100colormfpm175a Losing support for: text/css,image/x-photocd,image/x-bitmap,image/pwg-raster,application/vnd.cups-raw,application/vnd.cups-postscript,application/vnd.cups-pdf-banner,application/vnd.hp lasercups-pdf Traceback (most recent call last): File "./airprint-generate.py", line 279, in apg.generate() File...

Fix the etree in Python lxml wanting to have the file opened in the 'wb' mode for the write() function to work. Fixes the 'TypeError: write() argument must be str,...