Commit Graph

118 Commits

Author SHA1 Message Date
Fabian 31b9eb5010 moved the PrintTestPage Function to the cups client 2020-03-28 00:32:25 +01:00
Fabian 03317e6333 fixed some c&p comment errors 2020-03-28 00:30:48 +01:00
Fabian edb3dbf35d added more code comments for docs 2020-03-28 00:27:56 +01:00
Fabian a88a2fa1e4 use IPPError in Response CheckForError method 2020-03-27 23:32:12 +01:00
Fabian d2f1f7d4bf added a example for basic ipp options and comments for the attribute.go file 2020-03-27 23:18:52 +01:00
Fabian f3ffb293f0 added badge for godoc 2020-03-27 17:16:59 +01:00
Fabian 4bd7e24425 check ipp response for errors 2020-03-27 16:38:12 +01:00
Fabian 4cfc510b8d fixed eof handling in request and response decoder 2020-03-27 15:59:54 +01:00
Fabian 92049dc21c
Bumped version to 1.4.0 2020-03-09 23:27:07 +01:00
Fabian Weber c7d02dc356 use int8 instead of uint8 2020-03-09 12:58:54 +01:00
Fabian Weber 4fcd80d8c1 fixed type in new request method 2020-03-09 12:51:46 +01:00
Fabian Weber b2caea9354 fixed type for ipp tags 2020-03-09 12:47:23 +01:00
Fabian Weber 18e47480fd fixed unexported status constants 2020-03-09 12:30:28 +01:00
Fabian Weber ba0594054f fixed data type for status codes 2020-03-09 12:28:15 +01:00
Fabian Weber f2562dc04a use build in types for constants 2020-03-09 12:21:57 +01:00
Fabian Weber c9636991c4 fixed response encoding 2020-03-09 11:09:16 +01:00
Fabian Weber 33c6ef07ac Merge branch 'master' of https://github.com/phin1x/go-ipp 2020-03-09 10:36:42 +01:00
Fabian Weber 4018bb14e6 Removed job and operation attributes prefix
Added more attribute constants
2020-03-09 10:36:29 +01:00
Fabian 5344d4c21b
Updated version in readme 2020-03-06 20:18:26 +01:00
Fabian 6f0a0ebbe8 return from decoding function at eof instead of break from the decoding loop 2020-03-06 18:34:41 +01:00
Fabian Weber 6fab588008 fixed eof errors in the decode methods 2020-03-06 14:47:37 +01:00
Fabian Weber 26693eaf18 Merge branch 'master' of https://github.com/phin1x/go-ipp 2020-03-06 12:23:32 +01:00
Fabian Weber 1249335763 fixed nil reference in request encoder 2020-03-06 12:22:56 +01:00
Fabian ddc8e9c46f
fixed request operation encoding 2020-03-06 11:06:47 +01:00
Fabian Weber 72ec31bc0b Moved IPP Content Type to const file 2020-03-06 10:25:31 +01:00
Fabian 166c30bdd6
fixed request and response structs 2020-03-05 16:31:05 +01:00
Fabian 49be0016e3
fixed request and response structs 2020-03-05 16:30:33 +01:00
Fabian 59b8e60246
added response encoder 2020-03-05 16:29:31 +01:00
Fabian 2357cc318b
Added request decoder 2020-03-05 16:29:09 +01:00
Fabian 6f54d5c07a
Merge pull request #9 from korylprince/fix/add-attribute-tag
added printer-is-accepting-jobs AttributeTag
2020-01-30 21:56:14 +01:00
Kory Prince 2227bd2de9 added printer-is-accepting-jobs AttributeTag 2020-01-30 09:03:51 -06:00
Fabian 6c9dee854a added first-job-id to the list of known ipp tags 2019-12-26 20:28:03 +01:00
Fabian f0c2e4db43 added first job id and limit parameter to get jobs method 2019-12-26 17:14:15 +01:00
Fabian 42b7622f64 added job filter "all" const 2019-12-26 16:49:32 +01:00
Fabian d0d4987b76 - changed the get jobs method to fetch jobs from printer, classes or both
- the response decoder now need a writer for additional response data, for example if you fetch documents from the server
2019-12-26 16:46:08 +01:00
Fabian 25c0ce404e
Merge pull request #8 from muesli/conversion-fixes
Avoid unnecessary conversions
2019-08-06 21:07:05 +02:00
Fabian 1a8d047dcd
Merge pull request #7 from muesli/static-analysis
Don't assign variables we don't end up using
2019-08-06 21:06:03 +02:00
Fabian 73d7acefa8
Merge pull request #6 from muesli/readme-typo
Fixed typo in README
2019-08-06 21:05:14 +02:00
Christian Muehlhaeuser aeff57c379 Avoid unnecessary conversions
No need to convert these types.
2019-08-05 16:47:27 +00:00
Christian Muehlhaeuser b6c2a94121 Don't assign variables we don't end up using
resp is unused here, don't assign it.
2019-08-05 16:40:36 +00:00
Christian Muehlhaeuser 87b17587bd
Fixed typo in README
I assume this is a typo, as `-h` isn't a valid parameter.
2019-08-05 01:15:35 +02:00
Fabian e590962f2e updated readme example 2019-06-09 00:34:12 +02:00
Fabian 96d5fac412 updated readme example 2019-06-09 00:31:28 +02:00
Fabian 3bb656c92f updated version in readme 2019-06-09 00:15:56 +02:00
Fabian 336a8e359f
Merge pull request #5 from phin1x/unify-print-methods
unified print functions
2019-06-09 00:05:57 +02:00
Fabian d637c91791 unified print functions 2019-06-09 00:03:50 +02:00
Fabian e221cdb59e
Merge pull request #4 from willglynn/print_job
Add IPP `PrintJob()`
2019-06-04 23:02:23 +02:00
Will Glynn 1afec2e953 Sort attributes 2019-05-29 20:16:40 -05:00
Will Glynn 2f7c3e3ae3 Define attributes included in PrintJob() documentation 2019-05-29 20:16:40 -05:00
Will Glynn f468c078d9 Define a PrintJob() function which accepts arbitrary attributes 2019-05-29 20:16:36 -05:00