Re: HP JetDirect EX printer problems ...

2003-11-13 Thread Alex de Kruijff
On Wed, Nov 12, 2003 at 05:13:06PM -0500, David Bein wrote:
 Hello ...
 
   I have an older J2383 Jet Direct box which I am trying to setup
 for a FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
 but still I get nothing reasonable. I know the box is working because
 if I telnet to port 9100 on the Jet Direct and type in some lines
 and then quit out of telnet, it prints them. So my problem is not
 the hardware or network connectivity.

There are two senerio's.
1. You have a post script printer. In this case you should be able to
send post script files directly to the printer daemon without having a
filter in betwain.
2. You have a non post script printen. In this case you proberbly can
send plain text files to it. The dos format will print fine and the unix
format result in the first line being printed fine and the rest continue
with a offset.

I'm one of those person in senario 2 and print my files though the
apsfiler to make the format right before sending it to the filter. This
is my printcap:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|laserjet|lj4dith;r=600x600;q=high;c=gray;p=a4;m=auto:\
#:lp=:\
#:mx#0:\
#:sh:\
:rm=192.168.31.31:\
:rp=raw:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/laserjet:\
:lf=/var/spool/lpd/laserjet/log:\
:af=/var/spool/lpd/laserjet/acct:
# APS1_END - don't delete this


   I am confused about whether this should be lp=port@host
 with appropriate filters or some variant of rm=host rp=TEXT.
 None of the software examples I have seen appear to reference port 9100
 and so I am confused as to how it knows what to connect to except
 in the port@host configuration. Neither of these approaches worked.
 
   I am wanting to use this with an old LaserJet 4L PCL class printer.
 Directly connecting it to a parallel port works just fine [using
 apsfilter
 and all the other Postscript conversion software]. I just want to have
 it work from whichever machine using the network both for reasons of
 speed
 and not wanting to have a single box up just to print from some other
 machine.

Check if you can print the defaul format. If you can the you have a
misconfiguration is the apsfilther.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP JetDirect EX printer problems ...

2003-11-12 Thread David Bein
Hello ...

  I have an older J2383 Jet Direct box which I am trying to setup
for a FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
but still I get nothing reasonable. I know the box is working because
if I telnet to port 9100 on the Jet Direct and type in some lines
and then quit out of telnet, it prints them. So my problem is not
the hardware or network connectivity.

  I am confused about whether this should be lp=port@host
with appropriate filters or some variant of rm=host rp=TEXT.
None of the software examples I have seen appear to reference port 9100
and so I am confused as to how it knows what to connect to except
in the port@host configuration. Neither of these approaches worked.

  I am wanting to use this with an old LaserJet 4L PCL class printer.
Directly connecting it to a parallel port works just fine [using
apsfilter
and all the other Postscript conversion software]. I just want to have
it work from whichever machine using the network both for reasons of
speed
and not wanting to have a single box up just to print from some other
machine.

  There was software from HP for this box for Solaris and HP-UX, but
I am running FreeBSD and occasionally Solaris/x86, so I have none
of the software from HP to work with.

  Any help would be most appreciated. Thanks very much.

--David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP JetDirect EX printer problems ...

2003-11-12 Thread Larry Rosenman


--On Wednesday, November 12, 2003 17:13:06 -0500 David Bein 
[EMAIL PROTECTED] wrote:

Hello ...

  I have an older J2383 Jet Direct box which I am trying to setup
for a FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
but still I get nothing reasonable. I know the box is working because
if I telnet to port 9100 on the Jet Direct and type in some lines
and then quit out of telnet, it prints them. So my problem is not
the hardware or network connectivity.
  I am confused about whether this should be lp=port@host
with appropriate filters or some variant of rm=host rp=TEXT.
None of the software examples I have seen appear to reference port 9100
and so I am confused as to how it knows what to connect to except
in the port@host configuration. Neither of these approaches worked.
  I am wanting to use this with an old LaserJet 4L PCL class printer.
Directly connecting it to a parallel port works just fine [using
apsfilter
and all the other Postscript conversion software]. I just want to have
it work from whichever machine using the network both for reasons of
speed
and not wanting to have a single box up just to print from some other
machine.
This is a printcap entry I use for a PostScript enabled LaserJet 5:
lj5|lphome: \
   :lf=/var/log/lj5.err:\
   :lp=:\
   :rm=lj5.lerctr.org:\
   :mx#0:\
   :rp=raw:\
   :sd=/var/spool/lpd/lj5:
Maybe it will help you.

LER

  There was software from HP for this box for Solaris and HP-UX, but
I am running FreeBSD and occasionally Solaris/x86, so I have none
of the software from HP to work with.
  Any help would be most appreciated. Thanks very much.

--David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: HP JetDirect EX printer problems ...

2003-11-12 Thread Dan Nelson
In the last episode (Nov 12), David Bein said:
 I have an older J2383 Jet Direct box which I am trying to setup for a
 FreeBSD 4.9/x86 box. I have tried various things in /etc/printcap,
 but still I get nothing reasonable. I know the box is working because
 if I telnet to port 9100 on the Jet Direct and type in some lines and
 then quit out of telnet, it prints them. So my problem is not the
 hardware or network connectivity.
 
 I am confused about whether this should be lp=port@host with
 appropriate filters or some variant of rm=host rp=TEXT.

Either should work.  I prefer the rm style since that works a bit
better when you have multiple systems printing to the same printer. 
Make sure to telnet to the jetdirect and disable banners, though.

 None of the software examples I have seen appear to reference port
 9100 and so I am confused as to how it knows what to connect to
 except in the port@host configuration. Neither of these
 approaches worked.

What happens?

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]