Deploy print queues using Microsoft Intune and Print Deploy

Print Deploy allows you to deploy print queues with print drivers on Windows operating systems managed by Intune.

If you're interested in a different deployment method, here's a list of other deployment topics.

Before you start

The following procedure was written while using the following versions:

  • PaperCut NG/MF: 19.1.0

  • Windows 10 (1809/1903)

For information about other system requirements, take a look at these pages :

Operating systems and browsers supported by Microsoft Intune

Manage PCs with client software in Microsoft Intune - Azure

 

You need to be an Intune administrator (or have relevant permissions), and should have already:

  • configured the Windows clients to be managed by Intune

  • existing, and appropriate groups in Intune

  • familiarized yourself with how to create an “.intunewin” package from a given “.msi”

You're also a PaperCut NG/MF administrator (or have relevant permissions), and should have already:

  • made sure that the PaperCut NG/MF Application Server is accessible via TCP 9191, 9192, 9174 from the targeted client machines—preferably by a FQDN (Fully Qualified Domain Name) rather than an IP address

  • set up your PaperCutPrint Deploy Reference computer

  • deployed and manually tested at least one print queue.

You are working from your Documents folder on your Windows machine.

Steps

To deploy the Print Deploy client using Intune:

  1. (Optional) Customize the user login popup

  2. Download and prepare the Print Deploy client for Intune

  3. Add the .intunewin package to Intune

Step 1: (Optional) Customize the user login popup

Depending on the method you've chosen to determine the user's identity, users might be presented with a one-off user login popup for authentication. For details on how to customize the branding and text on the popup, go to Customize the Print Deploy user login popup branding and text.

Step 2: Download and prepare the Print Deploy client for Intune

  1. On your Windows computer, create a Print Deploy folder in your Documents folder.

  2. In the Print Deploy folder, create the following folders:

    • Source

    • Tools

    • Intune

  3. Log in to your PaperCut NG/MF Application Server.

  4. Click Enable Printing.

  5. Click Download for Windows.

  6. Make a note of the filename. Later, you will add this installer to Intune.

    NOTE

    The hostname between the square brackets must be correct. For example:

    pc-print-deploy-client[print-server.company.lan].msi

  7. Save the .msi to your Documents > Print Deploy > Source folder.

  8. Download the Microsoft-Win32-Content-Prep-Tool:

    https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool

    then save it to the Documents > Print Deploy > Tools folder.

  9. Open a command prompt in the Documents > Print Deploy > Tools folder.

  10. Run the following command:

    IntuneWinAppUtil.exe -c ..\source -s ..\source\pc-print-deploy-client[print-server.company.lan].msi -o ..\intune

  11. The pc-print-deploy-client[print-server.company.lan].intunewin is now in the Intune folder.

Step 3: Add the .intunewin package to Intune

  1. Log in to your Intune environment. For example:

    https://portal.azure.com/#home

  2. Navigate to Intune > Client Apps > Apps.

  3. Click + Add.

  4. In App Type, select Windows app (Win32).

  5. Select the PaperCut Print Deploy Client app package:

    1. Click App package file.

    2. In App package file, select Documents > Print Deploy > intune > pc-print-deploy-client[print-server.company.lan].intunewin

    3. Click OK.

  6. Enter the app information:

    1. Click App information; then enter the following:

      • Name—PaperCut Print Deploy Client

      • Description—PaperCut Print Deploy Client - For deploying print queues

      • Publisher—PaperCut

      • Information URL— http://www.papercut.com/

    2. Click OK.

  7. Add the Print Deploy server details that clients will connect to:

    1. Click Program.

    2. In Install command, add the following to the end of the command:

      server_host=print-server.company.lan

    3. Click OK.

  8. Select the operating system requirements:

    1. Click Requirements.

    2. In Operating system architecture, select 64-bit only. 32-bit is unsupported.

    3. In Minimum operating system, select Windows 10 1709.

    4. Click OK.

  9. Select the detection rule:

    1. Click Detection rules.

    2. Select Manually configure detection rules.

    3. Click Add.

    4. In Rule Type, select MSI. The MSI product code is automatically completed.

    5. Click OK.

    6. Click OK again.

  10. Click Add.

  11. When the Print Deploy Client upload is finished, click Assignments.

  12. Select the groups to which you want to deploy print queues:

    1. Click Add Group.

    2. In Assignment Type, select Required.

    3. Click Included Groups.

    4. Select the device groups to which you want to deploy the print queues.

    5. Click OK.

  13. Click Save.

Your Print Deploy Client will now be deployed to the appropriate machines. You can speed this process up by restarting the Microsoft Intune Management Extension Windows Service.

NOTE

Intune does not attempt to re-deploy, uninstall, or remove an application more than once in 24 hours. If you want to redeploy or uninstall within a 24hr period, the easiest way is to re-upload .intunewin and deploy a whole new package.

NOTE

Default printer

The Print Deploy client sets the default printer (default print queue) based on if a print queue name is a Find me / Follow me queue (or variation of, with spaces/hyphens in between).

However, if Windows has been set up to manage the default printer for users, then the client honors the Windows setting.