harwey / cups4j

Cups4j Java printing library for CUPS/IPP
http://cups4j.org
GNU Lesser General Public License v3.0
130 stars 64 forks source link

Make getPrinters return CupsPrinter objects with a correct isDefault() return value #57

Open biergit opened 2 years ago

biergit commented 2 years ago

See https://github.com/harwey/cups4j/blob/1102886a588ec23eec9e0216c3d9ad6fa6d319b2/src/main/java/org/cups4j/CupsClient.java#L137-L150 Alternatively get rid of the default property altogether and only make access to the default printer available via a separate method.