yes, I’ve used the sniffer and we see that lpd try to connect using port
515 >
Changing port number in this /etc/services we reach some kind of
comunication with port 9100. But only extrange charaters are printed…I
try to investigate a little bit more…
First step is donne. Thanks xtang
David
xtang@qnx.com> > escribió en el mensaje news:eo6jku$d7m$> 1@inn.qnx.com> …
It does not accept a port number from command line, however,
looks like it use the “printer/tcp” services. So I suppose
you can modify your /etc/services, changte that “printer …”
line from port 515 to 9100.
-xtang
Joan Baucells <> j.baucells@nospam.es> > wrote:
According to HP support document the printer is listening only in ports
9100, 9101
& 9102.
I’ve not found how to change this in the printer configuration…
Is there a chance to change the port lpr uses?
By the way, is lpr or lpd who communicate with the printer. I suspect
it’s lpd.
I’ve tried execute “lpd 9100”, but with no success.
Alfred
“Ryan J. Allen” wrote:
lpr uses TCP port 515. Make sure the printer is listening on that
port.
My printcap line is something like this:
friendlyname:
:rm=serverip:lp=:rp=queuename:mx#0
According to this HP support document (
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj02836
) a queuename of “auto” will auto-switch between text and RAW. In your
case, since you want to connect directly to the printer, you would
probably set rm= the IP or hostname of the printer.
–
Ryan J. Allen
ryallen@qnx.com
David Porta wrote:
Hello,
First, I want to thanks for all the answers…
I still cannot print. This is a short description of what I am trying
to do.
Maybe someone can take a look:
The Printer is called Impresora and is in the same network of my Qnx
Neutrino machine (called nodo1).
Impresora is a HP Deskjet 6980 and I would like to use it as network
printer.
I can ping with no problems from nodo1 to Impresora. Also I can
connect with
voyager to it.
Another test (thanks John A. Murphy) is to “print something” using
telnet:
telnet Impresora -9100 and write something…OK
my configuration:
/etc/hosts (with nodo1 and Impresora)
/etc/printcap
Impresora:
:rp:Impresora:sd=/usr/spool/output/lpd/Impresora (the
folder exists)
After
#lpd
#lprc enable all
#lprc start all
#lpr -PImpresora file.txt
I cannot print…
#lprc status
queuing is enabled
printing is enabled
1 entry in spool area
waiting to Impresora to come up
Something wrong??
Thanks,
David
“David Porta” <> DavidPorta@NoSpam.es> > escribi? en el mensaje
news:engnlf$kja$> 1@inn.qnx.com> …
Hello,
I just want to print a snapshot over a TCP/IP printer, say HP
Deskjet
6980…At this point the only thing I can do is to connect with
voyager
to the IP address of the printer. My system is neutrino 6.3 SP1.
I’ve read in the documentation the chapter "Remote printing to a
TCP/IP-enabled printer using lpr but when I try to print, lpr says
“Please
start lpd” and when I start lpd, it stops…I don’t even know if lpr
is
what I need?
Maybe somebody can tell me the steps I have to follow to be able to
print
or a good reference in the documentation…
Thanks
\