Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Jan 22, 2018 10:50 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: help- list printers!
PostPosted: Fri May 11, 2012 8:51 am 
Offline

Joined: Fri Feb 27, 2009 12:18 am
Posts: 54
hi,

im using the WFS systeminformation.getprinters
and it returns a list of printers. problem is there are printers in the list that
are not listed in the windows printers and i suspect are long since gone!


how do i return just the list of current printers???


Regards,


Russ


Top
 Profile  
Reply with quote  
 Post subject: Re: help- list printers!
PostPosted: Sat May 12, 2012 7:32 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
It will list all installed printers on the system. You can check to see if the printer is available and if not, dont add to the list... Otherwise your option is to uninstall the non existent printers. :-)

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: help- list printers!
PostPosted: Sun May 13, 2012 2:32 am 
Offline

Joined: Fri Feb 27, 2009 12:18 am
Posts: 54
Hi,

That's the weird thing you see.
I had actually deleted them in windows.
And they don't show in devices anymore
But they are in the registry and they show using this
Function

I wonder if it's something weird about win7 64 bit?

Russ


Top
 Profile  
Reply with quote  
 Post subject: Re: help- list printers!
PostPosted: Sun May 13, 2012 4:07 pm 
Offline
User avatar

Joined: Fri Sep 30, 2005 9:27 am
Posts: 249
Location: USA, CA
Hard to say because I havent used those declares

But windows has always left info(abandoned) in the registry

Could be that once the printer drivers are loaded in the driver store it will now keep info on it in the registry(Win 5 and above-Vista and 7)

_________________
-Briman


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group