Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Dec 14, 2017 11:30 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: how to find if a pc has a printer and a scanner
PostPosted: Fri Feb 22, 2013 5:06 am 
Offline

Joined: Wed Mar 02, 2011 3:41 pm
Posts: 31
little help on where to find some code or info on how to find if there are scanners or printers plugged in to a pc
on my app i have a print button and a scan button that if there is no device plugged in it will disable the button
to help from getting an error

i looked in forms and in LR did not see any thing

thanks everybody for any help


Top
 Profile  
Reply with quote  
 Post subject: Re: how to find if a pc has a printer and a scanner
PostPosted: Fri Feb 22, 2013 5:08 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
In our MBS Plugins we have classes to list scanners and printers connected to your Mac/PC.

http://www.monkeybreadsoftware.de/realbasic/

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: how to find if a pc has a printer and a scanner
PostPosted: Fri Feb 22, 2013 5:14 am 
Offline

Joined: Wed Mar 02, 2011 3:41 pm
Posts: 31
thank for the quick reply on the info i will look into it
like to have some code or example
thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: how to find if a pc has a printer and a scanner
PostPosted: Fri Feb 22, 2013 5:17 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Well, check the Twain, WIA and ImageCapture examples/classes for scanners.
Check CUPS*, NSPrint*, CarbonPrint* and WindowsPrint* classes for printers.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: how to find if a pc has a printer and a scanner
PostPosted: Fri Feb 22, 2013 5:38 am 
Offline

Joined: Wed Mar 02, 2011 3:41 pm
Posts: 31
thanks again looking in to it


if it help i am using rb2008


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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