*** zbenjamin_ is now known as zbenjamin | 01:35 | |
*** frinring_ is now known as frinring | 09:09 | |
attah | piggz: Now there is collection decoding... it ain't pretty | 09:33 |
---|---|---|
piggz | attah: gr8 ... where is that used? to printers send data with collections? | 10:06 |
attah | piggz: the printer will first advertise e.g. what media-col attributes/options/... it supports | 10:06 |
attah | If we include it it needs to be within supported attributes and ranges | 10:07 |
attah | (although just size should perhaps always work) | 10:07 |
attah | bit i think we can cheat a bit and look up a supported media-col and echo (parts of?) it back | 10:08 |
piggz | attah: ah, ok | 10:09 |
piggz | but yeah, im sure all must support size and margins | 10:09 |
attah | if they support media-col at all, that would probably be safe | 10:10 |
attah | the way all other settings work is to put ...-supported as the choice list, ...-default as the default choice, and then just include ... in the request if it has been changed | 10:11 |
attah | For media-col that probably won't work, but keeping the symmetry can't hurt | 10:12 |
piggz | sounds like a plan | 10:12 |
piggz | ping me if you want to be to build/test... | 10:12 |
piggz | if you have telegram, or in a channel that is bridged to telegram, im @adampigg | 10:13 |
attah | sorry, i don't | 10:14 |
attah | piggz: about that pull request... i'd want to bring on that functionality but de-duplicate some code if possible | 10:16 |
attah | Is that something you are working on, or should i? | 10:16 |
piggz | attah: i dont mind you rejecting the PR, but using it for insprition | 10:17 |
attah | okidok! | 10:17 |
piggz | its more really just a POC... | 10:17 |
piggz | tho, i do think it works easier if you pass a reference into the function, instead of passing back a bytestream :) | 10:18 |
attah | just syncing expectations :) I'm happy it works, and for the kick in the rear | 10:18 |
attah | that was a good idea, i went for something similar in the collection stuff | 10:19 |
piggz | by all means use it as a refernce an re-implement, im just happy to get photo printing working | 10:20 |
attah | that's the goal :) i bet you will not be alone in benefiting from that | 10:21 |
piggz | attah: hows the progress? | 14:49 |
*** svartoyg_afk is now known as svartoyg | 15:37 | |
*** frinring_ is now known as frinring | 21:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!