Per advice on [EMAIL PROTECTED], to enable the 'display' printer in a2ps 
1:4.13b-2, I uncommented the relevant line in /etc/a2ps.cfg:

$ diff -u etc/a2ps.cfg /etc/a2ps.cfg
--- etc/a2ps.cfg        2004-03-03 03:43:30.000000000 -0800
+++ /etc/a2ps.cfg       2004-06-06 15:36:22.000000000 -0700
@@ -380,7 +380,7 @@
 UserOption: display -1 --prolog=color -Pdisplay

 # It is better not to pipe in ghostview
-#Printer: display | cat > #f0 && #{ghostview} #f0
+Printer: display | cat > #f0 && #{ghostview} #f0

 # Save into a file named after the input files.
 # E.g. a2ps src/foo.c => foo.ps

//////////

However, I then get the following error:

$ ls | a2ps -P display
[stdin (plain): 1 page on 1 sheet]
sh: line 1: /tmp/a2_6GJKzn: Permission denied
[Total: 1 page on 1 sheet] sent to the printer `display'

//////////

What else do I need to do?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to