gBAR
Student IT support moved to the DTU Library. Latex support remains in 125D/308

Introduction

DTU offers many different printing possibillities distributed all over campus. Some of the printers are maintained by the Winbar, AIT or the relevant local Databar. Check out the general overview of databar

Some databars require a printing card in order to print. This is true for the B-bar. You can find information about printing cards at the B-bar homepage

The G-bar provides printing facillities in 302, 306 and 303A. 

 

Naming of the printers

The G-Bar has several printers. They all follow the following naming scheme:

 bXXXrYYYpZ

A concrete example being "b306r098p1". The "XXX" is a 3-digit building number, the "YYY" is a 3-digit room number and "Z" is a single digit printer number. So, f.x, "b302r000p1" can be read as:

 "Building 302, room 015, printer 1"

Note in some cases the printer is not in any "room". In this case, the room number is written as "000". An example of this is b302r000p1, which is placed in a hallway.

All printers have a printer number even if the printer is the only printer in the given room. While this is a bit redundant, it ensures that all G-Bar printer names have the exact same format.

Note this naming convention only applies to printers maintained by G-Bar support. There are other named printers on DTU that are maintained by other departments and these may not follow the above scheme.

Printing from your own computer

It is possible to submit print jobs from your own computer to one of the G-Bar printers. This is a quick guide on how to do this, but it only applies to G-Bar printers. It does not apply to the colour printers in some of the Windows Databars on campus nor the printers in the DTU library.

If you already know how to setup a UNIX "LPR" printer, you just need to point your system to the printer's URL. The printers are available via:

  lpd://cups.cc.dtu.dk/<printer-name>

As an example, if you wanted to add "b308r015p1", then the URL would be:

  lpd://cups.cc.dtu.dk/b308r015p1

Adding a printer on Debian and Ubuntu GNU/Linux using CUPS

This quick guide is for people with CUPS on Debian-based systems (including Ubuntu). It assumes that you have CUPS 1.4 or newer installed. If you are running an official supported version of Debian or Ubuntu, you should have access to at least 1.4.3 from the official repositories.

To install the printer:

  • 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.

    • Example: lpd://cups.cc.dtu.dk/b308r015p1
  • Select model correct model and press continue.

    • The model number is usually listed on the printer. If not, "HP laserjet 4250" should work.
  • Make sure to change Mediatype to A4 and enable duplex under printer options.

Adding a printer on Windows 7 and Windows 8

In order to use a G-bar printer on your own Windows 7 or Windows 8 machine you must first enable the LPR Port monitor, if it is not already enabled. This is required to use the G-Bar printers. The following steps will guide you through the task of enabling the LPR Port monitor.

Before adding your first G-Bar printer:

  • Go to the Control Panel and select the Programs item.
  • Under the Programs and Features section, click Turn Windows features on or off.
  • Expand the Print and Document Services item.
  • Ensure the LPR Port Monitor is enabled.

  • Click Ok and wait for the change to be activated. Please note that you may have to reboot your machine for this to happen (in this case, Windows will ask if you want to reboot now).
  • Once activated proceed with the guide below:

If you already have a G-Bar printer installed or you have just completed the steps above, you can add a(nother) G-Bar printer by completing the following steps:

  • Go to the Devices and Printers window from the start menu.

  • Right click the background and select Add a Printer.

  • Create a new port and set Type of Port to LPR Port.

  • Set Name of address of server providing lpd to cups.cc.dtu.dk

  • Set Name of printer or print queue on that server to the printer you want to use (e.g. b306r030p1).

  • Press Ok.

  • In the window find the correct printer driver for the given printer and click Next. The model number of the printer can found on the actual printer itself.

  • If it prompts you with a currently installed driver, just keep the current one and click next.

  • Printer sharing: Do not share this printer.

  • Set Printer name to the name used a few steps above (e.g. b306r030p1).

  • Choose whether you want the printer to be default or not.

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

Adding a printer on Mac OS X

