This is an old revision of the document!


SETUP PRINTER UNDER LINUX

1. PRINTING via SAMBA (using a Windows Print Server)

Prerequisite!

  • Your user must be a member of the admin/sudo group
  • Install samba client package and dependency packages in order to use Printer via samba protocol:
sudo apt-get update && sudo apt-get install smbclient

First get the name(s) of the printer(s) you want to use:

Go to the printer and look for a label with its name

Continue here

OR

Get the printer names list, but this is only available for ADMINS

To get the printer names list use smbclient. If the program is not installed do:

  • apt-get update; apt-get install smbclient

Now execute this line to get a list of the printer names:

  • smbclient -L \\<windowsprintserver> -U <unibz-login> -W <domain>

e.g.

  • smbclient -L \\print.unibz.it -U bgates -W unibz

Printer naming scheme:

UBZ 066 POS 300
|    |   |   |-> Room number

|    |   |->POS Building

|    |->IP-Adress

|->UBZ University Site Bolzano

A list of old and new printer names you can find here: http://www.unibz.it/en/ict/Documents/PrinterList.pdf


Now that you know the name of the printer, you can starting adding a printer.

SMB URI

smb://UNIBZ/print.unibz.it/<printername>

Open your preferred browser and type this address:

  • localhost:631

Follow this guides as shown on the next screen shots

Select Add Printer from Administration Menu Chose how to connect to Printer
Select Add Printer from Administration MenuEnter your local login and password
Chose how to connect to Printer Enter Connection String SMB URI, enter Domain unibz, YOUR username and password!
Chose how to connect to PrinterEnter Connection String SMB URI, enter Domain unibz, YOUR username and password!
Enter Name, Description and Location Select Make of Printer
Enter Name, Description and LocationSelect Make of Printer
Select Driver Set initial default Options
Select DriverSet initial default Options
Set Default Options
Set Default OptionsPrinter

When printing from an Application an Authentication Window will/should pop up. If no Window pops up, you should check the taskbar for a Printer Icon, select it and release the print job by typing your login & password.

Enter your unibz username without @unibz.it and password!

Enter username and password


2. PRINTING via KERBEROS (using a Windows Print Server)

Cups printer setup and URI format

Now add a printer using cups (localhost:631)

In cups select Kerberized Printer and the uri format is

krbsmb://DOMAIN/PRINTSERVER/PRINTER_SHARE

e.g.

krbsmb://unibz/print.unibz.it/UBZ066POS300

Continue by selecting Printer Make, Printer Driver and set the Default Options

Important DO NOT forget to get a Kerberos Ticket manually!!

Get a Kerberos Ticket


3. PRINTING VIA CUPS (using a Linux Print Server)

First get the name(s) of the available printer(s):

http://gutenberg.inf.unibz.it:631/printers

Open your preferred browser and type this address:

  • localhost:631

Follow this guides as shown on the next screen shots

Select Add Printer Enter local username (must be in admin/sudo group) and local password
Select Add PrinterEnter local username (must be in admin/sudo group) and local password
Enter Connection string e.g. http://gutenberg.inf.unibz.it:631/printers/<printername> Name, Description and Location Names
Select Make Select Driver

Last select newly added printer; Click on Administration
and select: Set Default Options


4. CHIPCARD PRINTER (using a Windows Print Server)

Your user must be a member of the admin/sudo group

SMB URI

smb://unibz/ubz02cps.unibz.it/CPSPrn01

Open your preferred browser and type this address:

  • localhost:631

Follow this guides as shown on the next screen shots

Select Add Printer from Administration Menu Enter local username and password
Select Add Printer from Administration MenuEnter local username and password
Select Windows Printer via SAMBA Enter Connection smb URI
Select Windows Printer via SAMBAEnter Connection smb URI
Name, Description and Location Names Select Make Generic
Name, Description and Location NamesSelect Make Generic
Select Printer Driver Generic Postscript Set Default Printer Options
Select Printer Driver Generic PostscriptSet Default Printer Options

Printing of private and confidential Documents

Windows and Mac OS X

Windows:

https://knowledge.scientificnet.org/workspace/#nd=2c1c4d8c-da72-44aa-be88-30adb4167fb6&ld=17f4d8ce-edff-4d42-ad33-d98e2cdebc35&ln=it

Mac OS X:

https://knowledge.scientificnet.org/workspace/#nd=2838d956-3d00-4700-9a41-ce8b319433eb&ld=17f4d8ce-edff-4d42-ad33-d98e2cdebc35&ln=en

List of printer names: — Hofer Konrad 2017/02/17 13:31

printer-list

Troubleshooting

/var/www/wiki.inf.unibz.it/data/attic/auth/setup_printers.1547629387.txt.gz · Last modified: 2019/01/16 10:03 by 127.0.0.1
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0