Bugfix for #491. Thanks to Steffen for reporting and fixing
Merge pull request #64 from peuter/cups

Bugfix for #491. Thanks to Steffen for reporting and fixing