iCIS Intra Wiki
categories:             Info      -       Support      -       Software       -      Hardware       |      AllPages       -      uncategorized

Install Printer In Windows

From ICIS-intra
Jump to navigation Jump to search

only for department printers

Windows printing

QUICKSTART Windows Printing (only for windows 7)

IMPORTANT: only works for windows 7

IMPORTANT: does NOT work for windows 8 ; manual install must be done for windows 8

This is the prefered method to quickly install a printer in windows. If this method fails then try the manual install described below.

steps:

  • open windows explorer (not internet explorer, but the file browser )
  • in the address bar type : \\printto
 Note: when asked for credentials with a login popup window, and this popup window shows it is using a different windows domain than B-FAC,
 then you can also specify the windows domain in the user field as: B-FAC\<ScienceAccount>
  • in the list off printers double click the printer you want to install, and then it automatically installs the printer
  • in control panel go to printers and right click the printer icon you just installed and select preferences
  • in upcoming dialog configure your preferences. Note: for the konica minolta printers it is advice to set in the select box "Favorite setting" in the top of the window to "Gray Scale" and then click OK. Then by default all prints are in gray scale by default. Printing in color is more expensive and this can for specific prints be done by choosing the color setting for that specific print.

Solution for windows 8 error 0x000006d1: see http://lapserv.maths.cam.ac.uk/docs/win8print.html

Overview of methods of printing

There are several ways to install a printer in windows.
Described below are the two most common used ones :

  • smb printing (preferred method)
    • uses central printer server to send jobs to printer
    • user needs to authenticate to central printer server
    • user needs to be registered to be allowed  to print on the printer
    • works also for laptops on wireless networks
    • the printing queue can be seen with the command : rundll32 printui.dll,PrintUIEntry /o /n \\printer-srv.cs.ru.nl\<printername>
  • jetdirect printing or IPP printing
    • only department printers : mbsd-prt, tibn,laserop
    • sends printing jobs directly to printer, so there is no central server with a printing queue
    • no user authentication needed
    • only works for local network. 
      Means : laptops on wireless network cannot print to printer, because the wireless network is a separate network!
  • printing via cncz cups server using ipp protocol (still beta)

SMB printing is preferred because it gives the best support. However setting up jetdirect printing to unauthorized printers for  pc's on the same local network is much easier.

For printing instructions from C&CZ see here

Windows SMB printing

Before you begin!

Both SMB print servers \\printer-srv.science.ru.nl\printername and \\printto.science.ru.nl\printername have an outdated and insecure configuration. They require the use of the deprecated NetBIOS protocol. By default this is activated for windows 7 and earlier. However in case of problems make sure that NetBIOS over TCP/IP is either set as 'Default' or 'Enable NetBIOS over TCP/IP'. See the relevant network adapter -> Properties -> Internet protocol Version 4 (TCP/IPv4) -> General -> Advanced -> WINS -> NetBIOS setting. Make sure that it is not set to 'Disable NetBIOS over TCP/IP'.


Install a new printer  automatic from network (does not always work)

IMPORTANT: only works for windows 7

IMPORTANT: does NOT work for windows 8 ; manual install must be done for windows 8

steps:

  • open windows explorer (not internet explorer, but the file browser )
  • in the address bar type : \\printto
 Note: when asked for credentials with a login popup window, and this popup window shows it is using a different windows domain than B-FAC,
 then you can also specify the windows domain in the user field as: B-FAC\<ScienceAccount>
  • in the list off printers double click the printer you want to install, and then it automatically installs the printer
  • in control panel go to printers and right click the printer icon you just installed and select preferences
  • in upcoming dialog configure your preferences. Note: for the konica minolta printers it is advice to set in the select box "Favorite setting" in the top of the window to "Gray Scale" and then click OK. Then by default all prints are in gray scale by default. Printing in color is more expensive and this can for specific prints be done by choosing the color setting for that specific print.

Solution for windows 8 error 0x000006d1: see http://lapserv.maths.cam.ac.uk/docs/win8print.html

Install a new printer : manually (always works)

This is a workaround for Windows 7 (32bit and 64bit). However the same procedure should also work for Windows XP and windows 8 and 8.1.


  • Click 'Start' -> 'Devices and Printers'. Select 'Add a printer'.
    Note: for Windows 8 press "WindowsKey-W" and type "Apparaten en Printers" and click on the found icon. Then in the above toolbar click "Add a printer".
  • Choose 'Add a local printer'.
  • Select 'Local Port', click 'New Port...'.
  • Enter in the text field
    • for windows 7: '\\printto\printername'
    • for windows 8: '\\printsmb\printername'
  • Select the apropriate driver for the printer you wish to install. Click 'Next'.
  • Enter the name in 'Printer name', click 'Next'. The driver will install.
  • Click 'Do not share this printer', click 'Next' and finally 'Finish'.

