dunno why. I copied that code straight out of my app.
Maybe a limitation of your printer?
(ask a programmer, it's always a hardware problem.)
I tried it in a test app without errors.
I'm printing to an HP 4 LaserJet over a network.
It is set as my default printer, which is what mPrinter points to.
scarfhead