> From [EMAIL PROTECTED] Wed Mar 6 10:48:40 2002 > Date: Wed, 6 Mar 2002 12:57:46 -0500 (EST) > From: "Daniel E. Singer" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: LPRng: printing to Canon iR600 Copier/Printer > > On Tue, 5 Mar 2002, Patrick Powell wrote: > > > Find the port that the copier listens on for TCP/IP stuff. > > It's documented somewhere. > > > > Say its port 9100. > > > > Then use the printcap: > > > > lp: > > :lp=ip.address%9100 > > .... > > > > > > and LPRng will open a connection to the port. > > Thank you very much for your response. As I mentioned in my original > post (below), the copier/printer runs an internal LPD spooler, so it > listens on port 515 and only accepts jobs this way. > > If I send a job directly to the printer with: > > lpr -Pprint@pr167 file.ps > > it will print. But we would like to take advantage of LPRng's > filtering and job translation capabilities. Therefore, we would like > to send the job to the LPRng print server, have the job processed, > then sent on to the LPD spooler on the copier/printer.
Summary: You cannot do it with the LPD spooler as the spooler does not report status. Sorry about that. You might be able to do it by running an SNMP query to the printer after the job is done. Note that I have a hack for this right now... pagecount=|/run_snmp_query_to_get_page_count .... and this script has some some of the most HORRIBLE stuff you have ever seen. Blame Jim Trocki at Transmeta ([EMAIL PROTECTED]) for it. Of course you will need the SNMP support modules, etc. etc. to run the SNMP query. I am having a devil of a time trying to package it up so you get everything installed correctly... Patrick ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
