Future Proofing my Printer with Reversing

HDMI (room 3)
Leo (he/his) || Janis (she/her) || * (they/them)
My printer is only supported through proprietary drivers using a custom CUPS filter to convert PDFs/Images/... into a printer-specific Page Description Language such as PJL or PCL. However, CUPS is to deprecate filter based printer drivers in favor of IPP which every new printer supports. Mine doesn't. However, CUPS/OpenPrinting have designed PAPPL, a library to turn old printer filters/drivers into "Printer Applications". These are self-contained (and thus sandboxable) small daemons that provide an IPP server on localhost for applications to interface with, and spit out the commands necessary to talk to the printer in question. My goal is to write such a printer application for my printer. I havehad no previous knowledge of printing in general and on Linux and UNIX/macOS specifically, so this is taking rather long (and is by no means finished).
I have only started reversing the original driver and trying to piece together some proof-of-concept replacement. I still have no idea how to write a PAPPL, but I've learned so much on the way, maybe you want to learn this to and help me? A small warning though: You'll be the person everyone asks on how to setup printers from then on :'-D * https://codeberg.org/ljrk/ricoh * https://support.ricoh.com/bb/pub_e/dr_ut_e/0001294/0001294697/V10_22/r75383L2.exe This is a PE32.exe but you can simply unzip it and get an RPM file which you can extract using rpm2cpio from rpm-tools and cpio. See more: https://wiki.hip-berlin.de/index.php?title=HiPoCrypt#Future_Proofing_my_Printer_with_Reversing

Additional information

Type Workshop 90 min
Language English

More sessions

12/27/22
Theater Hall - E.T.I. (HiP main stage)
HIP - Track 1 - Room 5
Welcome to Hacking in Parallel. Lets fire this up.
12/27/22
Theater Hall - E.T.I. (HiP main stage)
pandzillophon
HIP - Track 1 - Room 5
We'll look at the role IT and software play in modern manufacturing, with a twist on the semiconductor industry. Since I'm a security guy, we'll mostly focus on the sorry state of that.
12/27/22
Theater Hall - E.T.I. (HiP main stage)
HIP - Track 1 - Room 5
Das US-Militär hat massenhaft Geräte zur biometrischen Erfassung von Menschen in Afghanistan genutzt. Einige Geräte wurden beim hastigen Abzug der NATO-Truppen zurückgelassen. Wir haben bei Analysen solcher Geräte große Mengen an biometrischen und weiteren personenbezogenen Daten gefunden. In den falschen Händen bedeuten diese Daten Lebensgefahr für Menschen in Afghanistan und Irak.
12/27/22
Track 2 Room 2
Anne Herpertz
HIP - Track 2 - Room 2
Nazis, Querdenken und andere verschwörungsideologische Aufmärsche - welche Möglichkeiten gibt es, in Einklang mit Versammlungsgesetzen und in Verhandlungen mit Polizei und Versammlungsbehörden legal zu blockieren? Ein How-To aus den Erfahrungen bei @QuerstellenDD.
12/27/22
Workshop - E.T.I.
Yan 't' Minagawa
HDMI (room 3)
It gives an overview of the Matrix World. Showcasing and spotlightning projects and developments. Goal of the workshop is to educate people enough to run their own matrix-homeserver and federate with others.
12/27/22
Workshop - E.T.I.
Mitch
Soldering Workshop Room
''Learn Arduino using TV-B-Gone as an example project''<br> <br> You've probably heard lots about '''Arduino'''. But if you don't know what it is, or how you can use it to do all sorts of cool things, then this fun and easy workshop is for you. As an example project, we'll be creating a '''TV-B-Gone''' remote control out of an '''Arduino''' you can take home with you.
12/27/22
Track 2 Room 2
Liam Kurmos
HIP - Track 2 - Room 2
Workshop exploring Regenerative design in the context of a rural community art and hackerspace in the small Welsh speaking town of Caernarfon in rural North Wales.