I am using xojo’s reports for printing, and I can’t seem to be able to print with a high enough resolution.
I have increased the resolution in my PrinterSetup, but after a point I did not see a difference, neither in the XPS document size, nor in the actual printed paper.
At the moment my code looks like this:
Dim PS As New PrinterSetup
PS.Landscape=true
PS.MaxHorizontalResolution = -1
PS.MaxVerticalResolution = -1
if PS.PageSetupDialog Then
Dim g As Graphics
g = OpenPrinterDialog(PS)
gLabelSetup = PS.SetupString
tfDoNOTDelete.Text = gLabelSetup
if g <> Nil Then
if rpt.Run(lbWeekPrint, PS) Then
if rpt.Document <> Nil Then
rpt.Document.Print(g)
End if
End if
End if
End if
Apologies, I am new here, did not realize I was being rude or offensive . Sincere apologies, I legitimately could not find the post Markus was talking about, and the search ended up returning a lot of threads, with most not being helpful.
Search in this forum is rubbish. Really ,really, poor.
Also you couldn’t search for dpi because it only has 3 letters.
Search doesn’t even turn up results in date order, so a post I know I read only yesterday may not appear on the first page of results.
The post in question was a few lines down if you viewed all posts and weren’t searching.
I prefer to use Google and do a search with “Xojo” plus the term to find. I agree with Jeff, searching in this obsolete forum software is close to useless.
Thank you all for the help. (The link will certainty prove useful in the future Oliver) I think that through the link that Emile provided I will manage to get my solution.
You probably didnt see it because you did not see all channels. At the top left of the forum click on All Channels to see everything.
And I agree, dont use the forum search, just use Google.
But it also depends on what you search for - Im always amazed when people cant find what then usually takes me 5 seconds to find. In this case searching for Xojo printing high resolution or even better Xojo printing high resolution 96 dpi gets you an answer quickly, certainly much quicker than writing a question and waiting for an answer - after all there are years of accumulated problem solving just a short query away.