Jump to content
Sign in to follow this  

Strange item values in combobox of printer dialog

Recommended Posts


Hi @ all,

I have a little problem with a combobox of the printer dialog. Let me explain:

In the first step I read out the installed printers and store them into an array. After some steps I reach a printer dialog where I want to select a specific printer from the array. I tried to use:

ControlCommand ("Drucken","","[CLASS:ComboBox; INSTANCE:1]","SelectString", $printerA4)

Because the command didn't work I read out the items of the Combobox like this:

$Combo = ControlGetHandle ( "Drucken", "", "[CLASS:ComboBox; INSTANCE:1]" )
   $sPrinter = _GUICtrlComboBox_GetList($Combo)

Now the strange thing. The items are containing any strange characters (see attachment)

Any Ideas?

Kind Regard



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.