If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > VB code to change from B&W to Color print

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-14-09, 14:48
Bob.Carter.17 Bob.Carter.17 is offline
Registered User
 
Join Date: Dec 2005
Posts: 111
Question VB code to change from B&W to Color print

All,
We just got a Xerox WorkCentre 7655 that has color print capability. The printer is set to a default of Black and White (due to costs). I have a report that auto runs that needs to change to color print. I tried recording a macro and then looking at the VB code, but didn't see anything that updated the print to color. When I ran the code, it came out black and white. The code was:

Application.ActivePrinter = "\\DC840NT2\BSEXEC-1 on Ne04:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\DC840NT2\BSEXEC-1 on Ne04:", Collate:=True
Application.Goto Reference:="PrintSheets"

Has anyone found a command that can be added to force it to change to color for a selected report?

Any help would be appreciated!

Thanks,
Bob
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On