LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Double page printing - Anyone sort this out?

[ILUG] Double page printing - Anyone sort this out?

Brian Foster blf at utvinternet.ie
Fri May 14 04:29:36 IST 2004


  | From: Dermot Daly <dermot.daly at itsmobile.com>
  | Date: Thu, 13 May 2004 16:57:23 +0100
  | 
  | Trying some double page printing from KGhostview (or kpdf, gpdf, etc).
  | Basically this is implemented as a filter using psnup.
  | 
  | Every time I try this, the rightmost page is always cropped off the
  | page.  I tried doing it manually using psnup and playing with command
  | line arguments, but I can't seem to get this sorted.
  | 
  | Anyone ever see this and sort it?

 sounds like an issue with the printer's margins.

 you may be able to change the margins, either in
 the printing tool(s) or on the printer itself.

 alternatively, perhaps something like the following
 will work?  this is the script I use for my margin
 problem; whilst it is "tuned" to my printer and for
 normal ("ASCII") text --- note the a2ps(1) --- it's
 the pstops(1) magic which is the key bit:

=====(cut here and below)=====`a4dup'====(line to `a4one')=====
#!/bin/bash
case $0 in
*a4one)	a2ps -o - "$@" | pstops   '0 at .95(1cm,2cm)'			;;
*a4dup)	a2ps -o - "$@" | pstops '2:0 at .95(1cm,2cm),1 at .95(-0.5cm,2cm)'	;;
*)	echo -e \
"$0: Unknown A4 printing, use \"a4one\" (single sided)
or \"a4dup\" (double sided)" >&2
	exit 2
	;;
esac
=====(cut here and above)=====`a4dup'====(line to `a4one')=====

 obviously, yer kiloage will vary.
 I'm sre there are yet other approaches.
 and it might not even be a margins issue at all?

cheers!
	-blf-
--
«How many surrealists does it take to    |  Brian Foster      Montpellier,
 change a lightbulb?  Three.  One calms  |  blf at utvinternet.ie      France
 the warthog, and two fill the bathtub   |    Stop E$$o (ExxonMobile)!
 with brightly-colored machine tools.»   |        http://www.stopesso.com



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell