> From [EMAIL PROTECTED] Fri Aug 10 17:09:37 2001
> Date: Fri, 10 Aug 2001 17:09:35 -0700 (MST)
> From: David Bear <[EMAIL PROTECTED]>
> Subject: software jetdirect
> To: Patrick Powell <[EMAIL PROTECTED]>
>
>
> Are you aware of any software base jetdirect daemons? I have some really
> stupid people to deal with when it comes to printing. They will only send
> print jobs to jetdirect interfaces. So I thought if I could find a
> software base jetdirect daemon, I could then spool those jobs to lprng
> controlled printers...
>
>
There is a program in the LPRng utilities stuff that emulates
a jetdirect. Somewhere. I wrote it in a hurry once.
It simply sits on a socket, gets a file, and then runs
LPR to send the file:
$port = new socket( bind to port 9100 );
while( $connection = accept( $port ) ){
my $tempfile = new FileHandle( "|/usr/local/bin/lpr -P$pr");
die "cannot make lpr" if( not $tempfile )
while( read( $buffer, 1024, $tempfile ) ){
print $tempfile $buffer
}
close($tempfile);
}
exit 0;
-----------------------------------------------------------------------------
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 <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------