Printing error - sh: a2ps: not found

202 views
Skip to first unread message

G.A.M.

unread,
Jun 18, 2008, 7:45:49 PM6/18/08
to scite-interest
I started getting this error when I try to print from SciTE.

sh: a2ps: not found

I'm using Ubuntu Linux (8.04). I find it strange that I would have to
install a2ps when I didn't need it before, but I went ahead and
installed it and now I get a configuration error. The output window
shows:

>a2ps "xorg.conf"
[xorg.conf (plain): 3 pages on 2 sheets]
/usr/bin/lp: Error - no default destination available.
[Total: 3 pages on 2 sheets] sent to the default printer
[6 lines wrapped]
>Exit code: 0

I could probably fiddle around with a2ps configuration for a while,
but all this seems really strange. I did not have to configure a2ps
when I installed SciTE. Why would I need to do so now?

Can anyone offer some suggestions for printing from SciTE under Linux?
Thanks.


Taylor Venable

unread,
Jun 19, 2008, 12:55:51 PM6/19/08
to scite-interest
a2ps is a program that takes source code, does some (actually quite
cool) highlighting, and exports the result as a postscript file. It
seems that in your case it is being sent to what is designated as the
default CUPS printer, which on Ubuntu you can configure by going to
the GNOME menu and going to System > Preferences > Default Printer.

Hope this helps.
Reply all
Reply to author
Forward
0 new messages