[SLUG] enscript messing with columns

From: Doug Koobs (dkoobs@dkoobs.com)
Date: Wed Apr 27 2005 - 15:47:37 EDT


Anybody have experience with enscript? I'm using it in a perl script that
automatically decrypts and prints files as they are FTP'd in. The text files have
columns for account number, name, amount, etc. All the columns line up nicely when
viewing these file with ls, more, or mc. However, when they are printed using the
command:

enscript -Ssetpapertray:1 -r -d lexmark2 foo.bar

the columns no longer line up correclty with the headings. It looks like the Name
column (which is the first column that varies in width) is "pushing" the remaining
columns to the right depending on how long the name is. Is there any way to get
enscript to honor the layout of the original text file?

I've also tried to use lpr to print the file, but it only prints the first line of
the file. Should I try to get lpr to work, or keep trying to tweak enscript?

Thanks,

Doug

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:07:40 EDT