Difference between revisions of "Printer Settings"

From LUG
Jump to navigation Jump to search
Line 1: Line 1:
 
= Using the WURprinter (new MFP's) =
 
= Using the WURprinter (new MFP's) =
  
The easiest way to print to the WURprinter print queues is by using CUPS.
+
== Ubuntu/Debian ==
  
When adding the printer in the CUPS webinterface (default on localhost:631)
+
(Follow https://help.ubuntu.com/community/NetworkPrintingWithUbuntu#Printing_from_Ubuntu )
select:
 
  
  Other Network Printers: 'LPD/LPR Host or Printer'
+
If you don't have access to the printing dialog, then the shell command:
  
Note:
+
    system-config-printer
When the lpd protocol is used you only have to specify your wur account name to get it working.
 
If you should use the smb protocol (SAMBA) you have to provide (store locally) your username and password,
 
which is a security risk and inconvenient.
 
  
  Connection: lpd://myname001@scomp5170.wurnet.nl/WURprinter
+
will usually work.
  
Add some info for Name:, Description: and Location:.
+
Adding a printer by using "add a Windows printer via SAMBA", then using
 +
* smb://scomp5170/WURprinter
 +
* Your WUR login details (wur\user001, passwd).
 +
* Model: Ricoh Aficio MP C4502A PS
  
For the printer driver select:
 
  
  Make: generic
+
If this does not work, a generic postscript version can be added by adding:
  Model: Generic PCL Laser Printer
+
* smb://scomp5170/WURprinter_PS
 +
* Your WUR login details (wur\user001, passwd).
 +
* Model: Generic PostScript Printer
  
This setup works.
+
== Other Linux ==
Maybe a specific Ricoh driver might also work, I haven't tested that (yet).
 
At the moment of this writing Postscript printing is not yet supported bij the MFP's.
 
  
About color printing:
+
It should be possible to set up CUPS with the above information.
There is only one type MFP, but most will be configured to only print/copy black. If you have questions about that, contact your facility manager because they make the decision.
 
  
 +
== OSX ==
  
= Using the department printserver =
+
Try: https://support.apple.com/en-us/ht3049
 
 
== Using SAMBA ==
 
 
 
Use samba when your print services have been moved to Win2K by WURNET
 
 
 
The easiest way is to use CUPS for printing. Install both SAMBA and CUPS on your machine. Update them if already installed.
 
 
 
  sudo apt-get install samba cups
 
 
 
In some circumstances it may be helpful to restart both SAMBA and CUPS before proceeding.
 
 
 
  sudo service cups restart
 
  sudo service smbd restart
 
 
 
Get the name of your printer and its hostname (same as used by Windows machines e.g. //sdep0005/psgp3032pcl). You can test to see whether the printer is up with
 
 
 
  smbclient //sdep0005/psgp3032pcl -U annie001 -W WUR
 
 
 
login with your password and you should see a prompt - it means you have access to the printserver. Good. Print a test page if you want with
 
 
 
  print <filename>
 
 
 
Note that in some circumstances the connection cannot be done because the name of the printer differs from the name of the driver. For example, the printer named P0110710_PCL_Color uses a driver called P0110710_PS_Color. Try using the name of the driver in such circumstance. Another connection issue that may appear regards the hostname. Some machines may require the IP address of the host rather than its name. For example, 137.224.252.103 instead of scomp5009. Try using the IP of the host in such circumstance.
 
 
 
Next step is to tell CUPS you want to print through SAMBA. See the short manual at http://mumford1.dyndns.org/~bs7452/linuxhelp/cups.html [THIS LINK IS NOT WORKING ANYMORE!] (basically you have to add a symbolic link so CUPS can find smbspool).
 
 
 
Restart CUPS and access the webinterface at
 
 
 
* http://localhost:631/printers
 
 
 
Add a printer with the URI
 
 
 
  smb://annie001:password@WUR/sdep0005/psgp3032pcl
 
 
 
And you should be able to print through lpr or cups_lpr!
 
 
 
=== SAMBA graphical interfaces ===
 
 
 
Yast:
 
Open the printer module and push Add.
 
Select the SMB-networkserver and fill-in the form:
 
 
 
* Workgroup = WUR
 
* Hostname  = Name printserver (e.g. sdep0005)
 
* Name externe wachtrij = Name of the printer (e.g. psgp3032pcl)
 
* Username  = Your login name (e.g. annie001)
 
* Password  = Your password
 
 
 
You can test the SMB-connection. When that is successful continue with filling in the next form (they are for your information only).
 
Select the printer. Now you can test the printer (as well as entering more advanced configuration settings like restrictions).
 
Your printer is ready to use!
 
 
 
Gnome:
 
First install both Samba and CUPS on your system and check whether it is possible to connect to the printer with:
 
 
 
    smbclient //sdep0005/psgp3032pcl -U annie001
 
 
 
Leave out the -W WUR setting. The Gnome GUI is not able to deal with workgroups. When you cannot reach the printer make sure your SAMBA workgroup is set to WUR (capital letters). The default workgroup is WORKGROUP. Open the smb.conf (SAMBA configuration) file, which is commonly located at /etc/samba/, and find the following lines:  
 
 
 
  #======================= Global Settings =======================
 
  [global]
 
  ## Browsing/Identification ###
 
  # Change this to the workgroup/NT-domain name your Samba server will part of
 
          workgroup = WUR
 
 
 
Restart SAMBA and CUPS, try to connect again and make sure that it is able to connect (exit with exit).
 
 
 
Install the printer:
 
* System -> Administration -> Printing
 
* New Printer
 
* Network Printer [Windows Printer (SMB)]
 
* Cancel the offered connections (this is really annoying)
 
* Computer = sdep0005 (try using the host IP if it does not work with the host name)
 
* Printer  = psgp3032pcl (try using the driver name if it does not work with the printer name)
 
* Username = annie001
 
* Password = yourpassword
 
* Select the printer model
 
* Right click on the new printer -> make it the standard (then lpr will use it too!)
 
* Right click on the printer -> properties, to select double-sided printing and to print a test page
 
 
 
Enjoy printing!
 
 
 
== Getting a PPD for Postscript ==
 
 
 
The Postscript Printer Description file NRMPC253.PPD is available on Windows systems in \WINDOWS\system32\spool\drivers\w32x86\3 on systems where this printer is installed.
 
 
 
Install the printer for Direct Printing (e.g. Ubuntu 7.10):
 
 
 
* System -> Administration -> Printing
 
* New Printer
 
* Windows Printer via SAMBA
 
* smb:// = /scomp0308/P0601300_PS_Color
 
* Select Authentication required
 
* Username = annie001
 
* Password = yourpassword
 
* Verify to make sure credentials are accepted -> Forward
 
* Provide PPD File (NRMPC253.PPD) -> Forward
 
* Leave Installed options as suggested (or adjust if you know options are available)
 
* Printer Name, Description and Location -> Apply
 
 
 
At http://www.linuxprinting.org/printer_list.cgi?make=NRG you can check for other driver selections.
 
 
 
== Follow me printers ==
 
 
 
(by Bart de Koning)
 
 
 
To come back to an old topic: I managed to get the FollowMe printers
 
fully functional. Trick is the same: I use GNOME, however the same settings should
 
work also for KDE or directly via CUPS.
 
 
 
Important is to set the workgroup to WUR in the /etc/samba/smb.conf
 
otherwise you get irregular printing behaviour in GNOME:
 
 
 
  [global]
 
 
 
  # Change this to the workgroup/NT-domain name your Samba server will
 
  part of
 
    workgroup = WUR
 
 
(I tried to use the GNOME printer settings to set the workgroup, however
 
it appears to me that it is not always overruling the global settings)
 
 
 
Another point of importance is that The FollowMe printers are located on
 
the mfc_print server.
 
 
 
So to set the printers in GNOME:
 
 
 
  Choose New in the Print settings
 
  Network -> Windows via SAMBA
 
 
 
FollowMe_PCL_BW:
 
 
 
  URL: (smb://)mfc_print/FollowMe_PCL_BW
 
 
 
you could scroll through all the printers by typing in mfc_print/ . It
 
will ask for your wur login and password (workgroup should be WUR).
 
Next you can scroll through the printers (an amazing lot).
 
Set authentication with your wur login and password.
 
Check this, it should say that the printer is available.
 
Driver is available in the database (at least on ubuntu 9.04).
 
 
 
  NRG -> MP 4500 -> take the default
 
  (NRG MP 4500 - CUPS+Gutenprint v5.2.3)
 
 
 
FollowMe_PCL_Color:
 
 
 
  URL: smb://mfc_print/FollowMe_PCL_Color
 
 
 
Set authentication with your wur login and password.
 
Check this, it should say that the printer is available.
 
Driver: was not available in the database yet, however can be found in
 
the openprinting database:
 
 
 
http://openprinting.org/show_printer.cgi?recnum=NRG-MP_C3500
 
 
 
NRG MP C3500 , pxlcolor-NRG 20090512 (OpenPrinting LSB 3.2)
 
 
 
Give it a name, a description and a location and you are done
 

Revision as of 12:55, 3 March 2015

Using the WURprinter (new MFP's)

Ubuntu/Debian

(Follow https://help.ubuntu.com/community/NetworkPrintingWithUbuntu#Printing_from_Ubuntu )

If you don't have access to the printing dialog, then the shell command:

   system-config-printer

will usually work.

Adding a printer by using "add a Windows printer via SAMBA", then using

  • smb://scomp5170/WURprinter
  • Your WUR login details (wur\user001, passwd).
  • Model: Ricoh Aficio MP C4502A PS


If this does not work, a generic postscript version can be added by adding:

  • smb://scomp5170/WURprinter_PS
  • Your WUR login details (wur\user001, passwd).
  • Model: Generic PostScript Printer

Other Linux

It should be possible to set up CUPS with the above information.

OSX

Try: https://support.apple.com/en-us/ht3049