go-ipp/README.md

34 lines
734 B
Markdown
Raw Normal View History

2019-03-10 17:37:55 +00:00
# go-ipp
2019-03-17 19:47:29 +00:00
2019-03-17 19:58:40 +00:00
[![Version](https://img.shields.io/github/release-pre/phin1x/go-ipp.svg)](https://github.com/phin1x/go-ipp/releases/tag/v1.0.0-beta)
[![Licence](https://img.shields.io/github/license/phin1x/go-ipp.svg)](https://github.com/phin1x/go-ipp/blob/master/LICENSE)
2019-03-17 19:47:29 +00:00
## 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
2019-03-17 19:58:40 +00:00
* parse ipp responses and ipp control files
2019-03-17 19:47:29 +00:00
## 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