Probably the easiest way to set up printing would be to install either the
apsfilter or magicfilter package. These work in conjunction with
ghostscript and handle everything for you, setting up a filter and
installing the links in /etc/printcap.
Bob
On Tue, 28 Oct 1997, John Paul Lorenti wrote:
> I've installed debian's ghostscript package and it works by typing the
> appropriate commands on the command line but I haven't been able to
> interface it with lpr so I can't print directly from Netscape, star
> office, etc. I have to create a ps file in netscape and then print it.
> StarOffice doesn't seem to have this option ( i haven't RTFM so I could
> be wrong) so I can't print from it at all. I wrote a shell script
> "printer.sh":
>
> #!/bin/bash
>
> gs -q -sDEVICE=cdj550 -sOutputFile=\|lpr -dNOPAUSE $1 -c quit
> #Usage: "printer.sh foobar.ps"
>
> which also works from the command line, but when I set the print command
> in netscape or staroffice to this shell script (instead of lpr), nothing
> prints (and there are no error messages). I don't know anything about
> scripting, so this could be something stupid. I tried "printer.sh" with
> permissions 755 and 777. I tried the printing setup script in the
> ghostscript 4.3 distribution on their website, but I couldn't get that
> to work either. Any help would be much appreciated.
>
> John Paul
>
>
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] .
> Trouble? e-mail to [EMAIL PROTECTED] .
>
>
>
----
Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ AMPRnet: [EMAIL PROTECTED]
http://www.primenet.com/~nielsen
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .