Printer network

Shot in the dark here…..You could try printing a job (the job will probably be held) then go to the print queue, click the job and an “Authenticate” button might appear which would prompt you for user/password.

Frankly, I’m not experienced with Windows printing, I don’t have access to any Windows or Windows networks. Maybe someone else here has some experience with Windows/smb, otherwise, you might find more help on the CUPS side of things.

We have a MR that allows explicit configuration of a Windows printer using SMB. This should allow a Windows printer to be configured, but I’m unable to test printing jobs or optional authentication for jobs.

1 Like

@usernam3 Would you please post what you found for your solution here. Thx.

1 Like

The smbspool_krb5_wrapper may need to be installed if facing authentication issues. If needed, after install - sudo systemctl daemon-reload and systemctl enable --now cups.socket.

There are various syntax formats for entering user credentials, specifically within a Microsoft Windows or Active Directory environment:

  1. username | defaults to current connection state
  2. username@domain.com | The directory for domain.com
  3. .\username | Local alias
  4. abcd\username | The domain or computer named abcd

If your password has special characters, one needs to encode them in the URI. This is true if one is using CUPS web UI or the CLI. Otherwise you’ll get an “event not found” error message.

The URI should reflect one of the 4 syntax examples of usernames. %21 and %24 reflect special characters in password. If your password is:

password!$

Then the URI reads as:

smb://abcd\username:password%21%24@domain.com/awindows.server.domain.com:445/Printer_Name1

If your password is:

pa$$word

Then the URI reads as:

smb://abcd\username:pa%24%24word@domain.com/awindows.server.domain.com:445/

NOTE: If you need a driver that is not listed and you already downloaded the driver, you can manually add the driver after adding the printer by navigating to

“settings” > “printers” > choose printer in question > Make/Model > select driver

But this process is much easier if you use the CUPS web GUI