Sorry, I looked at Printer Preferences several times. There are no parameters to set the margins on this printer.
I thought about getting a more modern printer, but I rarely use the one I have for documents. Its main use is for envelopes and as a backup scanner, and for that, I don't want to spend money.
As previously reported, I used a Canon laser printer to test your program with great success, so this whole thing must have something to do with the printer. I'm hoping to find an older release of the printer software on the HP website and download. The printer was working fine. Maybe HP changed something.
Thanks,