This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, March 8, 2011 8:45:47 AM(UTC)
Groups: Registered
Posts: 12
Thank you, Maen, for explaining this. This is something I've needed too. I'm setting my DPI to 200 like this:
// set dpi
using (Leadtools.Printer.Printer printer = new Leadtools.Printer.Printer(printerName))
{
PrinterSpecifications specs = new PrinterSpecifications();
specs.PrintQuality = specs.YResolution = 200;
printer.Specifications = specs;
}
There is still one other element I want to set. I don't want to use the Windows print spooler. I want to print directly to the device. Any tips on how to set that?
#2
Posted
:
Wednesday, March 9, 2011 5:34:10 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
This feature is not controlled by our API. It's part of the Windows API and can be controlled through the SetPrinter function with the PRINTER_INFO_5 structure and the PRINTER_ATTRIBUTE_DIRECT flag.
Please refer to Microsoft documentation for more details.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.