lpadmin -p print-queue-name -i /path/to/interface/script -v socket://ip.addr.of.printer/ -E
Prior to Fedora 25, the above command would install the specified script to /etc/cups/interfaces and create the queue.
In Fedora 25, it gives error:
lpadmin: Unable to open PPD "/path/to/interface/script": Missing asterisk in column 1 on line 1.
lpadmin: Bad PPD file.
Xerox Print Driver software relies on the old behavior. Example:
Since cups-2.2 interface scripts have no longer been supported upstream for security reasons:
Thank you, Jirka.
I am sorry, Robin, but as Jirka said, this feature is no more supported in CUPS. Its adding would be divergence from upstream and it is security issue. Closing this bug as WONTFIX.
OK, thanks Jiri and Zdenek.
I have reported the problem in Xerox support forum:
WORKAROUND: Downgrade from CUPS 2.2.x to CUPS 2.1.x
1. Go to https://koji.fedoraproject.org/koji/
2. Search for latest cups build for Fedora 24
3. sudo dnf install <urls to cups cups-client cups-filesystem cups-libs cups-lpd>
4. Prevent updates from upgrading these cups packages:
echo 'exclude=cups cups-client cups-filesystem cups-libs cups-lpd' \
| sudo tee -a /etc/dnf/dnf.conf
I was then able to use the Xerox Linux Drivers to install System V Interface queues and print color documents.
Just wanted to add a note that I don't need the above workaround any more. The latest Xerox Linux Driver for Xerox WorkCentre 7830/7835/7845/7855 worked fine on Fedora 27.
Thank you for information, Robin!