View all Worklets
Windows

Add Network Printer

Installs network shared printer upon user logon.

Worklet Details

Why would you use the Add Network Printer Worklet?

Adding modern printers to your endpoints simplifies printing tasks, enhances collaboration, reduces costs, and provides greater flexibility and convenience for users. It streamlines the printing process by creating a shared and accessible printing resource for everyone connected to the network.

The Add Network Printer Worklet is designed to grant an administrator the ability to install a network printer on a device. A scheduled task will be created (Add_Printer) that runs at user logon. 

How the Add Network Printer Worklet works

The task will attempt to connect to the network printer and install it if reachable. The scheduled task will be removed in future remediation cycles as long as the specified printer is found as installed. You can add a printer regardless of the printer manufacturer. 

The following three variables are utilized for this script. They represent the \\Server\Share path of a network printer and the friendly name represented to the user. All items should be enclosed in quotation marks.

$prntSvr

This is the Name or IP Address of the print server hosting the network printer. Only supply the Name or IP address without the "\" symbols.

$shareName

This is the printer's share name. Only supply the printers share name without the "\" symbols. This variable will also be added to the task for easier identification when running multiple Worklets. Avoid using share names that contain spaces.

$fName

This is the friendly name of the printer. This name will typically reference model numbers and depending on the environment, will differ from the printer's share name. Wildcards are automatically applied so only a unique partial value is required.

The local user account will need to have authorization from the print server to download printer drivers automatically. If you’re not using directory services, you may need to deploy a separate Worklet to install printer drivers before attempting to add a network printer. Again, the printer’s manufacturer may vary. 

Why add a network printer to your endpoints?

Adding a network printer to your endpoints offers several benefits:

  • By adding a network printer, users can print from any device connected to the same network. This is true for nearby printers or any printer connected to the network. This eliminates the need to transfer files to a specific computer or use a dedicated printer.

  • Network printers allow multiple users to access the same printer, reducing the need for individual printers connected to each device. This centralized printing approach can save costs on purchasing and maintaining multiple printers.

  • Adding printers can easily accommodate an increasing number of users or devices on the network. As your printing needs grow, you can connect more endpoints to the network printer without significant infrastructure changes.

  • Network printers often come with additional features and capabilities, such as duplex printing, automatic document feeders, or advanced print settings. These features can improve productivity and enhance the printing experience.


View in app

Consider Worklets your easy button

What's a Worklet?

A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

do more with worklets