-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a "ipptool --ippserver" ippserver attribute text files pool for developing/debugging #69
Comments
That's an interesting idea. But even if we don't have "real" attribute files we can still put together a selection of synthesized printers that represent common classes of printers, like Apple does in its Printer Simulator developer application. |
Hey, I just read out this attribute file my printer HP Color LaserJet M254nw.
HP Color LaserJet M254nw.attr.txt Note: |
Hey, another one. This is from a Samsung M283. Curious fact:
|
Glade has published binary Get-Printer-Attributes responses from various printers. Another approach could be to provide a simple script that uploads printer and job attributes to a public ipp-printer-database. |
@gmuth There are some privacy issues we need to address for this (printer attributes often contain personally identifying information) and the linked files don't include the printer resource files (icons and strings files) that would also be needed to fully impersonate a particular printer. But thank you for the link, might be useful as a starting point at least... |
I like the direction this is moving but I agree with Mike that there are some privacy issues to be resolved. There also may be some "mechanical" issues to resolve as well, since a large repository of .conf files living in a "print" sub-directory to all be loaded b ippserver gets increasingly awkward as the number of .conf files grows. |
I've written a jvm-based tool inspectprinter.sh that runs a few ipp operations and saves the ipp responses. Anyone can fork the github repository ipp-samples, run the tool, commit and push new ipp files and create a pull request. If you like the approach I'd be happy to support a shared effort. If you see privacy issues we could use a private repository. |
With the command
an IPP attributes file from the printer with the given URI can be generated which allows emulating this printer with the `ippserver' utility.
For developers of client software (print dialogs, PPD generatoes, ...) it would be great to have a pool of such files for as many printers as possible so that they can test the support for all functionality of IPP printers by simply emulating different models with different features.
The pool could be made part of this ippsample software package.
If manufacturers do not like to publish their printer's capability list files they could, if they prefer it, anonymise them by removing make/model info.
The text was updated successfully, but these errors were encountered: