Find a file
2020-03-06 18:34:41 +01:00
.gitignore
attribute.go Fix typo in error message 2019-05-28 21:08:57 -05:00
attribute_test.go Add TagEnum encoding 2019-05-28 21:03:47 -05:00
constants.go Moved IPP Content Type to const file 2020-03-06 10:25:31 +01:00
cups-client.go fixed request and response structs 2020-03-05 16:30:33 +01:00
error.go
go.mod - changed the get jobs method to fetch jobs from printer, classes or both 2019-12-26 16:46:08 +01:00
ipp-client.go fixed eof errors in the decode methods 2020-03-06 14:47:37 +01:00
LICENSE
README.md Fixed typo in README 2019-08-05 01:15:35 +02:00
reqest.go return from decoding function at eof instead of break from the decoding loop 2020-03-06 18:34:41 +01:00
response.go return from decoding function at eof instead of break from the decoding loop 2020-03-06 18:34:41 +01:00
utils.go - changed the get jobs method to fetch jobs from printer, classes or both 2019-12-26 16:46:08 +01:00

go-ipp

Version Licence

Go Get

To get the package, execute:

go get -u github.com/phin1x/go-ipp

Features

  • basic ipp 2.0 compatible Client
  • extended client for cups server
  • create custom ipp requests
  • parse ipp responses and ipp control files

Examples

Print a file

client := ipp.NewIPPClient("printserver", 631, "user", "password", true)
client.PrintFile("/path/to/file", "my-printer", map[string]interface{}{})

Licence

Apache Licence Version 2.0