Go to file
Fabian Weber 6fab588008 fixed eof errors in the decode methods 2020-03-06 14:47:37 +01:00
.gitignore
LICENSE
README.md Fixed typo in README 2019-08-05 01:15:35 +02:00
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 fixed add printer to class and added function for error handling 2019-03-17 13:40:08 +01:00
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
reqest.go fixed eof errors in the decode methods 2020-03-06 14:47:37 +01:00
response.go fixed eof errors in the decode methods 2020-03-06 14:47:37 +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

README.md

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