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

Re: how to make a2ps -P display in Sid work



On Monday 07 June 2004 01:36 am, TB wrote:
> Per advice on d-u@l.d.o, 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?
Also uncomment:
Variable: ghostview gv -antialias -arguments -dNOPLATFONTS
-- 
David Sanders
debian@sandersweb.net



Reply to: