Hello
I have my Project About
add device name of printer from my computer to combobox control
how to
thank you
Hello
I have my Project About
add device name of printer from my computer to combobox control
how to
thank you
Mac or Windows?
We have a couple of plugin functions for all OS to query printer list. No problem.
Probably also some declares are available for specific platforms.
It’s windows. Seems there are two channels of the same subject.
I know how to do this on the Mac… But not for Windows.
did you see the WindowsPrinterInfoMBS class?
http://www.monkeybreadsoftware.net/class-windowsprinterinfombs.shtml
LocalPrinters as WindowsPrinterInfoMBS()
gives you array with all printers.
This seems to be the WinAPI function you need:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd162692(v=vs.85).aspx
And some example (vb6) code:
http://www.ex-designz.net/apidetail.asp?api_id=76
EDIT: And it’s possible the Xojo code for it is in the Windows Functionality Suite, you should check that too.
Julen
Sam Rowlands
How do you do this on Mac?