To add a G-Bar printer on Mac OS X, please complete the following steps:

  • Go to System Preferences and choose Printers & Scanners

  • In the Print & Scan window, click the + and choose Add Other Printer or Scanner.

  • Choose the IP tab (if not already chosen).

    • Set Protocol to IPP.

    • Set Address to cups.cc.dtu.dk

    • Set Queue to printers/NAME of the printer you want to use (e.g., printers/b308r015p1).

    • Set Print Using to HP LaserJet Series PCL 4/5. Note that if this particular item is not available, please choose Other. This should open a new window with all available options.

    • Fill out Name and Location as needed (or desired).

  • Press Add.

For older versions of Mac OS, please refer to Apple's Support page. The address you need is cups.cc.dtu.dk and the printer name of the printer you want to use (e.g., b308r015p1).

Printing from the G-Bar machines

Open the file you want to print in the program used to view or edit the file (e.g. use Maple to open your .mw file). Then use that print menu of that program (usually under "File" and then "Print").

If the program has a print menu, the print menu will usually offer at least 1 of the following 3 ways to print your file.

Print to a listed printer

If the print menu lists the G-Bar printers, select the printer you want to print to. Please also ensure that "Duplex" is enabled and the program uses A4 paper for printing. For Maple and OpenOffice, this is done under "Properties".

Print using a program

If the print menu includes a text field for choosing the program to print with (exact name may differ between programs), ensure it uses the program "xpp" - i.e. replace the contents of the field with "xpp" (without the quotes).

If this field is not set to "xpp", it will often be set to "lp" or "lpr" (possibly followed by some more text) or sometimes even "gtklp".

If you have set the printer program to xpp, the XPP program will start as soon as you click print. From here on follow the guide for XPP below.

Print to file

Sometimes all you are offered is the option "Print to File" (it may be listed in an otherwise empty the list of printers). When using this option, ensure that print job will be printed as either a PDF file or a "Postscript" (.ps) file. Then choose a filename and click print.

This will produce a PDF or a Postscript file that you can then print. The PDF file can be printed by repeating this process (i.e. open the PDF file in a PDF viewer and use its print menu). "Postscript" files (and actually also PDF files) can be printed by using XPP directly.

Printing via XPP

If you started XPP via G-Bar menu (under "Desktop Environment") to print a PDF file or a "Postscript" (.ps) file, click "Browse" to locate the file you want to print. If XPP was started by another program (e.g. via the "Print using a program" guide above), then leave the "File(s)" field as it is (even if it is empty!).

Then choose a printer from the printer list. Go in to options and ensure "Duplex" is enabled and that it will be using A4 paper. Close the "Options" window and click "Print".

Checking the printer queue

It is possible to see all the jobs currently queued on a G-Bar printer. This is done by using the program GtkLPQ (in the "Desktop Environment" menu). After you have started GtkLPQ, use the "drop-down" menu to select the printer queue you want to see.

Removing a job from the printer queue

If you accidentally schedule a print job on the wrong printer (or a job twice), you can cancel them by using the GtkLPQ program on the G-Bar machines:

  • Using the "drop-down" menu, select the printer/queue.

  • Click on the job you want to cancel.

  • Press the "Cancel Job" button.

Note that you can only cancel your own jobs via GtkLPQ.

Common printer issues / errors

This is a short list of common printer issues and workarounds for them.

  • "error 49" - Sometimes printers get stuck and report an error 49. Often, the printer can be "fixed" by rebooting the printer (i.e. turning it off and then back on again). The power button is usually on the back or one of the sides of the printer.

If the problem is not listed above or the workaround does not work, please do not hesitate to contact us about it.

NOTICE

24
01 2017
Please note that the IT support office has been moved to the DTU library. Latex support remains in 308.
02
12 2015
Want to take advantage of the new GitLab service, or perhaps move your existing repos project over? Check out http://www.gbar.dtu.dk/faq/94-gitlab
05
09 2014
When you log in to your studentmail https://webmail.student.dtu.dk, remember to use your student number (sXXXXXX) as username.
07
04 2015
ShareLaTex We now offer ShareLatex, an online mulituser system for making LaTex documents. Check out http://gbar.dtu.dk/faq/91-sharelatex and https://www.sharelatex.com/