* [gentoo-user] still can't print
@ 2006-02-12 19:05 maxim wexler
2006-02-13 0:25 ` Manuel McLure
0 siblings, 1 reply; 6+ messages in thread
From: maxim wexler @ 2006-02-12 19:05 UTC (permalink / raw
To: gentoo-user
Hello everybody,
CUPS was a bust so I emerged lprng. No dice!
F'rinstance, if I try to print from firefox a window
opens saying "Progress: Preparing..." then after about
15s it disappears. Then silence, save for the weeping
and wailing from yours truly.
A look at File->Print->Printer Properties->Print
Command reveals:
lpr $ {MOZ_PRINTER_NAME: +'-P'} $ {MOZ_PRINTER_NAME}
FWIW.
If an attempt to print from nedit a dialogue box opens
with the message that lpr -J "file" is the command
used
After about 10s a box opens saying "...Cannot open
connection to localhost - No such file or
directory..."
sarawak heathen # cat /etc/hosts
# /etc/hosts: This file describes a number of
hostname-to-address
# mappings for the TCP/IP subsystem. It
is mostly
# used at boot time, when no name servers
are running.
# On small systems, this file can be used
instead of a
# "named" name server. Just add the
names, addresses
# and any aliases to this file...
# $Header:
/var/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8
2003/08/04 20:12:25 azarah Exp $
#
127.0.0.1 localhost sarawak
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Can't find anything else to show the group. Where does
lprng put its logs if it logs? There's nothing in
/var/logs, dmesg or /var/spool/lpd/lp.
Using a Deskjet 612C. Yes, the appropriate modules are
loaded and the printer is found at bootup.
-mw
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] still can't print
2006-02-12 19:05 [gentoo-user] still can't print maxim wexler
@ 2006-02-13 0:25 ` Manuel McLure
2006-02-15 23:47 ` maxim wexler
0 siblings, 1 reply; 6+ messages in thread
From: Manuel McLure @ 2006-02-13 0:25 UTC (permalink / raw
To: gentoo-user
On Sunday 12 February 2006 11:05, maxim wexler wrote:
> 127.0.0.1 localhost sarawak
> # IPV6 versions of localhost and co
Try
127.0.0.1 sarawak localhost
(i.e. list the hostname of the machine first)
--
Manuel A. McLure KE6TAW <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat. -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] still can't print
2006-02-13 0:25 ` Manuel McLure
@ 2006-02-15 23:47 ` maxim wexler
2006-02-16 11:33 ` Michael Kintzios
0 siblings, 1 reply; 6+ messages in thread
From: maxim wexler @ 2006-02-15 23:47 UTC (permalink / raw
To: gentoo-user
--- Manuel McLure <manuel@mclure.org> wrote:
> On Sunday 12 February 2006 11:05, maxim wexler
> wrote:
>
> > 127.0.0.1 localhost sarawak
> > # IPV6 versions of localhost and co
>
> Try
>
> 127.0.0.1 sarawak localhost
Nope.
googling led me to emerge apsfilter -- another dud :^(
>From dmesg:
<...>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
[as per BIOS]
parport0: Printer, HEWLETT-PACKARD DESKJET 610C
[but the printer is a 612C FWIW]
plip: parport0 has no IRQ. Using IRQ-less mode,which
is fairly inefficient!
[why did it suddenly lose irq 7? rmmodded plip to no
avail]
NET3 PLIP version 2.4-parport gniibe@mri.co.jp
plip0: Parallel port at 0x378, not using IRQ.
<...>
Viewing log (V) from apsfilter setup:
Tue Feb 14 23:54:15 MST 2006
ijs/DESKJET_612 300x300 medium full
Time for ghostscript:
sh: hpijs: command not found
ESP Ghostscript 7.07.1: Can't start ijs server "hpijs"
**** Unable to open the initial device, quitting.
real 0m0.070s
user 0m0.041s
sys 0m0.011s
Time for printer:
-rw-r--r-- 1 root root 0 Feb 14 23:54
/tmp/apsfilter6457/test_page.aps
/usr/bin/apsfilter: line 1294: /dev/lp1: No such
device or address
real 0m0.015s
user 0m0.000s
sys 0m0.001s
Wed Feb 15 11:50:46 MST 2006
ijs/DESKJET_610 300x300 medium full
Time for ghostscript:
sh: hpijs: command not found
ESP Ghostscript 7.07.1: Can't start ijs server "hpijs"
**** Unable to open the initial device, quitting.
but /usr/share/apsfilter/drivers/hpijs/DJ6XXP exists!
More weirdness: there's _no_ /dev/lp0! And using
/dev/lp1(which does exist) or /dev/lp0 in the
apsfilter setup leads to "no such file" error.
Maybe mknod? Anybody know the full command?
BTW, apsfilter lists my spooldir as /var/spool/cups.
But I did emerge -C cups(did that delete /dev/lp0?) in
order to emerge lprng.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [gentoo-user] still can't print
2006-02-15 23:47 ` maxim wexler
@ 2006-02-16 11:33 ` Michael Kintzios
2006-02-17 22:57 ` maxim wexler
0 siblings, 1 reply; 6+ messages in thread
From: Michael Kintzios @ 2006-02-16 11:33 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: maxim wexler [mailto:blissfix@yahoo.com]
> Sent: 15 February 2006 23:47
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] still can't print
>
>
> [snip...]
> Wed Feb 15 11:50:46 MST 2006
> ijs/DESKJET_610 300x300 medium full
> Time for ghostscript:
> sh: hpijs: command not found
> ESP Ghostscript 7.07.1: Can't start ijs server "hpijs"
> **** Unable to open the initial device, quitting.
I can't remember, have you tried to get your printer working with the
hpijs driver?
Emerge -uDpv hpijs
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [gentoo-user] still can't print
2006-02-16 11:33 ` Michael Kintzios
@ 2006-02-17 22:57 ` maxim wexler
2006-02-18 11:02 ` [gentoo-user] " Mick
0 siblings, 1 reply; 6+ messages in thread
From: maxim wexler @ 2006-02-17 22:57 UTC (permalink / raw
To: gentoo-user
>
> I can't remember, have you tried to get your printer
> working with the
> hpijs driver?
>
> Emerge -uDpv hpijs
Yow! that's 32 megs. Had to be satisfied with simple
emerge hpijs.
Then it worked! Well, not quite. The test page printed
OK but when I ran lpc reread as per the instructions
at the close of the apsfilter setup, got this:
sarawak heathen # lpc reread
Printer 'lp@localhost' - cannot open connection - No
such file or directory
Make sure the remote host supports the LPD protocol
And an attempt at lpr -J test.txt resulted in
"...Sending job 'heathen@sarawak+929' to lp@localhost
Cannot open location to localhost no such file or
directory..."
And what's going on here:
heathen@sarawak ~ $ cat /etc/lprng/printcap
# /etc/printcap: printer capability database.
# $Header:
/var/cvsroot/gentoo-x86/net-print/lprng/files/printcap,v
1.2 2004/07/18 04:19:01 dragonheart Exp $
#
# You can use the filter entries df, tf, cf, gf etc.
for your
# own filters. See the printcap(5) manpage for more
details.
lp|Generic dot-matrix printer entry
:lp=/dev/lp1
:sd=/var/spool/lpd/lp
:af=/var/log/lp-acct
:lf=/var/log/lp-errs
:pl#66
:pw#80
:pc#150
:mx#0
:sh
# rlp|Remote printer entry
# :lp=
# :rm=remotehost
# :rp=remoteprinter
# :sd=/var/spool/lpd/remote
# :mx#0
# :sh
Why does it think my printer is at /dev/lp1? It's at
/dev/lp0 and that's where I pointed apsfilter-setup.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] RE: still can't print
2006-02-17 22:57 ` maxim wexler
@ 2006-02-18 11:02 ` Mick
0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2006-02-18 11:02 UTC (permalink / raw
To: gentoo-user
maxim wexler wrote:
> Then it worked! Well, not quite. The test page printed
> OK but when I ran lpc reread as per the instructions
> at the close of the apsfilter setup, got this:
>
> sarawak heathen # lpc reread
> Printer 'lp@localhost' - cannot open connection - No
> such file or directory
> Make sure the remote host supports the LPD protocol
I am afraid I have never used apsfilter to know its intricacies, although it
is claimed that it 'works straight out of the box'. When I run this
command on my non-apsfilter CUPS set up this is what I get:
====================================================
# lpc reread
reread is not implemented by the CUPS version of lpc
====================================================
Someone else who is more versed on apsfilter will hopefully be able to help
- you may want to start a new thread with apsfilter included in the title?
PS. It is worth checking how many printer destinations are there and that
you have set up the correct default printer by:
=====================================================
# lpstat -a
Compaq-HP accepting requests since Jan 01 00:00
DeskJet-930C accepting requests since Jan 01 00:00
PS121 accepting requests since Jan 01 00:00
# lpstat -d
system default destination: PS121
=====================================================
The command lpoptions -d PS121 would set printer PS121 as the default
printer.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-02-18 11:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-12 19:05 [gentoo-user] still can't print maxim wexler
2006-02-13 0:25 ` Manuel McLure
2006-02-15 23:47 ` maxim wexler
2006-02-16 11:33 ` Michael Kintzios
2006-02-17 22:57 ` maxim wexler
2006-02-18 11:02 ` [gentoo-user] " Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox