How to configure CUPS to print to a Windows print server

Solution Verified - Updated -

Issue

  • Add a Samba printer queue to print to in Red Hat Enterprise Linux
  • Configure system to print to a Samba printer that is shared on the network
  • I have a user in a remote office that connect to our LAN via VPN. How can I use lpadmin to create a printer on RHEL7 that is connected to the users remote Windows workstation?
  • We would like to know how to setup a print queue using a Windows Print server without using Samba

Environment

  • Red Hat Enterprise Linux 6, 7, 8, and 9
  • Common Unix Printing System (CUPS) 1.4.2, 1.6.3, 2.2.6, and 2.3.3
  • Samba Client 3.6.23, 4.10.16, 4.12.3, and 4.15.5
  • Printer connected to a Windows system

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content