fb37766f9429cb26f003c9e81b909637544ff8b4 |
05-Oct-2017 |
Glade Diviney <mopriadevteam@gmail.com> |
Support IPPS-only printers Some printers ship in a mode that supports only IPPS. This pull request discovers IPPS printers and uses IPPS to communicate with printers if necessary. Fixes: 67460226 Test: Use Default Print Service to print to an IPPS-only printer Change-Id: I9aba8e03178182828ed423179cdbbefd42f868b3 Signed-off-by: Glade Diviney <mopriadevteam@gmail.com>
dnsDiscovery.java
|
d1d1934f739b57b5389abdef5fe906a27325a704 |
02-Jun-2017 |
Glade Diviney <mopriadevteam@gmail.com> |
make add printer dialog less invasive When visiting the Add Printer activity for the first time with no manual printers added, it makes sense to automatically prompt the user. But on subsequent attempts the user may just want to see the list and shouldn't have the dialog in the way. With this change, the dialog only appears if the user has no manually-added printers already. Test: Use Add-Printer feature, won't show dialog if a printer already added Change-Id: I5b9e38fa868ca0a4297a5dcc314d48d56fe7fee6 Signed-off-by: Glade Diviney <mopriadevteam@gmail.com>
iscovery.java
|
e604a9fafd50bca9fbc86ca525196efb6f1b70b1 |
03-Jun-2017 |
Glade Diviney <mopriadevteam@gmail.com> |
improve printer discovery When doing IPP Get-Attribute requests, printers that are missing or slow to respond can slow down the discovery process dramatically. This change allows more control over timeout, prioritization, and cancellation of Get-Attribute requests. A "first pass" with a short timeout puts all well-behaved printers in front of the user quickly, and a second pass with a longer timeout catches any stragglers for completeness. Manual printer discovery is also improved here, by looking at :80/ipp/print, capturing the full printer name from printer-dns-sd-name or printer-info if necessary, and more consistently presenting the correct name to the user. Test: Visit the printer list on networks having multiple printers Change-Id: I9bfdbf17e617e8cc073f88bd03c6be1e4dfd21e7 Signed-off-by: Glade Diviney <mopriadevteam@gmail.com>
iscoveredPrinter.java
iscovery.java
anualDiscovery.java
ultiDiscovery.java
|
3bf66744d61d18c66d46f2608de0467ad3df0268 |
30-Nov-2016 |
Mopria <mopriaplay@gmail.com> |
Built-In Print Service The Built-In Print Service implements a standard Android Print Service and allows printing to Wi-Fi enabled printers on the users's local network. Printers must support mDNS discovery and the IPP protocol, and must allow jobs to be sent in PCLm, PWG-raster, or PDF formats. Internally, this service implements job control, page rendering, and printer interactions in native code. This code relies on libjpeg-turbo for JPEG encoding functions required by PCLm, and selected portions of CUPS for direct interactions with printers. Test: ./gradlew test Change-Id: Ib2dca0190ba4abe028da1d9cd62308733ecce7b5 Signed-off-by: Mopria <mopriaplay@gmail.com>
iscoveredPrinter.java
iscovery.java
anualDiscovery.java
dnsDiscovery.java
ultiDiscovery.java
sdResolveQueue.java
|