* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 Accessing HP JetDirect Port under Linux? Robert Ulmer
@ 2000-01-12 5:00 ` Adrian Hands
2000-01-12 5:00 ` Rootman
` (4 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Adrian Hands @ 2000-01-12 5:00 UTC (permalink / raw)
Robert Ulmer wrote:
>
> Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
>
> Sorry for posting this in 5 groups
>
> Greetings Robert
>
> --
>
> ***************************************************************************
>
> Robert Ulmer
> hifigraz@gmx.net
> hifi@tu-graz.ac.at
We just open a socket to it and write plain text or postscript!
Works great!
Try port numbers 9100, 9101, etc...
--
panic: attempt to recv circular datagram in square socket
Segmentation fault (core dumped)
#
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 Accessing HP JetDirect Port under Linux? Robert Ulmer
2000-01-12 5:00 ` Adrian Hands
@ 2000-01-12 5:00 ` Rootman
2000-01-12 5:00 ` Bob Hauck
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Rootman @ 2000-01-12 5:00 UTC (permalink / raw)
To: hifigraz
See:
http://www.hp.com/cposupport/networking/software/hpwj_linux_entargz.html
For a Linux JetAdmin for Red Hat type distro (may work on other distro's
too (?)). You can use this to setup a cue and admin the JetDirect.
See: http://www.hp.com/cposupport/networking/support_doc/bpj05785.html
for instructions how to print, again for RedHat distro.
Good luck!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hifigraz@gmx.net wrote:
> Hi there, can anyone tell me how to access a HP JetDirect Port under
Linux?
>
> Sorry for posting this in 5 groups
>
> Greetings Robert
>
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 Accessing HP JetDirect Port under Linux? Robert Ulmer
2000-01-12 5:00 ` Adrian Hands
2000-01-12 5:00 ` Rootman
@ 2000-01-12 5:00 ` Bob Hauck
2000-01-13 5:00 ` J�n Gu�mundsson
2000-02-07 5:00 ` Därr
2000-01-13 5:00 ` Craig Kelley
` (2 subsequent siblings)
5 siblings, 2 replies; 12+ messages in thread
From: Bob Hauck @ 2000-01-12 5:00 UTC (permalink / raw)
On Wed, 12 Jan 2000 17:18:20 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
wrote:
>Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
Ours acts like an lpr.
--
-| Bob Hauck
-| Wasatch Communications Group
-| http://www.wasatch.com/~bobh
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 ` Bob Hauck
@ 2000-01-13 5:00 ` J�n Gu�mundsson
2000-02-07 5:00 ` Därr
1 sibling, 0 replies; 12+ messages in thread
From: J�n Gu�mundsson @ 2000-01-13 5:00 UTC (permalink / raw)
To: Bob Hauck
Bob Hauck wrote:
>
> On Wed, 12 Jan 2000 17:18:20 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
> wrote:
>
> >Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
>
There is a HOWTO on how you can print through Jetdirect printserver, and
when you know how everything works there you can even use Redhat's
printer setup to access the print server.
Unfortunatly I dont remember the name of the HOWTO but you can find it
at www.linux.org
--
The idea that Bill Gates has appeared like a knight in shining armour
to lead all customers out of a mire of technological chaos neatly
ignores the fact that it was he who, by peddling second-rate
technology, led them into it in the first place. (Douglas Adams)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 ` Bob Hauck
2000-01-13 5:00 ` J�n Gu�mundsson
@ 2000-02-07 5:00 ` Därr
1 sibling, 0 replies; 12+ messages in thread
From: Därr @ 2000-02-07 5:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
Bob Hauck wrote:
>
> On Wed, 12 Jan 2000 17:18:20 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
> wrote:
>
> >Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
>
> Ours acts like an lpr.
>
> --
> -| Bob Hauck
> -| Wasatch Communications Group
> -| http://www.wasatch.com/~bobh
I have attached my printcap. You should take a look on lp and rm
configuration options. And you should have a JetDirect Manual, where you
can find something about the BSD spooling System
[-- Attachment #2: printcap --]
[-- Type: text/plain, Size: 3440 bytes --]
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# @(#)etc.printcap 5.2 (Berkeley) 5/5/88
#
# DecWriter over a tty line.
#lp|ap|arpa|ucbarpa|LA-180 DecWriter III:\
# :br#1200:fs#06320:tr=\f:of=/usr/lib/lpf:lf=/usr/adm/lpd-errs:
#lp:lp=/dev/lp0:sd=/usr/spool/lp0:of=/usr/lib/lpf: lf=/usr/adm/lpd-errs
#
# Generic printer:
#lp:lp=/dev/lp1:sd=/usr/spool/lp1:sh
#
# typical remote printer entry
#ucbvax|vax|vx|ucbvax line printer:\
# :lp=:rm=ucbvax:sd=/usr/spool/vaxlpd:lf=/usr/adm/lpd-errs:
#varian|va|Benson Varian:\
# :lp=/dev/va0:sd=/usr/spool/vad:mx#2000:pl#58:px#2112:py#1700:tr=\f:\
# :of=/usr/lib/vpf:if=/usr/lib/vpf:tf=/usr/lib/rvcat:cf=/usr/lib/vdmp:\
# :gf=/usr/lib/vplotf:df=/usr/local/dvif:\
# :vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:
#versatec|vp|Versatec plotter:\
# :lp=/dev/vp0:sd=/usr/spool/vpd:sb:sf:mx#0:pw#106:pl#86:px#7040:py#2400:\
# :of=/usr/lib/vpfW:if=/usr/lib/vpsf:tf=/usr/lib/vcat:cf=/usr/lib/vdmp:\
# :gf=/usr/lib/vplotf:vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:\
# :tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:
#
#lp|panasonic:lp=/dev/lp1:sd=/usr/spool/lp/panasonic:lf=/usr/bin/mail:mc#1:\
# ft=$$c$$p$$r$$f:hl#2:fl#3:ht=$$c$$n$$r$$t:sh:
#
# HP Laser jet plus
#lp|hpj:\
# :lp=/dev/lp1:\
# :sd=/usr/spool/lp1:\
# :mx#0:\
# :of=/usr/spool/lp1/hpjlp:
# :lf=/usr/spool/lp1/hp-log:
#
#lp|Generic dot-matrix printer entry:\
# :lp=/dev/lp1:\
# :sd=/var/spool/lp1/lp:sh:\
# :if=/usr/bin/lpf:\
# :df=/var/spool/lp1/filter.ps:\
# :tf=/var/spool/lp1/filter.ps:\
# :af=/var/spool/lp1/lp-acct:\
# :lf=/var/spool/lp1/lp-err:
### BEGIN apsfilter: ### PS_1200dpi a4 mono 1200 ###
# Warning: Configured for apsfilter, do not edit the labels!
# apsfilter setup Wed Dec 15 19:57:54 GMT 1999
#
ascii|lp1|PS_1200dpi-a4-ascii-mono-1200|PS_1200dpi a4 ascii mono 1200:\
:lp=:\
:rm=printer:\
:sd=/var/spool/lpd/PS_1200dpi-a4-ascii-mono-1200:\
:lf=/var/spool/lpd/PS_1200dpi-a4-ascii-mono-1200/log:\
:af=/var/spool/lpd/PS_1200dpi-a4-ascii-mono-1200/acct:\
:if=/var/lib/apsfilter/bin/PS_1200dpi-a4-ascii-mono-1200:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
lp|lp2|PS_1200dpi-a4-auto-mono-1200|PS_1200dpi a4 auto mono 1200:\
:lp=:\
:rm=printer:\
:sd=/var/spool/lpd/PS_1200dpi-a4-auto-mono-1200:\
:lf=/var/spool/lpd/PS_1200dpi-a4-auto-mono-1200/log:\
:af=/var/spool/lpd/PS_1200dpi-a4-auto-mono-1200/acct:\
:if=/var/lib/apsfilter/bin/PS_1200dpi-a4-auto-mono-1200:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
raw|lp3|PS_1200dpi-a4-raw|PS_1200dpi a4 raw:\
:lp=:\
:rm=printer:\
:sd=/var/spool/lpd/PS_1200dpi-a4-raw:\
:lf=/var/spool/lpd/PS_1200dpi-a4-raw/log:\
:af=/var/spool/lpd/PS_1200dpi-a4-raw/acct:\
:if=/var/lib/apsfilter/bin/PS_1200dpi-a4-raw:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
### END apsfilter: ### PS_1200dpi a4 mono 1200 ###
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 Accessing HP JetDirect Port under Linux? Robert Ulmer
` (2 preceding siblings ...)
2000-01-12 5:00 ` Bob Hauck
@ 2000-01-13 5:00 ` Craig Kelley
2000-01-13 5:00 ` David M. Cook
2000-01-17 5:00 ` Robert Ulmer
5 siblings, 0 replies; 12+ messages in thread
From: Craig Kelley @ 2000-01-13 5:00 UTC (permalink / raw)
Robert Ulmer <hifi@sbox.tu-graz.ac.at> writes:
> Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
:rm=10.0.0.1:\
:rp=raw:
If you have a multi-port (jet direct 500x) then you'll have ports
(raw1 raw2 raw3).
If you have RedHat 6x, be sure to upgrade the lpr package; it's broken
for doing these things.
--
The wheel is turning but the hamster is dead.
Craig Kelley -- kellcrai@isu.edu
http://www.isu.edu/~kellcrai finger ink@inconnu.isu.edu for PGP block
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 Accessing HP JetDirect Port under Linux? Robert Ulmer
` (3 preceding siblings ...)
2000-01-13 5:00 ` Craig Kelley
@ 2000-01-13 5:00 ` David M. Cook
2000-01-13 5:00 ` Robert Ulmer
2000-01-17 5:00 ` Robert Ulmer
5 siblings, 1 reply; 12+ messages in thread
From: David M. Cook @ 2000-01-13 5:00 UTC (permalink / raw)
On Wed, 12 Jan 2000 17:18:20 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
wrote:
>Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
AFAIK, you just treat it like a unix host. In Redhat's printtool you'd
choose "Remote unix (lpd) queue."
Dave Cook
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Accessing HP JetDirect Port under Linux?
2000-01-13 5:00 ` David M. Cook
@ 2000-01-13 5:00 ` Robert Ulmer
2000-01-13 5:00 ` Bob Hauck
2000-01-13 5:00 ` Michael Mitchell
0 siblings, 2 replies; 12+ messages in thread
From: Robert Ulmer @ 2000-01-13 5:00 UTC (permalink / raw)
"David M. Cook" wrote:
> On Wed, 12 Jan 2000 17:18:20 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
> wrote:
>
> >Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
>
> AFAIK, you just treat it like a unix host. In Redhat's printtool you'd
> choose "Remote unix (lpd) queue."
Fine OK I Use the ip as host name, but what do i use as queue name?
Robert ?
>
>
> Dave Cook
--
***************************************************************************
Robert Ulmer
hifigraz@gmx.net
hifi@tu-graz.ac.at
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Accessing HP JetDirect Port under Linux?
2000-01-13 5:00 ` Robert Ulmer
@ 2000-01-13 5:00 ` Bob Hauck
2000-01-13 5:00 ` Michael Mitchell
1 sibling, 0 replies; 12+ messages in thread
From: Bob Hauck @ 2000-01-13 5:00 UTC (permalink / raw)
On Thu, 13 Jan 2000 11:35:14 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
wrote:
[how to use JetDirect with Unix?]
>Fine OK I Use the ip as host name, but what do i use as queue name?
We use LPNG with Magicfilter. The printer's host name is "printer1" and
the queue name seems to be "pcl". The printer is an HP-LJ5mx. Here's an
excerpt from our /etc/printcap:
pcl|HP_LaserJet:\
:sd=/var/spool/lpd/lp\
:mx#0:sh:\
:if=/usr/local/bin/ljet4-filter\
:bq=pcl@printer1:
--
-| Bob Hauck
-| Wasatch Communications Group
-| http://www.wasatch.com/~bobh
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Accessing HP JetDirect Port under Linux?
2000-01-13 5:00 ` Robert Ulmer
2000-01-13 5:00 ` Bob Hauck
@ 2000-01-13 5:00 ` Michael Mitchell
1 sibling, 0 replies; 12+ messages in thread
From: Michael Mitchell @ 2000-01-13 5:00 UTC (permalink / raw)
Robert Ulmer wrote:
>
> "David M. Cook" wrote:
>
> > On Wed, 12 Jan 2000 17:18:20 +0200, Robert Ulmer <hifi@sbox.tu-graz.ac.at>
> > wrote:
> >
> > >Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
> >
> > AFAIK, you just treat it like a unix host. In Redhat's printtool you'd
> > choose "Remote unix (lpd) queue."
>
> Fine OK I Use the ip as host name, but what do i use as queue name?
I have a few Jet Directs, both internals and an external with 3 ports.
I address them as raw, like so:
This one is external and on the 2d port
oki393:\
:sd=/var/spool/lpd/oki393:\
:mx#0:\
:sh:\
:rm=hp500x1:\
:rp=raw2:
This is an internal installed in an HP 4M
hp_svc:\
:sd=/var/spool/lpd/hp_svc:\
:mx#0:\
:sh:\
:rm=hp4m:\
:rp=raw:\
:if=/var/spool/lpd/hp_svc/filter:
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Accessing HP JetDirect Port under Linux?
2000-01-12 5:00 Accessing HP JetDirect Port under Linux? Robert Ulmer
` (4 preceding siblings ...)
2000-01-13 5:00 ` David M. Cook
@ 2000-01-17 5:00 ` Robert Ulmer
5 siblings, 0 replies; 12+ messages in thread
From: Robert Ulmer @ 2000-01-17 5:00 UTC (permalink / raw)
Robert Ulmer wrote:
Thank You, for all your help, my printer works fine now.
Greetings Robert!
> Hi there, can anyone tell me how to access a HP JetDirect Port under Linux?
>
> Sorry for posting this in 5 groups
>
> Greetings Robert
>
> --
>
> ***************************************************************************
>
> Robert Ulmer
> hifigraz@gmx.net
> hifi@tu-graz.ac.at
--
***************************************************************************
Robert Ulmer
hifigraz@gmx.net
hifi@tu-graz.ac.at
^ permalink raw reply [flat|nested] 12+ messages in thread