| | |
printer quality
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2007
Posts: 2
Reputation:
Solved Threads: 0
Good day. Language is VB6 (service pack 6)
I have for a while been having a problem that I've tried (unsuccessfully) to get answers to on the Forums (should that be fora?)online.
When I want to send graphics to the printer, I can use the common dialogue box to open the printer screen (for printer choice etc). This, in theory, allows the user to alter some details (e.g. number of copies, colour mode etc). The one thing I can't get it to do is change the print quality (i.e. to request higher quality output).
Last night on line I found, on the Microsoft website a 'print dialogue control'. It stated that this gave more access to printer controls (including print quality). I downloaded and installed the control. There were then 2 sample programs to paste in, to try. The first interrogates the printer and gives details of it's defaults. This showed 'printdlg.printquality' as 720 (dpi).
The second program allows you to alter printer specifications and see the results in the de-bug screen. No matter what I did to the printer, the printer.printquality always came out as 0.
I found the line in the program that says 'printer.printquality = printdlg.printquality'. By pausing the program immediately after this line I checked both variables. printdlg.printquality was '720', printer.printquality was still '0'! (I thought this was impossible). The only thing I can come up with is that there is a bug in VB6 regarding the handling of the printer.printquality item.
Does anyone, anywhere have an answer to this? I am desperately tring to finish a program for distribution, but it has to have the facility of choosing high quality print.
Any help would be appreciated.
Mick.
I have for a while been having a problem that I've tried (unsuccessfully) to get answers to on the Forums (should that be fora?)online.
When I want to send graphics to the printer, I can use the common dialogue box to open the printer screen (for printer choice etc). This, in theory, allows the user to alter some details (e.g. number of copies, colour mode etc). The one thing I can't get it to do is change the print quality (i.e. to request higher quality output).
Last night on line I found, on the Microsoft website a 'print dialogue control'. It stated that this gave more access to printer controls (including print quality). I downloaded and installed the control. There were then 2 sample programs to paste in, to try. The first interrogates the printer and gives details of it's defaults. This showed 'printdlg.printquality' as 720 (dpi).
The second program allows you to alter printer specifications and see the results in the de-bug screen. No matter what I did to the printer, the printer.printquality always came out as 0.
I found the line in the program that says 'printer.printquality = printdlg.printquality'. By pausing the program immediately after this line I checked both variables. printdlg.printquality was '720', printer.printquality was still '0'! (I thought this was impossible). The only thing I can come up with is that there is a bug in VB6 regarding the handling of the printer.printquality item.
Does anyone, anywhere have an answer to this? I am desperately tring to finish a program for distribution, but it has to have the facility of choosing high quality print.
Any help would be appreciated.
Mick.
![]() |
Similar Threads
- Printer operation cannot continue due to lack of resources. (Windows NT / 2000 / XP)
- Which Printer Do You Recommend ? (USB Devices and other Peripherals)
- VB6 & Access (user name, network printer, reminders) (Visual Basic 4 / 5 / 6)
- New iMac vs New PC - A purchase choice? (IT Professionals' Lounge)
- Is Epson stylus C63 Printer not serviceable (USB Devices and other Peripherals)
- Low Quality in VB when printing with printer.paintpicture (Visual Basic 4 / 5 / 6)
- Default Printer Settings WINXP SP1 (Web Browsers)
- USB Printer won't work (Windows NT / 2000 / XP)
- FS: HP LaserJet 4100N with 5 Year Extended Warranty (USB Devices and other Peripherals)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Help with Picture Box
- Next Thread: how to get the difference between the data of the two files
Views: 1175 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





