FreeBSD based, standalone, print server

2012-10-25 Thread Olivier Nicole
Hi,

The network card on my HP 4300 is definitely dead. All I am left with
is a... parallel port!

But the printer is still working fine, printing fast and in good
quality.

I don't want to invest in a new network card though, while I have a
bunchg of old systems lying around.

Solutions are:

1) I set-up a small FreeBSD box, with printer spooler, and all my
   quota stuff;

2) I find a solution to bridge the parallel port and the ethernet
   port. This is more exciting and I keep the quota and spooling on
   the original print server.

Any cue for the option 2?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Steve O'Hara-Smith
On Thu, 25 Oct 2012 16:20:35 +0700 (ICT)
Olivier Nicole olivier.nic...@cs.ait.ac.th wrote:

 2) I find a solution to bridge the parallel port and the ethernet
port. This is more exciting and I keep the quota and spooling on
the original print server.

There are very cheap network print servers available, finding one
with parallel might be harder.

-- 
Steve O'Hara-Smith at...@sohara.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Polytropon
On Thu, 25 Oct 2012 10:59:52 +0100, Steve O'Hara-Smith wrote:
 On Thu, 25 Oct 2012 16:20:35 +0700 (ICT)
 Olivier Nicole olivier.nic...@cs.ait.ac.th wrote:
 
  2) I find a solution to bridge the parallel port and the ethernet
 port. This is more exciting and I keep the quota and spooling on
 the original print server.
 
   There are very cheap network print servers available, finding one
 with parallel might be harder.

I have one of them here: Cisco Systems Linksys Wireless-G
printserver for USB 2.0, model no. WPS54GU2: parallel, USB,
network and antenna. :-)

In worst case, using a PC-based server to expose the system's
lpr (with attached printer filter to parallel port, e. g. via
apsfilter, CUPS, or simply PS without anything else) should be
no problem. It would then appear on the network to be used
as lpr to IP address, just as the original printer would
have been.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Olivier Nicole
On Thu, Oct 25, 2012 at 5:52 PM, Polytropon free...@edvax.de wrote:
 On Thu, 25 Oct 2012 10:59:52 +0100, Steve O'Hara-Smith wrote:
 On Thu, 25 Oct 2012 16:20:35 +0700 (ICT)
 Olivier Nicole olivier.nic...@cs.ait.ac.th wrote:

  2) I find a solution to bridge the parallel port and the ethernet
 port. This is more exciting and I keep the quota and spooling on
 the original print server.

   There are very cheap network print servers available, finding one
 with parallel might be harder.

 I have one of them here: Cisco Systems Linksys Wireless-G
 printserver for USB 2.0, model no. WPS54GU2: parallel, USB,
 network and antenna. :-)

 In worst case, using a PC-based server to expose the system's
 lpr (with attached printer filter to parallel port, e. g. via
 apsfilter, CUPS, or simply PS without anything else) should be
 no problem. It would then appear on the network to be used
 as lpr to IP address, just as the original printer would
 have been.

Not exactly, as I was not using PS (tcp port 515) to connect to the
printer, but telnet to port 9100, that is bi-directional and where I
can read the page count.

I am digging along the line of netgraph, but ther eis no netgraph for
parallel port :(

Thank you,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Steve O'Hara-Smith
On Thu, 25 Oct 2012 18:10:13 +0700
Olivier Nicole olivier.nic...@cs.ait.ac.th wrote:

 I am digging along the line of netgraph, but ther eis no netgraph for
 parallel port :(

If there was it would be a connection to a PLIP network - actually
I'd be surprised if there wasn't.

-- 
Steve O'Hara-Smith at...@sohara.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: FreeBSD based, standalone, print server

2012-10-25 Thread Graeme Dargie


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Olivier Nicole
Sent: 25 October 2012 10:21
To: freebsd-questions@freebsd.org
Subject: FreeBSD based, standalone, print server

Hi,

The network card on my HP 4300 is definitely dead. All I am left with is a... 
parallel port!

But the printer is still working fine, printing fast and in good quality.

I don't want to invest in a new network card though, while I have a bunchg of 
old systems lying around.

Solutions are:

1) I set-up a small FreeBSD box, with printer spooler, and all my
   quota stuff;

2) I find a solution to bridge the parallel port and the ethernet
   port. This is more exciting and I keep the quota and spooling on
   the original print server.

Any cue for the option 2?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

You might be able to dig up a network to parallel port jet direct box fairly 
cheap from a well known auction site.

Regards

Graeme
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Warren Block

On Thu, 25 Oct 2012, Olivier Nicole wrote:


The network card on my HP 4300 is definitely dead. All I am left with
is a... parallel port!


Just for clarity, is that the good kind of HP 4300, a laser printer, or 
the other kind, a multifunction inkjet?



But the printer is still working fine, printing fast and in good
quality.

I don't want to invest in a new network card though, while I have a
bunchg of old systems lying around.

Solutions are:

1) I set-up a small FreeBSD box, with printer spooler, and all my
  quota stuff;

2) I find a solution to bridge the parallel port and the ethernet
  port. This is more exciting and I keep the quota and spooling on
  the original print server.

Any cue for the option 2?


Without a way to reprogram the firmware in the printer, you'll have to 
use a server on a computer.  lpd(8) works, but your later post says you 
want to use port 9100.  It should be possible to use something like 
nc(1) to receive raw data on port 9100 and just dump it to the parallel 
port.  There will be little or no error handling.


Finding an EIO JetDirect would be better, if it is the right kind of 
printer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Olivier Nicole
Hi Graeme,

 You might be able to dig up a network to parallel port jet direct box
 fairly cheap from a well known auction site.

Yes, but shipment to Thailand is like 4 times the price of the card :(

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread Olivier Nicole
HI Warren

 The network card on my HP 4300 is definitely dead. All I am left with
 is a... parallel port!


 Just for clarity, is that the good kind of HP 4300, a laser printer, or the
 other kind, a multifunction inkjet?

That's a good old fashioned HP LaserJet 4300 dt(n) (it has lost the n
with the network ability).

 But the printer is still working fine, printing fast and in good
 quality.

 I don't want to invest in a new network card though, while I have a
 bunchg of old systems lying around.

 Solutions are:

 1) I set-up a small FreeBSD box, with printer spooler, and all my
   quota stuff;

 2) I find a solution to bridge the parallel port and the ethernet
   port. This is more exciting and I keep the quota and spooling on
   the original print server.

 Any cue for the option 2?


 Without a way to reprogram the firmware in the printer, you'll have to use a
 server on a computer.  lpd(8) works, but your later post says you want to
 use port 9100.  It should be possible to use something like nc(1) to receive
 raw data on port 9100 and just dump it to the parallel port.  There will be
 little or no error handling.

Thanks, that is what I am looking for.

Best regards,

Olivier

 Finding an EIO JetDirect would be better, if it is the right kind of
 printer.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD based, standalone, print server

2012-10-25 Thread RW
On Thu, 25 Oct 2012 16:20:35 +0700 (ICT)
Olivier Nicole wrote:

 Hi,
 
 The network card on my HP 4300 is definitely dead. I don't want to
 invest in a new network card though, while I have a bunchg of old
 systems lying around.



Have you considered the cost of powering an additional computer?

If you plan on leaving it on most of the day, it's likely to be more
expensive than replacing the network card.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org