OpenMediaVault-Plugin-Developers / openmediavault-cups

CUPS plugin for OpenMediaVault
7 stars 8 forks source link

IOS 7 Support #3

Closed ZiroNL closed 8 years ago

ZiroNL commented 10 years ago

The Airprint config needs some changes to work with IOS7, maybe it could be implemented? I got mine setup working now, but it would be nice if it works out of the box.

/usr/share/cups/mime/airprint.types: image/urf urf (0,UNIRAST)

/usr/share/cups/mime/local.convs: image/urf application/vnd.cups-postscript 66 pdftops

/etc/cups/cupsd.conf: "ServerAlias *" needs to be changed to the hostname of OMV (nas.local for example)

/etc/avahi/services/omvcups-Airprint-.servcice: Add "image/urf" to the pdl string.

ghost commented 10 years ago

We'll look into it when updating the plugin for Wheezy.

Are /usr/share/cups/mime/airprint.types and /usr/share/cups/mime/local.convs files you've created or are those files that are edited?

/etc/cups/cupsd.conf should be easy to fix. Do you know why needs to be the hostname? (Just so I know why it's changed)

ryecoaaron commented 10 years ago

Maybe donh's post will help with this??

http://forums.openmediavault.org/viewtopic.php?p=33855#p33855

ZiroNL commented 10 years ago

I'm not authorised to read that forum thread.

/usr/share/cups/mime/airprint.types and /usr/share/cups/mime/local.convs are files I created.

I don't know why it needs a hostname. I changed it to a real one instead of the *. Without that change it did not work for me.

greend139 commented 10 years ago

Just adding the mime types to CUPS solves the problem. Any AirPrint service files generated after those exist will have the image/urf PDL.
Mine works fine without changing the hostname. Any changes to cupsd.conf get removed when the file regenerates anyway.

Great work porting this to OMV5!

ghost commented 8 years ago

Is this still an issue and if that's the casse, does anyone have a patch for it?