Skip to content

Commit

Permalink
job, page-ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Nov 13, 2023
1 parent 7353ace commit 539aae2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/kotlin/de/gmuth/ipp/client/IppJob.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ class IppJob(
val kOctets: Int
get() = attributes.getValue("job-k-octets")

val pageRanges: Collection<IntRange>
get() = attributes.getValues("page-ranges")

val numberOfDocuments: Int
get() = attributes.getValue("number-of-documents")

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/logging.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ de.gmuth.level=INFO
#de.gmuth.ipp.client.IppPrinter.level=FINE
#de.gmuth.ipp.client.IppJob.level=FINE
#de.gmuth.ipp.client.IppSubscription.level=ALL
#sun.net.www.protocol.level=FINEST
#sun.net.www.protocol.level=FINE

# ------- formatters -------

Expand Down

0 comments on commit 539aae2

Please sign in to comment.