cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting Canon iR-ADV C5840 Color Property to B&W using Powershell

tc1054
Apprentice

Hi!

We're looking to stage/install the Canon Generic Plus PCL6 driver and then connect one of our Canon iR-ADV C5840 network printers using a PowerShell script. In that process, we're also setting some default printer configuration properties, including collate, duplexing mode, paper size, and namely...color. The whole process works just fine from start to finish, and we're able to stage/install the driver successfully, connect the network printer using its IP address, and even set the default printer config using PowerShell. The only issue that we run into is getting the default color to be set to B&W. To give a better idea of the PowerShell command that sets the configuration, this is what we have...

try{
        Set-PrintConfiguration -PrinterName $PrinterName[$i] -Collate $true -DuplexingMode OneSided -PaperSize "A4" -Color $False
        Write-LogEntry -Stamp -Value "Successfully set printer configuration to custom settings"
    }
    catch{
        Write-LogEntry -Stamp -Value "Error setting printer configuration for $PrinterName[$i]"
        $ThrowBad = $true
    }

The Set-PrintConfiguration command executes just fine for all the properties, except the Color property. When looking in the printing preferences, the Color Mode defaults to "Auto [Color/B&W]" no matter if the color switch in PowerShell is set to $True or $False. See below...

tc1054_0-1748375713477.png

Is there a way to get past this with setting the printer configuration, or is there a way to manipulate the driver installation to set the color as well? Any help is appreciated. Thanks.

1 REPLY 1

SamanthaW
Moderator
Moderator

Thanks for posting!

While our Forum Community members are welcome to chime in, Canon does not provide direct support for imageRUNNER series products, but your dealer will be able to help you!

If you don't have a dealer, please call us at 1-800-OK-CANON (1-800-652-2666) and we will be happy to provide you with the names of dealers who are in your area!

Announcements