Skip to content

phin1x/go-lpd

Repository files navigation

go-lpd

Licence

Go Get

To get the package, execute:

go get -u github.com/phin1x/go-lpd

Features

  • rfc1179 compatible client
  • create custom lpd requests
  • parse control files

Examples

Print a file

client := lpd.NewClient("printserver", 515)
client.PrintFile("/path/to/file", "my-printer", nil)

TODO's

  • 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

Licence

Apache Licence Version 2.0

Releases

No releases published

Packages

No packages published

Languages