MAP | CALMAIL |
CEDA/Demography/PopCenter Lab

Printing at the Demography/CEDA/PopCenter Lab

Carl Mason

carlm@demog.berkeley.edu

rev 1.1 Fall 2011


Contents

Setting up printing from a portable connected to AirBears

Printer sharing is designed to work only over local networks. Even though you might be in the same building as the printer to which you would like to send your print job, you are nonetheless NOT on the same local network if your computer is connected via AirBears. AirBears, for good reason, is on the opposite side of the firewall from our demography lab printers and as a result the various ways in which printers ``advertise'' their existence are blocked. Consequently, configuring your machine to print will require some actual typing rather than just pointing and clicking.

Headsup if you sometimes connect your portable via the demographywireless network, then you can configure printing by merely pointing and clicking. BUT this is not such a good idea because:

  1. The print queues that you set up that way will not work when you are connected to AirBears - and you will probably like a victim of 21st Century technology -even though it is really your own fault.
  2. It is easy to accidentally configure a print queue that is based on some other user's ``shared'' printer. And that also will not work reliably.

On the other hand, if you set up your print queues to work with AirBears they will also work under demographywireless.


Mac or Linux machines with AirBears or demographywireless

Printing from a mac is relatively easy because Linux and macs use the same printing software: CUPS, however, as noted above, AirBears is outside of the local network so configuration must be done manually1.

To configure your printers ``manually'' all you need to do is issue a few obscure an terrifying commands in the Terminal Application2

Delete previous attempts at configuring Demography printers
It is wise to remove the wreckage of any previous failed attempts to configure Demography printers. The following commands will do this. Of course if you have not attempted to configure these printers in the past then you will only get harmless error messages. No worries.

Hopefully you can just past the commands below into your terminal application window.

Note that the sudo command will prompt you for your password - it wants your mac password NOT your Demography Lab password.

sudo lpadmin -x age
sudo lpadmin -x class
sudo lpadmin -x cohort
sudo lpadmin -x parity
sudo lpadmin -x status
sudo lpadmin -x SES_Mac

Configure the printers
Now another similar bunch of commands will configure printers anew.

sudo lpadmin -p age -E -v ipp://cupshost.demog.berkeley.edu:631/printers/age
sudo lpadmin -p class -E -v ipp://cupshost.demog.berkeley.edu:631/printers/class
sudo lpadmin -p cohort -E -v ipp://cupshost.demog.berkeley.edu:631/printers/cohort
sudo lpadmin -p parity -E -v ipp://cupshost.demog.berkeley.edu:631/printers/parity
sudo lpadmin -p status -E -v ipp://cupshost.demog.berkeley.edu:631/printers/status
sudo lpadmin -p SES_mac -E -v ipp://cupshost.demog.berkeley.edu:631/printers/SES_Mac

You should now be able to print to any of the Demography printers, the locations of which are shown in Table 1


Table 1: printers by model
printer Model/driver Location
age HP P4015 (PS) Basement Lab
class HP 4100N (PS) 2224 Piedmont second floor
cohort HP 4200N (PS) 2232 Piedmont second floor
parity HP 4050N (PS) Front Office
status HP 4200N (PS) Library (attic)
SES Ricoh SP C410DN PS Photocopy room


Configuring windows machines to print to Demography printers

If you have a Windows OS, you will need to help your machine find the CUPS system. Windows does not make it easy to print on a non-Microsoft network (surprised?), but once you get it working, it should keep working...until we replace a printer, or Microsoft issues a new ``ServicePack''. The instructions below should allow you to print whether you are connected via AirBears or demographywirelss.

Below are directions - but be aware that things move around a bit between windows OSs so this is just a rough guide. For Windows XP these directions are pretty close, for other versions the key is to find the right dialog box into which you can type those ``http://cupshost ....'' printer specifications, and to select or install the printer drivers.

from the control panel
select add printer] and Choose a ``network printer''.

select the "URL" style connection
Generally this is a radio button with and example that includes ``http://example...''. Choose the appropriate radio button and specify the URL corresponding to the printer nearest you. You will need to repeat the procedure for each printer that you wish to use.
http://cupshost.demog.berkeley.edu:631/printers/age
http://cupshost.demog.berkeley.edu:631/printers/cohort
http://cupshost.demog.berkeley.edu:631/printers/parity
http://cupshost.demog.berkeley.edu:631/printers/class
http://cupshost.demog.berkeley.edu:631/printers/status
http://cupshost.demog.berkeley.edu:631/printers/SES_Unix

select printer drivers
If you machine is relatively new, you probably have the printer drivers that you need already installed, in which case you will be able to select them from a menu. See Table 1 as to which driver to select. For most purposes, a printer driver with a similar name will do - it is important that the selected driver have the ``(PS)'' appellation indicating that it is a postscript driver.

repeat for each printer
See Table 1 for a list of printers, locations and hints as to which driver to choose. Each printer needs to be configured if you wish to print to it.

Or perhaps install printer drivers

If your are unlucky enough to not have sufficiently similar drivers are already installed on your machine then you will need to acquire them and use the ``have a disk'' option. To acquire the drivers you will need to visit HP's web site http://welcome.hp.com/country/us/en/support.html and download the driver for the particular printer. Use Table 1 to determine the correct drivers to download. HP also makes available something they call a ``Universal'' print driver which is probably the right one to use for all printers.

After downloading, unzip the file and remember where you put it.

The next step is to select \fbox{\texttt{have a disk}} instead of an installed driver, and navigate either to the place where you unpacked the drivers that you already downloaded.

Windows 7 note
It might, under windows 7, be necessary to enable ``internet printing protocol'', explanation might be found at this Microsoft support page:http://support.microsoft.com/kb/969708/en-us.

About this document ...

Printing at the Demography/CEDA/PopCenter Lab

This document was generated using the LaTeX2HTML translator Version 2008 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 -local_icons printing

The translation was initiated by Carl Mason on 2012-04-18


Footnotes

... manually1
I assume that Linux users can adapt these directions, which are written for mac users
... Application2
Terminal application The Terminal Application can generally be found in the Application/Utilities folder. As the name implies, it gives you a terminal window with a command prompt. It's just like a Unix machine.

next_inactive up previous
Carl Mason 2012-04-18