Go to file
Fabian 49be0016e3
fixed request and response structs
2020-03-05 16:30:33 +01:00
.gitignore first beta release 2019-03-15 16:20:02 +01:00
LICENSE Initial commit 2019-03-10 18:37:26 +01:00
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 added printer-is-accepting-jobs AttributeTag 2020-01-30 09:03:51 -06: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 added first job id and limit parameter to get jobs method 2019-12-26 17:14:15 +01:00
reqest.go Added request decoder 2020-03-05 16:29:09 +01:00
response.go added response encoder 2020-03-05 16:29:31 +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