Skip to Content.
Sympa Menu

baslinux - [BL] need help printing directly with Opera

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] need help printing directly with Opera
  • Date: Wed, 9 Dec 2009 15:17:15 +0000 (UTC)

Steven, can you get this to work?

I can print directly using gs with the script printdjn rather than bothering with printcap and filters.

(n - normal, 300 dpi, I also have d - draft 150 dpi and h - high 600 dpi)

I compiled GS 8.54 to use as default the deskjet device that also works with my laserjet 1100, 5, and 6. It pauses and waits for me to feed it a sheet of paper and hit Enter key after each page.

-sPAPERSIZE=letter is also the default

printdjn

##!/bin/sh
insmod parport
insmod parport_pc
insmod lp
gs -r300 -sOutputFile=/dev/lp0 $1

(Or omit insmod lines and make them into a separate script printer-on).

printlj4 (To print at 600 dpi with ljet4 driver without pauses)

gs -r600 -sDEVICE=jlet4 -dNOPAUSE -sOutputFile=/dev/lp0 $1

gs --help lists the available devices. I posted gs-8.54 in a small version for HP only and a default version with Epson and other printers.
(I also have gs-8.60 but it is much larger). My GS does not display in X.
Use xpdf or svp to view pdf and pdf/ps.

If I first use Opera to print an HTML page to a file (file.ps) I can then printdjn file.ps

BUT

I tried to print directly with this script by setting Printer Program in Opera to printdjn (local program). Or printlj4. Or printdj %.

I then set Options to Letter (in case the default of A4 might override GS settings), 100%, fit to paper width, greyscale, no background, headers or footers. I left the default margins of .5 cm left and right.

In Destination I set it to printdjn (or printlj4), Pages All, First Page First.

But if I then try to print it says Printing page 2 and nothing gets printed.

Do I also need to set parameters? If so, how?

I have not tried to print with Firefox or Seamonkey yet.

Sindi



  • [BL] need help printing directly with Opera, baslinux, 12/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page