Solved

Can get printer but can't change it to COLOR

Posted on 2009-04-02
6
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

695 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