 |
 |
Any working postscript formatter (a2ps, etc) ?
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Is there any working port of something like a2ps (pretty print)?
I've tried my own install of a2ps, as well as the fink install, with no success.
Anything I try to print yields
Code:
>a2ps .login
[.login (plain): 1 page on 1 sheet]
request id is C60_SerieshUSBi-123 (1 file(s))
[Total: 1 page on 1 sheet] sent to the default printer
with no actual printer output. Not sure what directory to watch for the printer queue?
Thanks,
Mike
PS. What about in 10.3?
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Ok, I searched around and found enscript... I'm having _some_ luck with it (based on something I found at macosxhints) , tho the margins seem off (just of the page on the left side in landscape 2 col mode, and too much gap at the top, in 1 col normal).
Code:
enscript -h -r -G -E -i 2 -fCourier7 -o - .login | ps2pdf - | lpr
Using --list-options, the page size seems the same as what I see in the a2ps config files for Letter.
I get the same result with
Code:
a2ps -o - .login | ps2pdf - | lpr
Code:
>a2ps --list-options
Configuration status of a2ps 4.12
=================================
Sheets:
-------
medium = Letter, 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.)
Headers:
--------
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 =
Input:
------
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
Pretty-printing:
----------------
style sheet = selected automatically
highlight level = normal
strip level = 0
Output:
-------
destination = sent to the default printer
version control = numbered backups of files already numbered,
and simple of others
backup suffix = ~
PostScript:
-----------
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
Internals:
----------
verbosity level = 2
file command = /usr/bin/file -L
temporary directory = /tmp
library path =
/Users/zimmy/.a2ps
/sw/share/a2ps/sheets
/sw/share/a2ps/ps
/sw/share/a2ps/encoding
/sw/share/a2ps/afm
/sw/share/ogonkify/afm
/sw/share/a2ps/ppd
/sw/share/a2ps/fonts
/sw/share/ogonkify/fonts
Mike
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |