?
Solved

Can get printer but can't change it to COLOR

Posted on 2009-04-02
6
Medium Priority
?
265 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

831 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