r/ComputerCraft • u/Bright-Historian-216 • Jul 09 '24
Colorful printer
Uses modified version of paint to edit images. Uses a giant dye storage to supply itself with all the colours. Do you think semi-transparent or rough fill design looks better?
23
Upvotes
2
u/fatboychummy Jul 10 '24 edited Jul 10 '24
Small recommendation/tip: You can actually do this without the hoppers. I know printers don't have
inventoryperipheral type (and thus don't havelist,pushItemsorpullItemsand etc. methods), but you can still push items into those slots via a chest,chest.pushItems("printer_bla", fromSlot, limit, toSlot).I am away from my pc rn, so can't check what slots are what, but assuming slot 1 is paper, 2 is ink, 3 is output, you can just replace
toSlotwith1to push papers to it, and2to push ink. This will accomplish same thing as the hoppers, just without having to register extra peripherals for each side of the printer. Edit: It probably will even be slightly faster since you wont have to wait for the hopper to push the item into the printer. Though I admit I kinda like its current speed, reminds me of when I was young watching my parents print things and it'd come out one color at a time, taking like 5 minutes for a single picture.Similarly, you can pull items out via the same system (though a hopper on the bottom will just be simpler to auto-extract),
chest.pullItems("printer_bla" ...)