Re: LPRng: Deep distress and begging for guidance

2002-01-07 Thread christoph . beyer

hi,

if your printer just understands pcl you must set up a filter in the
printcap, see the IFHP HOWTO which printertype and configuration might
fit...

regards
~christoph



On Sat, 5 Jan 2002 [EMAIL PROTECTED] wrote:

> I'm trying to set up an HP DeskJet 500, I have at least three other
> printers that I'll need to deal with soon, but I'd feel more confident if
> I could get just one to work first.
>
> Relevant details:
> Debian2.2(potato), LPRng-3.6.12, ghostscript 5.10
>
> here's a transcript from yet another attempt in which the software seems
> to think it works but the printer sits there in lumpish affront
>
> Script started on Sat Jan  5 01:53:34 2002
> larry@heron:~$ lpr -V
> Version LPRng-3.6.12
> This is ascii text, and the gd printer probably doesn't know anything but
> PCL, grrr.
> sending job 'larry@heron+11' to lp2@localhost
> connecting to 'localhost', attempt 1
> connected to 'localhost'
> requesting printer lp2@localhost
> sending control file 'cfA011heron' to lp2@localhost
> completed sending 'cfA011heron' to lp2@localhost
> sending data file 'dfA011heron' to lp2@localhost
> completed sending 'dfA011heron' to lp2@localhost
> done job 'larry@heron+11' transfer to lp2@localhost
> larry@heron:~$ exit
>
> Script done on Sat Jan  5 01:56:43 2002
>
> here's a copy of my /etc/printcap
> #:$Id: printcap,v 1.3 2002/01/05 01:21:45 larry Exp $:
> # /etc/printcap: printer capability database. See printcap(5).
> # You can use the filter entries df, tf, cf, gf etc. for
> # your own filters. See the printcap(5) manual page for further
> # details.
> lp2|HP 500 DeskJet
>   :lp=/dev/lp0
>   :sd=/var/spool/lpd/lp
>   :lf=/var/log/lpd-errs
>   :mx#0
>   :sh
>
>
> What part of the man-pages am I not understanding?
>
> Would it help things if I got or created a PCL file, and sent that to lp2,
> I'm fairly sure the printer works since it was able to print from a
> windows box earlier, should I switch lp=/dev/lp0 to something else?
> dmesg reports lp0: using parport0 (polling)
>
> clues devoutly appreciated,
> larry
>
>
> -
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> with:   | example:
> subscribe LIST|  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST  |  unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems,  send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -
>


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:   | example:
subscribe LIST|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-



Re: LPRng: Deep distress and begging for guidance

2002-01-05 Thread Craig Small

On Sat, Jan 05, 2002 at 02:17:45AM -0800, [EMAIL PROTECTED] wrote:
> I'm trying to set up an HP DeskJet 500, I have at least three other
> printers that I'll need to deal with soon, but I'd feel more confident if
> I could get just one to work first.
> 
> Relevant details:
> Debian2.2(potato), LPRng-3.6.12, ghostscript 5.10
Hello Larry,
  I am the maintainer of the Debian LPRng packages.  By some coincidence
up until about a month ago my primary printer was a HP DJ500.  They
understand ascii and some PCL.

What are you trying to print? I assume a postscript page?  Are you sure
ghostscript is working and is sending the right sort of file to the
printer?

Try printing a text file first, that will make sure all the channels etc
are right.  It could be that the file is going to the printer and the
printer goes, huh? and dumps it.  A good way to annoy someone who is not
aware of this is give them a text file and a postscript-only printer.
You get lots of blank pages and cursing!
Then do the opposite, cat a PCL file direct to the port.  Your printcap
is pretty simple so its basically just sending the file as is.

BTW, I hope you have the latest lprng running there Larry, the older
3.6.12's had a security bug in them.  You should be running 3.6.12-8
which is the 3.6.24 security patches backported to the Debian stable
dist.  It will stop the syslog() overflow hack and the NLSPATH hack.

-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/<[EMAIL PROTECTED]>
MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>

-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:   | example:
subscribe LIST|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-



LPRng: Deep distress and begging for guidance

2002-01-05 Thread larry

I'm trying to set up an HP DeskJet 500, I have at least three other
printers that I'll need to deal with soon, but I'd feel more confident if
I could get just one to work first.

Relevant details:
Debian2.2(potato), LPRng-3.6.12, ghostscript 5.10

here's a transcript from yet another attempt in which the software seems
to think it works but the printer sits there in lumpish affront

Script started on Sat Jan  5 01:53:34 2002
larry@heron:~$ lpr -V
Version LPRng-3.6.12
This is ascii text, and the gd printer probably doesn't know anything but 
PCL, grrr.
sending job 'larry@heron+11' to lp2@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp2@localhost
sending control file 'cfA011heron' to lp2@localhost
completed sending 'cfA011heron' to lp2@localhost
sending data file 'dfA011heron' to lp2@localhost
completed sending 'dfA011heron' to lp2@localhost
done job 'larry@heron+11' transfer to lp2@localhost
larry@heron:~$ exit

Script done on Sat Jan  5 01:56:43 2002

here's a copy of my /etc/printcap
#:$Id: printcap,v 1.3 2002/01/05 01:21:45 larry Exp $:
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See the printcap(5) manual page for further 
# details.
lp2|HP 500 DeskJet
:lp=/dev/lp0
:sd=/var/spool/lpd/lp
:lf=/var/log/lpd-errs
:mx#0
:sh


What part of the man-pages am I not understanding?

Would it help things if I got or created a PCL file, and sent that to lp2,
I'm fairly sure the printer works since it was able to print from a
windows box earlier, should I switch lp=/dev/lp0 to something else?
dmesg reports lp0: using parport0 (polling)

clues devoutly appreciated, 
larry


-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:   | example:
subscribe LIST|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-