Jump to content
Sign in to follow this  
nitron

Network Printer

Recommended Posts

nitron

Hy,

I know, there are a lot of posts for network Printers, but after searching an reading trough the Forum for nearly 2 Hours, I don't se any sense in looking any longer.

Maybe my english is not good enough to understand the solution and so i just over read it. For the Question seems firmly simple.

normally I woud use the Start -> Run command from windows to add a Printer located on a Printingserver simply by typing

\\server\Printer

For some reason this doesn't work with Autoit?! run("\\server\Printer") would have been to easy i gues?!

So, maybe some one can help me..

Using the "RUNDLL32", 'PRINTUI.DLL... Command, seems a lot to complicated way to ad a Network Printer!

Thanks in Advance

Share this post


Link to post
Share on other sites
water

Using the "RUNDLL32", 'PRINTUI.DLL... Command, seems a lot to complicated way to ad a Network Printer!

Searching the archive I get the impression that RUNDLL32 is the way to go. Here you can find readymade functions to include in your script.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
nitron

Searching the archive I get the impression that RUNDLL32 is the way to go. Here you can find readymade functions to include in your script.

Yes, this was the impression i got too.

I found that Solution, but i had hoped to find an easier way :-(

Thanks for your help!

But Maybe someone got another helpfull Idea?

Share this post


Link to post
Share on other sites
water

I found that Solution, but i had hoped to find an easier way :-(

Why do you want an "easier" way? What can be easier then a set of working functions you download from the forum? Pack them together in an include file (UDF) and every script just has one line to include the UDF and a second to add a printer.

That's easy enough :idea:


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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  

×