Solved

Can get printer but can't change it to COLOR

Posted on 2009-04-02
6
256 Views
Last Modified: 2012-05-06
Hi,
I have clients with printers set to black and white as the DEFAULT property of the printer...

How do we change that to COLOR?

I think I read something about the printer object being bad and needing replaced...

This sw is designed in VB6 sp6.

Thanks in advance
-Tim
0
Comment
Question by:torrid333
  • 3
  • 3
6 Comments
 
LVL 1

Expert Comment

by:Evelmike
ID: 24050042
Quick question:

What OS are your users running?

Is it a network printer share that each user has added in Printers and Faxes? (Assuming its Windows XP)

When printing from the software, does it bring up the default Windows print options? (Select printer, etc.)
0
 

Author Comment

by:torrid333
ID: 24050162
Users are using Windows XP or Vista typically... app works with all windows back to Windows 98 but not 95.

Yes network printer.

Yes when printing we bring up the std MS print dialog but there was something I read, which I can't find now, that the printer object does not respond to changes in copies, tray, color etc. ????
0
 
LVL 1

Expert Comment

by:Evelmike
ID: 24050213
So when you specify say, 5 copies, it prints only one copy?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:torrid333
ID: 24050372
Yes I have not added any code in my program to deal with mutliple copies.

The specific issue I have is printer set to black and white but they want to switch it to color just to print out our report... but they don't want to change the printer default.
0
 
LVL 1

Expert Comment

by:Evelmike
ID: 24056212
Have you tried Printer.ForeColor?
Printer.ForeColor = your color here 

Open in new window

0
 

Accepted Solution

by:
torrid333 earned 0 total points
ID: 24056223
I figured out the answer... you have to not use common dialog to get user settings as it doesn't work.  You have to use a special MS printer DLL for the dialog interface with the user... this is specified in this MS KB article...

SEE http://support.microsoft.com/kb/322710/EN-US/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now