Source language: Translate to:

Programatically Change the Default Printer on Windows

General questions about NeoBook

Moderator: Neosoft Support

Programatically Change the Default Printer on Windows

Postby schmutly » Wed Sep 16, 2015 9:53 pm

Howdy,
Is there a way to Programmatically Change the Default Printer to different one on Windows using neobook or plugin?
Rob
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm

Re: Programatically Change the Default Printer on Windows

Postby stu » Thu Sep 17, 2015 4:45 am

What about using VBScript as described here or here
User avatar
stu
 
Posts: 320
Joined: Wed Aug 07, 2013 11:37 am

Re: Programatically Change the Default Printer on Windows

Postby schmutly » Thu Sep 17, 2015 6:03 pm

I'll have a look at those, thanks Stu.
Rob
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm

Re: Programatically Change the Default Printer on Windows

Postby skwood » Sat Sep 19, 2015 9:20 am

The excellent npUtil plugin may be very useful here:

npGetPrintersList
npSetDefaultPrinter
npGetDefaultPrinter

https://www.davidesperalta.com/NeoPlugins#npUtil
skwood
 
Posts: 2
Joined: Sat Sep 05, 2015 4:42 am

Re: Programatically Change the Default Printer on Windows

Postby stu » Sat Sep 19, 2015 3:53 pm

skwood wrote:The excellent npUtil plugin may be very useful here:

npGetPrintersList
npSetDefaultPrinter
npGetDefaultPrinter

https://www.davidesperalta.com/NeoPlugins#npUtil


Well spotted dude! I have the plugin and didnt even knew about this!!!
User avatar
stu
 
Posts: 320
Joined: Wed Aug 07, 2013 11:37 am

Re: Programatically Change the Default Printer on Windows

Postby schmutly » Sat Sep 19, 2015 7:37 pm

Me too.. :lol:
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest