updated readme
This commit is contained in:
parent
3ffaad4606
commit
75dbb0f8e2
27
README.md
27
README.md
|
@ -1 +1,28 @@
|
||||||
# go-ipp
|
# go-ipp
|
||||||
|
|
||||||
|
## 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 response and files
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
Print a file
|
||||||
|
```go
|
||||||
|
client := ipp.NewIPPClient("printserver", 631, "user", "password", true)
|
||||||
|
client.PrintFile("/path/to/file", "my-printer", 1, ipp.DefaultJobPriority)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Licence
|
||||||
|
|
||||||
|
Apache Licence Version 2.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue