[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

various problems with 2-up and -A virtual

From: Ross Boylan
Subject: various problems with 2-up and -A virtual
Date: Thu, 24 Apr 2003 11:16:25 -0700
User-agent: Mutt/1.5.3i

I have a bunch of .png files, each of which is an image of a page (a
little smaller than a page, actually--US Letter sized). Here's what
happens when I try to print:

$ a2ps -A virtual 540-0*
[540-01-BW400.png (png, delegated to ImageMagick): 1 page on 1 sheet]
[540-02-BW400.png (png, delegated to ImageMagick): 3 pages on 2 sheets]
[Total: 4 pages on 2 sheets] sent to the default printer

I end up with each image on a separate sheet on the left side, with
the right side blank.  I have tried many variations on the virtual
syntax, to no avail.  For example
a2ps --help says 
  -A, --file-align=MODE  align separate files according to MODE (fill, rank
                         page, sheet, or a number)
Unlike the man and info pages, this has "fill" but doesn't have

On the other hand, when I print with a2ps -1 I get an image that is
truncated slightly at the top, using the whole page.  There is no
truncation with the 2-up.

I am running version 4.13b-16 on Debian GNU/Linux.   imagemagick is

I have filed some Debian bugs related to this:

Here's some more info on a2ps:
$ a2ps --list=defau
                       Configuration status of a2ps 4.13

  medium          = Letter (libpaper), landscape
  page layout     = 2 x 1, rows first
  borders         = yes
  file alignment  = page
  interior margin = 0

Virtual pages:
  number lines         = no
  format               = 80 characters per line
  tabulation size      = 8
  non printable format = caret (i.e., `^C', `M-^C' etc.)

  header       = %a
  left footer  = #?l!%E!#?v|%E|%s./%s#|!
  footer       = #?l|#!s-$f-, -||
  right footer = #?l!%s./%s#!#?v|%s./%s#|%E|!
  left title   = #?2||$e $T|
  center title = #?1|$t1|$n|
  right title  = #?2|$t2|$Q|
  under lay    =

  truncate lines = no
  interpret      = yes
  end of line    = any type
  encoding       = ISO-8859-1
  document title = #10!f|$n|, |
  prologue       = bw
  print anyway   = no
  delegating     = yes

  style sheet     = selected automatically
  highlight level = normal
  strip level     = 0

  destination     = sent to the default printer
  version control = numbered backups of files already numbered,
                            and simple of others
  backup suffix   = ~

  magic number              = %!PS-Adobe-3.0
  Printer Description (PPD) = selected automatically
  default PPD               = level1
  page label format         = #{pl.short}
  number of copies          = 1
  sides per sheet           = Simplex
  page device definitions   =
  statusdict definitions    =
  page prefeed              = no

  verbosity level     = 2
  file command        = /usr/bin/file -L
  library path        =

reply via email to

[Prev in Thread] Current Thread [Next in Thread]