This is my first Xojo project, so I'm still learning. My project is to enter data and print on die-cut and continuous labels to a thermal transfer printer.
The project was working and printing text and pictures to the printer correctly with it's max resolution of 300dpi, however I could not set the page size no mater what I did.
After investigating, it seemed that the Monkeybreadsoftware win plugins would be my best choice, so I purchased and loaded the plugins.
The page length from the plugins worked well, but my pictures became very large. After checking it, I found that the resolution was not at 72 dpi instead of the 300 dpi that the printer should have been printing to. Even after removing the code for the plugin and removing the plugins, I am still getting 72 dpi printing from the printer. I have tried the ps.MaximumHorizontalResolution = -1, ps.MaximumVerticalResolution = -1, also tried setting the resolutions to 300 and still remains at 72 dpi.
dim g as Graphics
dim ps as PrinterSetup
ps = new PrinterSetup
if ps <> nil then
g = OpenPrinterDialog(ps)
If g <> Nil Then
ps.MaximumHorizontalResolution = -1
ps.MaximumVerticalResolution = -1
xscalefactor = page.horizontalresolution / 72
yscalefactor = page.verticalresolution / 72
Can anyone give me some help on this?