Hi Thomas,
This seems to be a machine specific issue to me as
using your code snippet itself, we are not able to replicate this issue on any
of our test machines.
If we specify a printer name (other than default),
then on the Print method, an exception is being raised that the specified
printer could not be found. The printer's name was an invalid name so this
exception was thrown.
If we specify any valid printer name then the Print
is being executed on the provided printer name rather than on the default
printer.
I have also attached a screenshot for the
same.
Regards,
Sam Xavier
Sam,
i have downloaded TrueDBGrid (and Preview) and this is still not working
for me.
Before the TrueDBGrid.PrintInfo.Print I have checked the printer name and
it was correct. But TrueDBGrid still printed on the default printer.
Does this work for you? Can you send me the code you're
using?
Thomas
http://helpcentral.componentone.com/cs/forums/p/75018/204919.aspx#204919