To get the package, execute:
go get -u github.com/phin1x/go-lpd
- rfc1179 compatible client
- create custom lpd requests
- parse control files
Print a file
client := lpd.NewClient("printserver", 515)
client.PrintFile("/path/to/file", "my-printer", nil)
- implement delete jobs method
- parse result in get queue state methods
- add usernmae and job number filter in queue state and delete job methods
- write more tests
Apache Licence Version 2.0