Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Quality

Status
Not open for further replies.

Akusei

Programmer
Jul 15, 2003
90
US
I am programatically printing a PDF using PDFTron's PDFNET Library and would like to set the printer's quality in code. I have tried using the PrinterResolution object in maby different ways, but cannot set the Quality to high.

PrinterResolution is a Read-Only object and doesn't allow me to change .Kind to PrinterResolutionKind.High. When I set the printername and enumerate the PrinterResolutions collection, I get a whole bunch of dpi values like -4x-1, -3x-1,-2x-1 and so on... I get these values even if I manually set the printer quality to best from within the PrinterDialog.

Does anyone know how to set the printer's print quality to high or best?

Thanks,
Akusei
 
Really Really need help! ... I did some more tests and when I set the print quality through the PrintDialog object, and the DpiX and DpiY values do not reflect the high quality Dpi values, but the printer does print at the high quality. If I do not use the PrintDialog object and programatically set the DpiX and DpiY through the PrintDocument.DefaultPageSettings.PrinterResolution object, then the DpiX and DpiY do reflect the correct values, but the printer does not print at high quality! What am I doing wrong?

Please help!
 
Ok, even further testing... If I choose Best quality in the PrinterDialog object then the PrinterResolution.Kind is set to "Medium" at 600x600. If I choose Normal, it is set to the same, however, if I choose Low it changes to "Low" at 300x300.

If I change the printers to a different printer, then the result is that no matter what I choose the value it always "Custom" 600x600.

Any ideas?
 
Does anybody have any clue how to do this?
 
Bump... please, if anyone has any info on this what so ever, it would be greatly appreciated, even if it doesn't help at all!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top