Skip to content

Commit

Permalink
update lib version to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Nov 21, 2023
1 parent 539aae2 commit 1c2cdb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ipp-client v3
# ipp-client v3.1

A client implementation of the ipp protocol for java and kotlin.
RFCs [8010](https://tools.ietf.org/html/rfc8010),
Expand All @@ -20,17 +20,17 @@ supports printer lookup by queue name.
Repository [ipp-samples](https://github.com/gmuth/ipp-samples) contains examples how to use jmDNS.

```
implementation("de.gmuth:ipp-client:3.0.1")
implementation("de.gmuth:ipp-client:3.1")
```

[README.md for version 2.x](https://github.com/gmuth/ipp-client-kotlin/blob/2.5/README.md) is still available.

### [IppPrinter](https://github.com/gmuth/ipp-client-kotlin/blob/master/src/main/kotlin/de/gmuth/ipp/client/IppPrinter.kt) and [IppJob](https://github.com/gmuth/ipp-client-kotlin/blob/master/src/main/kotlin/de/gmuth/ipp/client/IppJob.kt)

```kotlin
// Initialize printer connection and show printer attributes
// Initialize printer connection and log printer attributes
val ippPrinter = IppPrinter(URI.create("ipp://colorjet.local/ipp/printer"))
ippPrinter.attributes.log(logger)
ippPrinter.log(logger)

// Marker levels
ippPrinter.markers.forEach { println(it) }
Expand Down

0 comments on commit 1c2cdb5

Please sign in to comment.