I have a quick question. I’ve been doing some reading about printing in Xojo, but I’m struggling to find out how to change the print margins. I’m sure it’s probably really easy, but for some reason, I can’t seem to find it. LOL
GraphicsPrintingExample.xojo_binary_project
Printing To Screen or Printer.xojo_binary_project
PrintingPicture.xojo_binary_project
PrintingText.xojo_binary_project
StyledTextPrinterExample.xojo_binary_project
Thanks for the information; much appreciated! Yes, I have been reading the Xojo docs and have done Google searches, etc. It seems that I keep getting conflicting information about margins. For example, on the Mac, the dialog window for changing margins doesn’t even appear, but in Windows, the users are given a choice in regards to them. (Hmm). I was wondering if there was a way to set the margins (via code) to ensure uniformity, as I will be printing mailing labels (and don’t want the user accidentally overriding the settings, messing it up.)
i think you look for printersetup.
see PrinterSetup.PageLeft
if you have a Din A4 Paper each printer have
a printable area. inside this you can do what you want.