PrinterMain: use less RAM for sending replies
PrinterMain: fix large floating point numbers in replies (use %g format
which uses exponential notation for large numbers)