Skip to Content.
Sympa Menu

baslinux - Re: [BL] postscript network printers

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: David Moberg <davidjmoberg AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] postscript network printers
  • Date: Wed, 7 Dec 2005 15:43:15 -0800

On 12/6/05, sindi keesan <keesan AT sdf.lonestar.org> wrote:
> I print with cat and gs to > /dev/lp0, with no printcap. Steven explained
> how to use print filters to print from CLI. Insmod lp, and run the script
> printdj filename.pdf (or .ps), which consists of
> deskjet.filter < $1 > /dev/lp0
>
> I have not figured out how to just use CLI gs for this:
> gs -q -dSAFER -sDEVICE=deskjet -r300x300 -sPAPERSIZE=letter filename.ps
> -sOutputFile=- - > /dev/lp0 ????

gs -q -dSAFER -sDEVICE=deskjet -r300x300 -sPAPERSIZE=letter
-sOutputFile=- - < PDF_OR_PS_FILE_NAME > /dev/lp0

(all one line)

This assumes that deskjet.filter contains:

gs -q -dSAFER -sDEVICE=deskjet -r300x300 -sPAPERSIZE=letter
-sOutputFile=- -

(again, all one line)

David




Archive powered by MHonArc 2.6.24.

Top of Page