SSVL Printing

SSVL printing

How to print on the SSVL printers

The ssvl printers are handled by a unix lpd print server.

The lpd print server only accepts PostScript documents in A4 format.

For Windows users

To print you first need a PostScript printer driver, one can be downloaded from Adobe If the installation program complains about that the server does not have the right printer driver, just click "Yes".

Install the driver, and choose a Network Connected printer. The name of the printer is: \\192.16.125.99\printername

Available printers

  • tslab (the printer in the tslab area, not for students)
  • kalaspuff (in the student flex area)

If your Windows version supports LPR spooler queues (Win 2000/XP) then you can also configure the PostScript driver with the values: print server = print.ssvl.kth.se, queue name = printername.

For Debian users

The easiest way is to install the cupsys and cupsys-bsd packages (apt-get install cupsys cupsys-bsd).

After that you can configure cupsys through the web interface available at http://localhost:631. Select Manage printers, Add a printer, enter root/root_password. Select a name, location and comment (it doesn't matter what). Then choose LPD/LPR Host or Printer, and specify lpd://print.ssvl.kth.se/tslab.

For Unix users

Use the LPRng printing utilities: lpr, lpq, lprm etc. To print use: lpr -P printername@print.ssvl.kth.se file.ps Remember to always print PostScript files.

If you want to use tslab as your default printer then set the variable PRINTER to be tslab@print.ssvl.kth.se. export PRINTER=tslab@print.ssvl.kth.se

Then you can print with only lpr file.ps

Server access

For most servers you need to use ssh to get access. Unencrypted telnet is neither supported nor a recommended way of accessing machines.

ssh is freely available for many systems and usually comes prepackaged with unix-like systems as well as Mac OS X.

To transfer files to and from your account you can either use scp or sftp.

Another way when modifying files is to use unison. For more information see the unison homepage. Then you can synchronize a directory on your local drive with the server. This is preferably done over ssh.

Needless to say, you first need an account to be able to log on.

Comparison between scp, sftp and unison

scp

Purpose: File copier

pros

  • Easy to use

cons

  • Requires knowledge of file paths on both machines. No built-in browsing possibilities
  • Lots of typing

sftp

Purpose: File transfer

pros

  • Ftp-like command line client
  • Possibility of graphical point-and-click clients
  • Very easy to use
  • Batching possible

cons

  • No mget
  • Batching requires exact commands to be written in the batch file. Not easy to do "dynamic" updates, only where the exact files to be uploaded are known.

unison

Purpose: File synchronizer

pros

  • Powerful
  • Two way sync
  • Both GUI and text version
  • Allows for synchronising
  • Easy when a working setup has been created. Just start the program, select the profile, enter password and tell unison to synchronize the directories.

cons

  • Requires setup by creating a profile file
  • Lots of commands and options