Commit Graph

24 Commits

Author SHA1 Message Date
pSox a6121dac1a Added Apache 2.0 copyright notice 2022-11-17 11:02:26 +00:00
the-goodies 2ecd656eb1
Fix GetJobAttributes method
GetJobAttributes was always returning: "server doesn't return any job attributes" in my case. Turns out it's because it wasn't returning the correct response value. This should fix this.
2021-04-02 21:38:19 +03:00
Dennis Oehme 9029d1aa19 Address comments from review 2021-02-26 11:24:22 +01:00
Dennis Oehme af51cfebfc Added adapter implementation including Socket Adapter 2021-02-26 09:40:29 +01:00
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 4bd7e24425 check ipp response for errors 2020-03-27 16:38:12 +01:00
Fabian Weber b2caea9354 fixed type for ipp tags 2020-03-09 12:47:23 +01:00
Fabian Weber 4018bb14e6 Removed job and operation attributes prefix
Added more attribute constants
2020-03-09 10:36:29 +01:00
Fabian Weber 6fab588008 fixed eof errors in the decode methods 2020-03-06 14:47:37 +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 f0c2e4db43 added first job id and limit parameter to get jobs method 2019-12-26 17:14:15 +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
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
Fabian d637c91791 unified print functions 2019-06-09 00:03:50 +02:00
Will Glynn f468c078d9 Define a PrintJob() function which accepts arbitrary attributes 2019-05-29 20:16:36 -05:00
Sergio Ryan 6461f0d7c5
Fixed setting c.username as job-name attribute 2019-05-17 17:33:07 +07:00
Fabian Weber 3ffaad4606 fixed add printer to class and added function for error handling 2019-03-17 13:40:08 +01:00
Fabian Weber 7606089b66 first beta release 2019-03-15 16:20:02 +01:00
Fabian Weber 83b3e83978 fixed decoding and encoding errors 2019-03-13 22:54:08 +01:00
Fabian Weber 030c260947 initial commit 2019-03-10 18:43:47 +01:00