To add what Benny stated.
I pass a Canvas object to a master routine and while in it, I can test for the canvas class TPrinterCanvans or TCanvas to determine what is being passed.
Of course you could also pass a flag parameter too.
of course you could always design the layout on a Tbitmap and them use a stretch draw to the printer, since printers in many cases have more Dots on them.
Jamie