Printing


Contents

Introduction and naming of the printers

In the G-Bar there are several printers. Therefore you always have to specify which printer you would like to use. The names are constructed using the following scheme:

bXXXrYYYpZ, e.g., b302r000p1

where XXX is a building number, e.g., 302, YYY is the room number, e.g., 000 and Z is the number of the printer in the room (1 or 2 and is part of the name regardless of the number of printers in a room).

There is a list of printers which lists all printers in the G-Bar.

Printing from terminals

There are in general two ways to print: either you choose the printer from a program or you use a printer command in the terminal. This will be explained in the following.

Printing from a program in the G-Bar

  1. Find the name of printer you want to use, e.g. gps1-303. A list of printers can be found here.
  1. Open the file in the appropriate program and select the print command, most often located in the File menu.
  1. If the program displays a list of printers, simply select the desired one. If there is no list then continue anyway. You might have to type a command in the input text field called "Print command" or similar.
  1. The recommended print commands are xpp and gtklp. The field may contain a default command, and if this is not xpp or gtklp, type in one of these two.
  1. A graphical interface for selecting the printer you want to print to will then popup, look here for more about the GUI's.
  1. Remember to check that the paper size is set to A4, and the duplex setting is set to your liking.

The graphical user interfaces

There is to different GUI's you can use when printing text- and ps-files (for other file types see below):

Xpp

Click here for a large version

In Xpp you can then scroll down and mark the printer you want to print to. You can also press the Options button and then see settings for paper size etc.

You can also start Xpp in stand-alone mode, and then select the file you want to print by browsing for it, but when in stand-alone mode Xpp and also GtkLp can only print .ps and .txt files directly.

Xpp can be started in stand-alone mode by using the menu: Go to the G-Bar menu > Desktop Enviroment > Printing > Xpp

GtkLp

Click here for a large version

Under the General tab, you can change the paper size and such, and from the dropdown select the printer you want to print to. When you have selected a printer you can also set duplex settings to your liking.

You can start GtkLp in stand-alone mode by using the menu, remember that as for Xpp is also applies to GtkLp that it can only print .ps and .txt files in stand-alone mode:

Go to the G-Bar menu > Desktop Enviroment > Printing > GtkLP

Printing specific filetypes like .doc, .mw or .pdf

Printing .doc files

Follow these directions to print a .doc file:

Printing .pdf files

For information about printing PDF files in the G-Bar, see this page.

Printing .mw files

Printing from your own computer

It is possible to install the G-Bar printers on your own computer. The setup of this functionality is different in different operating systems (Windows, OS X, Linux etc.) and can also differ in different versions of the same type of operating system. Look at your system documentation for adding an "LPR printer" (if your system is not listed below); the printer and server name is available on this page (under the "Print" section).

If you should notice that any of these documentations are incorrect or have other comments or supplements to the documentations, please contact us.

Printing from Linux/Unix (Ubuntu)

  1. Check that you have Cups installed, at least version 1.4.x+. In Ubuntu 10.10+, Cups is custom.
  1. Open a browser and enter localhost:631 in the adress bar.
  1. Choose Administration tab -> Add Printer.
  1. Now there should be a password prompt, enter root password or a administrative user. In Ubuntu your own password and username should be ok.
  1. Now choose: Other Network Printers: LPD/LPR Host or Printer and press continue.
  1. In connection field enter: lpd://cups.cc.dtu.dk/printer_name and press continue. (Printer names and models can be found here.
  1. Select model HP laserjet 4250, and press continue
  1. At last, make sure to change Mediatype to A4 and enable duplex under printer options.

You should now be able to print from ubuntu.

Printing from Windows 7

In order to use a G-bar printer on your own Windows 7 machine you must first enable the LPR Port monitor, if it isn't already so. This allows you to create a LPR port when you're adding a new printer. The following steps takes you trough how to enable the LPR Port monitor.

Here's a visual guide on how to setup the printer after the LPR port has been activated. The printer used in this example is printer 1 in building 306 room 030.

Once the LPR Port monitor has been enabled you can add your printer. The process is described below here and there's also a visual aid on the right hand side, should it be needed.

The printer is now ready to use and will show in your printing options using any software to print from.

Printing from Mac OS X

Please see Apple's Support page about this. The address you need is lpd.wireless.dtu.dk and the printer name of the printer you want to use, e.g., b308r015p1.

Checking the printer queue

With a graphical user interface

Go the G-Bar menu > Desktop Enviroment > GtkLPQ and you will get an image like this:

Click here for a large version

Here you can find the printer you want to view from the drop-down, and then you have some different options like deleting jobs and such, by pressing the buttons. You can hold the mouse over a button to see its functionality.

Removing a job from the printer queue

With a graphical user interface

Go the G-Bar menu > Desktop Enviroment > GtkLPQ and you will then get an screen looking like the one above.


Troubleshooting

Firefox

If you have problems printing with firefox, read here.