Go to file
Will Glynn 2f7c3e3ae3 Define attributes included in PrintJob() documentation 2019-05-29 20:16:40 -05: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 added badges in ReadMe 2019-03-17 20:58:40 +01: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 Define attributes included in PrintJob() documentation 2019-05-29 20:16:40 -05:00
cups-client.go fixed add printer to class and added function for error handling 2019-03-17 13:40:08 +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 initial commit 2019-03-10 18:43:47 +01:00
ipp-client.go Define a PrintJob() function which accepts arbitrary attributes 2019-05-29 20:16:36 -05:00
reqest.go fixed decoding and encoding errors 2019-03-13 22:54:08 +01:00
response.go first beta release 2019-03-15 16:20:02 +01:00
utils.go first beta release 2019-03-15 16:20:02 +01:00

README.md

go-ipp

Version Licence

Go Get

To get the package, execute:

go get -h 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", 1, ipp.DefaultJobPriority)

Licence

Apache Licence Version 2.0