Printing posters using SEGI printers

From GHER

Revision as of 13:21, 19 September 2014 by Alex (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Installing drivers

Linux

  • Go to http://localhost:631
  • Administration -> Add Printer, then enter your user name and password
  • Choose LPD/LPR Printer
  • Enter connection: lpd://print.ulg.ac.be/ULG00S
  • Enter name, description and location (only for your reference)
  • Make is "HP" and model is "HP Designjet Z6100ps 42in Photo Postscript"

This printer can print pages larger than A0. To print with the full width:

  • Open PDF in Evince:
  • create custom paper size:
  • width 1060 mm (approx 42 in)
  • height 1500 mm (1060 * 1189 / 841)
  • Name it "Large Poster"
  • Choose this paper size
  • Page Handling: Page Scaling: Fit to Printable Area
  • Select: Auto Rotate and Center


Notes:

  • You can print your poster from nic3. It is usually quicker, but you may have to go to SEGI to collect it.
  • The format of the file has to be postscript, not pdf.

Create the poster in A0 format

With Powerpoint

  • Open the powerpoint file containing the poster
  • Use print to file command and select A0 format in the properties

  • If you cannot print to a postscript file, print into a pdf file, then convert it to postscript.
pdftops poster.pdf 

Note that commands "pdftops" and "pdf2ps" are different.

With LaTeX

There are several packages allowing the design of an A0 poster (see http://modb.oce.ulg.ac.be/mediawiki/index.php/LaTeX#Posters).

Landscape

Even if you specify that the postscript document is in landscape in the tex file, it is possible that you obtain the printed poster with a wrong orientation (i.e., the right part of your poster is missing).

Possible solution: open the poster in pdf with okular, and then print it to a postscript file, without forgetting to specify the A0 format for the output (similar to the windows procedure).

From a png file

The png can simply be converted to a postscript file using the excellent GIMP


Rotate PDF

To rotate the PDF poster.pdf by 90 degrees use:

pdftk poster.pdf cat 1east output poster2.pdf

pdftops (0.24.5) does not convert this rotated pdf properly, but pdf2ps does.

Check size

Check the poster size:

fgrep '%%DocumentMedia:' poster.ps

which should be, for a A0 poster

%%DocumentMedia: plain 2384 3370 0 () ()

Paper size is expressed in PostScript points. For paper size in cm:

awk ' /%%DocumentMedia:/ { print $3/28.3464567,"cm x ",$4/28.3464567, "cm " } ' poster.ps

It should have the size of 84.1 cm × 118.9 cm. If the paper size is not correct, you can use evince to print in file specifying A0 at paper size. Also have a look at this page: http://www.inf.ed.ac.uk/systems/tex/infposter/gv.html

Send to printer

You can only send postscript to the printer. To convert a PDF file to postscript your can use pdf2ps:

pdf2ps assim_predantar2.pdf

here is an example of a command to print a poster:

rlpr -PULG00S@print.ulg.ac.be --user=$USER --job=PosterOS2010 Troupin2010OS.ps

If the size of the poster is large, it may take some time to have the command executed and the result:

rlpr: info: 1 file spooled to ULG00S@print.ulg.ac.be

You computer must have an authorized IP address. Contact the SEGI/UNIPC to get your authorization or you may print the poster from nic3.

Check printer queue

rlpq --printer=ULG00S@print.ulg.ac.be

which gives messages such as:

Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
ULG00S  @loca RUNNING   691 GHERSpaceDays      trashcan@s    0  0 15313   1   1
ULG00S: Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
ULG00S: ------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
ULG00S: ULG00U  @hpz6 READY
ULG00S: ULG00U: JetDirect lpd: no jobs queued on the port Raw


Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
ULG00S  @loca READY
ULG00S: Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
ULG00S: ------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
ULG00S: ULG00U  @hpz6 RUNNING   692 /var/spool/lpd/tmp trashcan@s    0 38 15315   1   1
ULG00S: ULG00U: JetDirect lpd: no jobs queued on the port Raw
Personal tools