Turns out its extra 4 bytes of footer can be safely ignored and not sent
to the printer. So don't bother, and simplify the code a little.
Also, this adds support for SELPHY_PID/SELPHY_TYPE environment variables
that allow for unknown PIDs to be used without a recompile. Useful for