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
- Find the name of printer you want to use, e.g.
gps1-303. A list of printers can be found here.
- Open the file in the appropriate program and select the print command, most often located in the File menu.
- 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.
- 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.
- A graphical interface for selecting the printer you want to print to will then popup, look here for more about the GUI's.
- 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
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
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:
- Open the file in OpenOffice, which is located at the G-Bar menu > Office Tools > OpenOffice
- When you are ready to print, then go to File > Print
- A new window appears, and you can then from the dropdown select the printer you want to print to.
- Click the Properties button to make sure paper size is set to A4 and the duplex setting is set to your liking.
- Press OK to print your document.
Printing .pdf files
For information about printing PDF files in the G-Bar, see this page.
Printing .mw files
- Open the file you want to print in Maple. Maple can be found in the G-Bar menu by clicking on "Mathematics" and "Maple" or by typing maple in a terminal.
- In Maple select File > Print
- A new window appears, and you can then from the dropdown select the printer you want to print to.
- Click the Properties button to make sure paper size is set to A4 and the duplex setting is set to your liking.
- Press Print to print your document.
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)
- Check that you have Cups installed, at least version 1.4.x+. In Ubuntu 10.10+, Cups is custom.
- Open a browser and enter localhost:631 in the adress bar.
- Choose Administration tab -> Add Printer.
- Now there should be a password prompt, enter root password or a administrative user. In Ubuntu your own password and username should be ok.
- Now choose: Other Network Printers: LPD/LPR Host or Printer and press continue.
- In connection field enter: lpd://cups.cc.dtu.dk/printer_name and press continue. (Printer names and models can be found here.
- Select model HP laserjet 4250, and press continue
- 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.
- On your Windows 7 computer, go to you Control Panel and select the Programs items
- Under the Programs and Features section, click Turn Windows features on and off
- Expand the Print and Document Services item and the enable the LPR Port Monitor
- Click OK and wait for the change to be implemented. Note that you may have to reboot you system. In other words if Windows asks you to reboot, then reboot.
- When adding new printer, as seen in earlier link; use lpd server address: lpd.wireless.dtu.dk. The queue address can be found in this list
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.
- Go to the Devices and Printers window from the start menu.
- Right click the background and select Add a Printer.
- Create a new port: Type of Port: LPR Port
- Name of address of server providing lpd: lpd.wireless.dtu.dk
- Name of printer or print queue on that server: Name of the printer, you can find a full list of the printer names in the gbars here.
- Install the printer driver: On the same list where you found the printer names you can also find the printer model, find the driver for the printer model in the list and click Next.
- If it prompts you with a currently installed driver, just keep the current one and click next.
- Name the printer: Use the same name as given in on the list from earlier step to keep it seperated in case you're adding printers from different gbars.
- Printer sharing: Do not share this printer.
- You've successfully added "Name": You can decide wether you want this printer to be your default or not.
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:
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.
- From the dropdown you can the select the printer you want to delete a job from
- Select the job you want to delete
- Then press the "Cancel Job" button
Troubleshooting
Firefox
If you have problems printing with firefox, read here.

