OMG it works! 😁 At least the basics. Let’s wire this thing to that thing and see what happens.
Also as @danieltufvesson suggested, the transformer has two inputs, one for 220V and one for 240V, and because Portugal used to be 220V, that’s what this printer is wired for. We are now at 230V so I should rewrite this which will be a problem since I need to figure out how to get to the transformer.