Skip to content

Commit

Permalink
deprecated operations Print-URI and Send-URI (issue #24)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Jun 4, 2024
1 parent 9c23be0 commit 2832be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/de/gmuth/ipp/client/IppJob.kt
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ class IppJob(
// Send-URI (depreacted)
//----------------------

@SuppressWarnings("kotlin:S1133") // some old printers support this optional operation
@Deprecated(message = "see https://ftp.pwg.org/pub/pwg/ipp/registrations/reg-ippdepuri10-20211215.pdf")
@JvmOverloads
fun sendUri(
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/de/gmuth/ipp/client/IppPrinter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ class IppPrinter(
// Print-URI (deprecated)
//-----------------------

@SuppressWarnings("kotlin:S1133") // some old printers support this optional operation
@Deprecated(message = "see https://ftp.pwg.org/pub/pwg/ipp/registrations/reg-ippdepuri10-20211215.pdf")
fun printUri(documentUri: URI, vararg attributeBuilders: IppAttributeBuilder): IppJob {
val request = attributeBuildersRequest(PrintURI, attributeBuilders.toList()).apply {
Expand Down

0 comments on commit 2832be1

Please sign in to comment.