Solved

Can get printer but can't change it to COLOR

Posted on 2009-04-02
6
258 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

730 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