Configure the printer settings

  • right click the new printer icon and select "printing properties"
  • in the popup window goto the to the tab "Device Settings"
  • in the tab "Device Settings" set  :
  • at tray section (different configuration possible for your printer):
  • "Printer Auto Select" : A4
  • "Manual Feed in Tray 1" : A4
  • "Tray 1" and "Tray 2" : A4
  • "Tray 3" and "Tray 4" : Not Available
  • at installable options section
  • Duplix Unit (for 2-sided printing) : Installed
  • Press Ok 
    note: stick with the default settings :
  • not share your printer
  • spool print documents, with 'start printing immediately'
  • right click the new printer icon and select "printing preferences"
  • goto the tab "Paper/Quality" and set paper size to : A4
  • goto the tab "Finishing" and check the checkbox "Print on both sides"

IMPORTANT: make sure authentication to the printer server is working

To connect to windows network printer one needs to authenticate with a username and password. Somehow this authentication must be done before you use the printer, otherwise printing will fail without giving any error message (I consider this to be a bug!)

If you use the same login/password combination of the FNWI account as your windows account on your windows machine then the authentication will automatically good. Eg. managed pc's use the FNWI account as windows account.

However this can be a problem if you use a different login on your windows machine then the FNWI account. In that case you always have to authorize to the printer server before you can print. There are two methods to do this depending on type of machine you have:

none-laptops
The authentication can be achieved by always automatically map the network drive of the printer server when you log in. You can set this up with 'Windows Explorer' by :

  • Connecting a network drive can be accomplished in 'Windows Explorer'.
  • Click 'Start' -> 'Computer' to start Windows Explorer.
  • In the menubar click 'Tools' -> 'Map Network Drive...'.
  • Select a 'Drive:'letter and enter in the 'Folder:' field :
    • for windows 7 : \\printto.science.ru.nl\printtest 
    • for windows 8 : \\printsmb.science.ru.nl\printtest 
  • Check 'Reconnect at logon' if you want to use the printer on a regular basis.
  • Check 'Connect using different credentials' when your PC logonname and password does not match your science account.
    A logonname/password dialog will later appear. Provide your science loginname and password.
  • Click 'Finish'.

laptops
Above automatic mapping of the network drive is not practical for laptops which cannot map the drive when being at an location outside the university. However for laptops you can also use the following batch script to easily authenticate to the printerserver when needed :

@echo off

REM Fill in below your username. If you use %USERNAME% as user name than the
REM current windows account will be used.
REM e.g.  USER=B-FAC\henk  where B-FAC is the windows domain name
set USER=%USERNAME%

REM  for windows 7 use :  printto.science.ru.nl
REM  for windows 8 use :  printsmb.science.ru.nl
set PRINTERSERVER=printto.science.ru.nl

REM Fill in below your password. If you use the password '*' then you will
REM asked for it when running the script.
set PASSWORD=*

REM use below a free drive letter
set DRIVELETTER=K:

ECHO.
ECHO.
ECHO Mount printerdrivers share by which you automatically authenticate to the printerserver
ECHO.
ECHO user = %USER%
ECHO.
net use %DRIVELETTER% \\%PRINTERSERVER%\printtest %PASSWORD% /USER:%USER%
ECHO.
REM sleep 10 seconds  by doing pings  => to see if mount was successfull before windows dissapears!
ping -n 10 127.0.0.1 >NUL

Save above content in a file "authenticate_printerserver.cmd" and change the username,password and driveletter to your own needs. If you place this file on the desktop and you click on it you will get authenticated to the printer server.


Windows IPP printing

  • goto: Control Panel ( dutch: configuratie scherm ) => Device and Printers
  • click menubar button "Add a printer"
  • Add a network, wireless or Bluetooth printer
  • below select: The printer that I want isn't listed
  • in upcoming window
    • choose option: Select a shared printer by name
    • in the textbox for the option: <printername>.[cs|science].ru.nl:631
    • click Next button
  • Select the apropriate driver for the printer you wish to install. Click 'Next'.
  • Press OK, then Press Next
  • then choose whether you want it as default printer
  • Press Finish

Windows jetdirect printing

Install a new printer :

On a windows 7 pc you can do an automatic search for a printer on the local network and then directly install it with the jetdirect protocol:

  • Select "Add Printer"
  • then choose "Network printer"
  • and then it shows a popup box of found local printers, from which you can just select your printer to automatically install with the jetdirect protocol.

However you can also use the less automatic method:

  • Click 'Start' -> 'Devices and Printers'. Select 'Add a printer'.
  • Choose 'Add a local printer'.
  • Select 'standard tcp/ip port', click 'New Port...'.
  • In popup window set :
    • printername: <printername>.[cs|science].ru.nl
    • portname : <same as printername>
  • Select the apropriate driver for the printer you wish to install. Click 'Next'.
  • Enter the name in 'Printer name', click 'Next'. The driver will install.
  • Click 'Do not share this printer', click 'Next' and finally 'Finish'.

Configure the printer settings :

Same procedure as for SMB printing: see above.