User Tools

Site Tools


auth:setup_printers

This is an old revision of the document!


SETUP PRINTER UNDER LINUX

TO FINISH!

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

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

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

To get the printer names 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://<domain>@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

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


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://domain\username:password@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 Chose how to connect to Printer
Select Add Printer from Administration MenuChose how to connect to Printer
Enter Connection smb URI, Domain, YOUR username and password! Name, Description and Location Names
Enter Connection smb URI, Domain, YOUR username and password!Name, Description and Location Names
Select Make Generic Select Printer Driver Generic Postscript
Select Make GenericSelect Printer Driver Generic Postscript
Modify Options
Modify Options
Check that the cups printer config file printers contains the string:
smb://domain\username:password@ubz02cps.unibz.it/CPSPrn01

In a terminal type:

sudo cat /etc/cups/printers.conf | grep smb:

Restart cups daemon:

sudo /etc/init.d/cups restart

Remove clear password from /etc/cups/printers.conf config file

Please note: NOT ALL Programs show the prompt to enter DOMAIN\username and password

Open the config file and make the following modifications:

  • sudo vi /etc/cups/printers.conf

Place this line in:

AuthInfoRequired username,password

Next search for the the DeviceURI line and substitute it with this line.

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

Printing of private and confidential Documents

Windows 7 and Mac OSX

/data/www/wiki.inf.unibz.it/data/attic/auth/setup_printers.1354901091.txt.gz · Last modified: 2019/01/16 10:03 (external edit)