Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, March 8, 2011 8:45:47 AM(UTC)

amurray  
amurray

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?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, March 9, 2011 5:34:10 AM(UTC)
Maen Hasan

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.072 seconds.