Re: LPRng: Cups LPRng
Hi Craig, OK that's simple but will the cups clients also be abler to remove jobs and see the queue with their native cups versions of 'lpq' and 'lprm' ? cheers ~christoph On Fri, 4 Feb 2005, Craig Small wrote: On Mon, Jan 24, 2005 at 12:37:13PM +0100, Longina Przybyszewska wrote: Does anyone has experience with CUPS client and LPRng server? I done this before. Cups clients should produce a job and do all filtering and option setting, than send a job as 'raw' to the printer server who does all accounting and printing after recognizing type of job . I'm confused because you say the cups clients filter then send the job as raw. I assume that the cups clients filter and send the cooked job to the lprng server which should do no more further filtering. It's pretty simple to do. First setup lprng to talk to the printers and make sure you can remotely print in lpd.perms. Then tell the cups clients there is a lpd printer over on that LPRng server... Make sure lprng configuration doesn't have any filters. If you do have some clients that need filters then have a raw printer item that talks to the printer itself and a filtering printer that bounces the job to the raw printer item. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer csmall at : enc.com.au ieee.org debian.org - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRng MAILING LIST The address you post from or your Reply-To address 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. 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, call Patrick Powell or one of the friendly staff at Astart Technologies for help. Astart also does support for LPRng. Also, check the Web Page at: http://www.lprng.com for any announcements. Astart Technologies (LPRng - Print Spooler http://www.lprng.com) 6741 Convoy Court San Diego, CA 92111 858-874-6543 FAX 858-751-2435 - best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ -BEGIN PGP PUBLIC KEY BLOCK- Version: 2.6.3in mQCNA0ICcjUAAAEEAKwMMTs9jwmPQHeGlKoKJyBw/fM2l5jFM1NPitsjqN2FrImC iQa7BlMihuigRYflKqUxxNYuPocRrKb9w0appyDEyLh1qXfX8kIizRf7zjl5qKh3 w6Ke1nEG+3bryjIWQIO9i8yB7OP1cUgIcG0w+1ObN8+QsxfFYXHJYPyCFljXAAUR tCljaHJpc3RvcGggYmV5ZXIgPGNocmlzdG9waC5iZXllckBkZXN5LmRlPokAlQMF EEICcpBxyWD8ghZY1wEBYx8D/3tmAlMlyfKuN4QwaKGe7nFEJGxmM3EbKmuehE2T KLxnhto3dKyqWQUPB7UT4yiaayx1JsZhl61OU8r2tN8rv+EWagPjgCPK7MKz9ogm FZVXSShFYn8vImds+TB3UmMaIBg2mF1ds581rvNJyivia0x4lXP9UDAkt7xgHMLx +QCG =Lfvg -END PGP PUBLIC KEY BLOCK- - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRng MAILING LIST The address you post from or your Reply-To address 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. 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, call Patrick Powell or one of the friendly staff at Astart Technologies for help. Astart also does support for LPRng. Also, check the Web Page at: http://www.lprng.com for any announcements. Astart Technologies (LPRng - Print Spooler http://www.lprng.com) 6741 Convoy Court San Diego, CA 92111 858-874-6543 FAX 858-751-2435 -
Re: LPRng: Datafile and incoming_control_filter
Hi Stefan, I'm not sure but I think the control file is read from STDIN and the output written to STDOUT is taken as the 'transformed' controlfile (?) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On 4 Sep 2003, Gruber Stefan wrote: Hi! Hmm, well now I've successfully build a control_filter, not with perl but with sh script. I thought I could remodel given -Z options and write via echo bblabla $controlfile. Everythings going fine but of course: my controlfile will be ignored, lprng makes a new controlfile and my work was for nothing. I've read the cookbook again and again but I can't make it out how to rewrite the controlfile. Okay, a single question: how can I rewrite the controlfile via SHELLSCRIPT-Filter?? Here's my printcap: stg-test:\ :rm=[IPADDRESS]:\ :rp=mp:\ :mx#0:\ :filter=/usr/lib/filters/lpf:\ :filter=/usr/libexec/filters/ifhp:\ :ifhp=model=pcl :control_filter= -$ /usr/lib/filters/remake_opts.sh $-k $-d $A $C $t $h $J $n $P $Z :\ :sd=/usr/spool/lpd/stg-test:\ :force_localhost:\ :sh: Thanx in advance stg Am Die, 2003-09-02 um 19.45 schrieb [EMAIL PROTECTED]: Hi Stefan, the datafile is in the spool directory (which is defined in the 'printcap' or globally in the 'lpd.conf' file). See the manual for the incoming_control_filter option or read it online: http://www.lprng.com/LPRng-HOWTO/LPRng-HOWTO.html#INCOMINGCONTROLFILTER best regards ~christoph # This e-mail message has been scanned for Viruses and Content by MailMarshal For more information please visit www.marshalsoftware.com # - 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. - - 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. -
Re: LPRng: Datafile and incoming_control_filter
Hi Stefan, the datafile is in the spool directory (which is defined in the 'printcap' or globally in the 'lpd.conf' file). See the manual for the incoming_control_filter option or read it online: http://www.lprng.com/LPRng-HOWTO/LPRng-HOWTO.html#INCOMINGCONTROLFILTER best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On 2 Sep 2003, Gruber Stefan wrote: Hi everybody! Got a little question: how can i read the datafile produced by lprng? I've tried every $Variable vom 0-99 and A-Z a-z, I cannot get the information where my datafile is placed (Path/Name). In another posting here I saw that someone wrote to the controlfile in an incoming_control_filter but I couldn't find that routine. Thx a lot stg # This e-mail message has been scanned for Viruses and Content by MailMarshal For more information please visit www.marshalsoftware.com # - 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. - - 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. -
Re: LPRng: PDF problems
Hi Keith, I think this has changed from version 3.5.1 or so, but in 3.5.1 or later you should find this in the ifhp.conf: ... ## Set console message during job ## This is also used as a unique string to identify job ## values you want - \%s{n} is user name - #pjl_ready_msg = \%s{n} \%s{J}:\%s{P} pjl_ready_msg = \%s{n} ## Set console message when job is done ## Set this to empty string if you do not want a ready message ## at end of job #pjl_done_msg = Done: \%s{n} \%s{J}:\%s{P} pjl_done_msg = I'm ready e# maximum number of characters on the console display for messages pjl_display_size= 20 ## expand the following on startup, after the builtin pjl_init=[ ustatus teoj ] ## expand the following on termination, after the builtin pjl_term=[ ustatus teoj ] ... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Thu, 6 Mar 2003, Keith Rinaldo wrote: I know this has been asked and answered but I can't seem to find it in the archvies... how *does* one go about doing the voodoo to edit and/or turn off the PJL display message (on HP8150s)? Optimally I'd like to see our printers simply show Processing Job, Idle or Done without usernames or jobnames thrown in there... if that's too much to ask maybe just turn the silly thing off altogether. Thanks. --- Keith Rinaldo Systems Administrator College of Engineering University of Nevada, Las Vegas - Original Message - From: Raymond M. Reskusich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 8:01 AM Subject: Re: LPRng: PDF problems We had the 79.00FE problems with pdfs on our hp8150s. Turning off the job status string to the LCD display fixed the problem. It was actually the format of the job name acrobat sent that caused the problem. This may be fixed in more recent firmware. Raymond M. Reskusich On Thu, Mar 06, 2003 at 10:26:13AM -0500, Ryan Novosielski wrote: PDF's make our printers do stupid things... 79.00FE errors, print SLOWLY (about 1 page every 40 seconds or more), etc. Has anyone conquered or at least mitigated this problem at all? My printers are all 4000 and 8000 series. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 - 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. - - 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. - - 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. -
Re: LPRng: PDF problems
Hi Ryan, we had similar problems with the 8000er series and it was fixed with a rom update that we got from the HP website... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Thu, 6 Mar 2003, Ryan Novosielski wrote: PDF's make our printers do stupid things... 79.00FE errors, print SLOWLY (about 1 page every 40 seconds or more), etc. Has anyone conquered or at least mitigated this problem at all? My printers are all 4000 and 8000 series. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 - 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. - - 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. -
Re: LPRng: Printer taking a long time to be found.
Hi Dion, This is with LPRng 3.8.3: [pcx1839] ~ $ time lpq -Pr02ps10 Printer: [EMAIL PROTECTED] '2b_200_p1' (dest [EMAIL PROTECTED],spoolb) Queue: no printable jobs in queue Status: job 'cfA921pcx1839.desy.de' removed at 14:34:13.585 Printer: [EMAIL PROTECTED] 'Pha_4400 PS_2 4 A4 p Operators, 3975, test model' Queue: no printable jobs in queue Status: job '[EMAIL PROTECTED]' removed at 09:01:44 Filter_status: (of) done at 09:01:44.586 lpq -Pr02ps10 0.06s user 0.00s system 34% cpu 0.175 total [pcx1839] ~ $ time echo test | lpr -Pr02ps10 echo test 0.00s user 0.00s system 0% cpu 0.011 total lpr -Pr02ps10 0.07s user 0.00s system 29% cpu 0.236 total What does 'strace lpq -Pprinter' give back, with a delay as big as you describe it it should be easy to figure out what's going on (?) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Thu, 27 Feb 2003, Dion Gullotta wrote: First some specs. Redhat 7.3 Dell Poweredge 1600SC print server. Ricoh Afficio 220 printer. LPRng-3.8.20 No GUI stuff at all (so no gui printer config programs available) The problem i'm having is that when performing any printer functions it takes a long time for them to happen. It takes approx 10-12 seconds for any printer related thing to happen, on both workstations and the server. For example lpq, lpstat, printing, browsing the printers in windows explorer, viewing the printer properties in windows, viewing the printer queue in windows. For everything there's this 10 second delay. Everything prints just fine, but theres a 10 second delay which our users are getting annoyed with. Here's a copy of my /etc/printcap ricoh220:|Ricoh 220 Afficio:\ :sh:rp=auto1:rm=ricoh220:\ :af=acct:lf=log:\ :sd=/var/spool/lpd/%P: And the output of lpq Printer: [EMAIL PROTECTED] (dest [EMAIL PROTECTED]) Queue: no printable jobs in queue Status: job '[EMAIL PROTECTED]' saved at 11:40:01.707 Printer status : Idle.(Ready .) Online/Offline : Online. No Entries. Things i've tried: I can telnet to the printers name/ip address and the connection occurs almost instantly. This is on port 9100 or 151 or just the regular Telnet port (from which I end up at a Maintenance Shell). Pinging at about 1 millisecond. I've tried putting the ip directly into the /etc/printcap but that had no effect. Can anyone possibly shed some light on what might be the cause of this? Thanks Dion Gullotta Far Edge Technology p. 02 99553640 f. 02 99547994 http://www.faredge.com.au - 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. - - 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. -
Re: LPRng: hp4050 banner pages
Hi Sly, shouldn't be a problem though, this is my configuration, works just fine: [server] ~ $ lpc printcap printer Printer: printer@server printer :ab :bp=/usr/spool/filters/psbanner :du#16 :filter=/usr/spool/ifhp/libexec/filters/ifhp :ifhp=model=hp4050 :lp=printer%9100 :mx#0 :of=/usr/spool/ifhp/libexec/filters/ifhp best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 19 Feb 2003, Sly Upah wrote: Sorry if this has been asked before but I'm new to LPRng. I have an hp4050 printer and the problem is that I can configure my printcap to give me two header pages (1 from the lpd on the 4050 and 1 from the banner program) or none. What I want is just the output from psbanner and of course the file thats to be printed. Here is my printcap: du242-lj4050|du242-lj4050.ait # :[EMAIL PROTECTED]: :rm=some.dept.iastate.edu: # :lpd_bounce=true: :af=acct: :ar: :achk: # :as=|/usr/local/libexec/filters/accounting.pl start: # :ae=|/usr/local/libexec/filters/accounting.pl end: :as=jobstart $H $n $P $k $b $t: :ae=jobend $H $n $P $k $b $t: :auth=kerberos5: :[EMAIL PROTECTED]: :sd=/var/spool/lpd/%P: # :ab: :sh: :generate_banner: :ifhp=model=hp4050,pagecount=pjl,status@: :bp=/usr/local/libexec/filters/psbanner: :if=/usr/local/libexec/filters/ifhp: :of=/usr/local/libexec/filters/ifhp: :mx#0: :ps=LJ: :pw#80: :pl#66 I have been thru many permutations on these settings and can't seem to find the right ones. Any help would be most appreciated. Thanks. Sly Upah - 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. - - 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. -
Re: LPRng: Out of paper handling for jetdirect printer
did you set 'send_try' ? # Purpose: numbers of times to try sending job - 0 is infinite # default send_try=3 (INTEGER) send_try=0 best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 10 Feb 2003, David Johnson wrote: Hi all, We have recently moved our printer handling from an AIX system to a new Linux box with LPRng 3.8.19. Most of our printers are jetdirect connected and are working great. However, one of our printers is used for a large group of nightly reports and has run out of paper in the middle of the night a few times. Each time it does, we lose jobs. I have tracked this down to LPRng apparently times out after 20 minutes and moves on to the next job. The only timeout related setting that is not defaulted in lpd.conf is stalled_time=300. The print queue is defined as: 1001gp2:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/1001gp2:\ :af=/var/spool/lpd/1001gp2/1001gp2.acct:\ :sh:\ :lp=|/usr/share/printconf/util/jetdirectprint: I have seen some additional timeout and retry values in lpd.conf but I'm not sure what combination we should employ to handle this situation. Can someone point me to a document or describe how the parameters are related and what settings we should use to provide the best environment for all of our printers and also handle this situation? Many thanks! dave - 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. -
Re: LPRng: vendor provided ppd file
hmm, AFAIK there is now default way to integrate a vendor ppd file in the ifhp filter. I would propose to try a printer type that is somehow similar to your new machine and then try out what is running and what is not. You can then put parts of the ppd file in your printer description and retry :-) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 10 Feb 2003 [EMAIL PROTECTED] wrote: I have a vendor provided ppd file that is not in the driver list. How do I build a print queue, or change one that I have to use that PPD file? Thanks Jeremy Schleicher May Department Stores Company. - 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. - - 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. -
Re: LPRng: HP Color LJ 4500 blank pages
Hi Dan, hmm, we don't have those anymore for quite a while and I never worked on them myself :-( But I know that you have to push the menu button for quite a while until the 'reset menu' appears. This had to be done after the replacement of the ITB so maybe this will also rest the counter (?) Did you try to reset the pagecount in the service mode ? Someone else who runs HP4500s should know, come on guys ! cheers ~christoph On Wed, 5 Feb 2003, Dan Kirkpatrick wrote: Thank you... it does appear to be the printer some of the time since some configuration prints from the printer printed blanks as well. I've tried a cold reset and that didn't reset the drum life low message. Now that I have a printout, it reports 67% left of transfer, 15% left of drum. So... Is there a way to reset the sensor on the drum and/or transfer kit? or reset what the printer thinks? I dont see any resets on the readout menus, or through the jet direct web interface. I'm not sure what the hardware problem may be since there's still life left on both pieces. Typically the first printout every morning results in spewing blank pages until I turn it off. Turning it back on and resetting the queue usually fixes it, but this morning I did that 5 times and still printed blanks. You mention So you can either reset the pagecount in the service menu or reset the ITB unit: pull out the middle draw and the ITB (transfer belt) is right in front of u. I dont set anywhere to reset the pagecount in a service menu. And how do I reset the ITB unit? I pulled it out and didn't see anything obvious to reset other than cleaning the toner density sensor. The service manual didn't provide any clues either. Thanks so much! At 03:31 AM 2/3/2003, you wrote: Hi Dan, I think this is a known hardware problem of the printer :-( It thinks the ITB transfer kit needs to be replaced. The percentages displayed are estimates from the formatter while the actual indication of life over comes from a sensor on the ITB assembly itself. So you can either reset the pagecount in the service menu or reset the ITB unit: pull out the middle draw and the ITB (transfer belt) is right in front of u. Maybe a cold reset would be fine also (hold the start button while powering on the printer. hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Fri, 31 Jan 2003, Dan Kirkpatrick wrote: All of a sudden most of the time people print to a HP Color LJ4500DN, it just keeps printing blank pages... the only way I can get it to work is turn it off, turn it on, reset the queue, and maybe it prints then... just to repeat again. LPRng and printcap entry havent changed, samba has recently been upgraded, but am not sure if it coincides. I've set the idle-timeout on the printer to 1200 sec to avoid the long warmup problem, but that gets reset to 90 every time the printer gets turned off. They're printing through samba-2.2.7a-1 and LPRng-3.6.26-1 I'm not sure I understand all of the extra settings for waitend interval, rw_timeout, socket linger... Any suggestions? Thanks! Here's the printcap entry for the printer: ##LPRNGTOOL## DIRECT POSTSCRIPT 600x600 letter {} PostScript Default 1 201hpcolor :sd=/var/spool/lpd/201hpcolor :cm=HP Color Laserjet 4500 DN :ml=0 :mx=0 :as=|/usr/libexec/filters/accounting.pl start -Tdebug :ae=|/usr/libexec/filters/accounting.pl end -Tdebug :af=/var/spool/lpd/201hpcolor/acct :lf=/var/spool/lpd/201hpcolor/log :cd=/var/spool/lpd/201hpcolor :lp=201hpcolor%9100 :ifhp=model=hp4500,status@ :ifhp=waitend=ps :ifhp=waitend_interval=10 :send_job_rw_timeout#6000 :socket_linger#600 :ifhp=of_options=sync pagecount waitend :if=/usr/libexec/filters/ifhp :of=/usr/libexec/filters/ifhp :filter=/usr/libexec/filters/ifhp : === Dan Kirkpatrick [EMAIL PROTECTED] Computer Systems Manager Department of Physics Syracuse University, Syracuse, NY http://www.physics.syr.edu/help/Fax:(315) 443-9103 === - 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
Re: LPRng: restricting direct access to specific queue
Hi Philipp, this should be easily done by using lpd.perms, you can set the perms for individual printer too there by using the 'PRINTER=' entry in combination with 'SERVICE=' and 'HOST='... Well please read the appropriate section in the HOWTO cheers ~christoph On Wed, 5 Feb 2003, Phillip Stark wrote: Hi all, I'm wondering if anyone can help with the following situation. I have 2 print queues, say, q1 and q2. I would like users to send jobs to q1 which will do some processing on the job and then pass it to q2 which will send it off to the printer. That part's no problem. The part I'm getting stuck on is that I'd like to prevent users from printing directly to q2. lpd.perms seems to have some options that would help but I don't want access restrictions to apply to all queues just specific ones. Is there a printcap option I'm missing that would help here? What about a filter; is there info in the control file that would allow a filter to distinguish between a job that was passed to q2 from q1 and a job that was sent directly to q2? Thanks, Phillip -- * Phillip Stark Instructional Computing Lab Operations Manager University of California, Santa Cruz Got a question? Get an answer: http://ic.ucsc.edu/help * - 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. - - 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. -
Re: LPRng: One Print Queue - Multiple Network Printers
Hi Patrick, see the following configuration for a loadbalancing queue type of thing: on the client: [pcx1839] ~ $ ~lp/sbin/lpc printcap pubcp1 Printer: pubcp1@pcx1839 pubcp1|pubcp1d|2b_131_c :mx#0 :rm=spoola,spoolb :rp=pubcp1 :sd=/usr/spool/lp/request/pubcp1 on the server: the incoming queue: [printsrv2] ~lp/test $ lpc printcap pubcp1 Printer: pubcp1@printsrv2 pubcp1|pubcp1d :ab :chooser=/usr/spool/lpd/bin/check_idle :cm=Pha_7700 PS_2 4 A4 duplex paper, Operators, 5005, paper/foil-automatic :du#16 :lpd_force_poll :lpd_poll_time=60 :max_status_size=1 :mx#0 :sv=pubcp1a,pubcp1b the subqueues: [printsrv2] ~lp/test $ lpc printcap pubcp1a Printer: pubcp1a@printsrv2 pubcp1a :ab :bp=/usr/spool/filters/psbanner :du#16 :filter=/usr/spool/filters/ifhp.loadbalance -Tletter2a4,duplex,a4,,noadjcolor :force_localhost :ifhp=model=phaser7700 :lp=515@pubcp1a :lpd_bounce :lpd_force_poll :lpd_poll_time=60 :max_status_size=1 :mx#0 :of=/usr/spool/ifhp/libexec/filters/ifhp :ss=pubcp1 :translate_incoming_format=lf The chooser script: is called by the lpd and returns the name of a subqueue so you can do anything inside it from simple roundrobin to whatever :-) One known bug to mention: Often the returned queue does not get accepted and you end up with blabla not a valid subserver (works on the second try then, so just a delay of a few seconds), I looked in the source but wasn't clever enough :-( [printsrv2] ~lp/test $ cat /usr/spool/lpd/bin/check_idle #!/bin/sh #script for loadbalancing, is called by lpd and checks if a named printer is idle #C. Beyer 11-00 #rm /tmp/check_log #touch /tmp/check_log #exec 2/tmp/check_log #set -x HOME=/usr/spool/lp HPNP=$HOME/bin/hpnp PING=/usr/sbin/ping PRN_OPT=$HOME/model/prn_options PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin PWD=`pwd` QUEUE=`basename $PWD` PRINTERS=`set | grep :sv= | awk -F= '{print $2}' | sed s/,/ /g` JOB=`set | grep CONTROL | awk -F= '{print $2}' | sed s/A//` #for i in `/usr/spool/lp/sbin/lpc printcap $QUEUE` #do #echo $i | sed s/ // | grep = #done if test -s .new.order.$QUEUE then NEWORDER=`cat .new.order.$QUEUE` PRINTERS=$NEWORDER fi for i in $PRINTERS do if test -x $PRN_OPT/$i then . $PRN_OPT/$i else echo $i: Warning: Missing $PRN_OPT/$i log exit 1 fi case $PRN_NETHW in *HPip*) SNMPREQUEST=$HPNP $PRN_ADDR;; *TeK*) SNMPREQUEST=$HOME/bin/lpq -P9100@$PRN_ADDR;; *) echo $i: unknown PRN_NETHW type: $PRN_NETHW log;; esac if $PING $PRN_ADDR 1 /dev/null then case `$SNMPREQUEST` in *: ready to print* | *: no jobs queued* | *no entries* | *toner/ink low* | *POWERSAVE EIN* | *Energy Star Mode active - Press OK button * | *Phaser 7700DN Ready To Print.*) echo $i rm .new.order.$QUEUE NEWORDER=`echo $PRINTERS | sed s/$i//` $i echo $NEWORDER .new.order.$QUEUE echo `date` $JOB forwarded to $i log # echo NEWORDER = $NEWORDER log exit 0;; *) ;; esac fi done best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote: Does anyone know how I might go about setting up one print queue to use multiple network printers?? I have one queue/printer working on this machine at the moment and the person I am building the print server for wants to still only have one print queue but have the queue use 3 or 4 printers. They want it so that if printer one is busy printer two will take the job and print it and so on Any help would be appreciated... Probably a good idea to mention the print server is a Redhat 7.2 machine running LPRng-3.7.4-28.1! Patrick [EMAIL PROTECTED] Everyone has a photographic memory, some people just don't have film! - 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. - - YOU MUST BE A LIST MEMBER IN ORDER
Re: LPRng:
Hi Rbaig, SAMBA implements the server message block protocol for LINUX it is mainly used to let a LINUX box behave as a (better) windows server. But ther is no problem in using it the other way round, there is a couple of client utilities in the SAMBA suite you can use to talk to WINDOWS machines. For your purpose take a look at: http://pachome1.pacific.net.sg/~harish/linuxprint.html I think this is a good description how to solve your problem. Your printcap in general looks OK for me, try to put :filter=/usr/lib/ifhp/ifhp instead of: :if=/usr/lib/ifhp/ifhp This is a LPRng extension and means mainly that the filter will be used for any incoming data format. If this still does no good, well try :translate_incoming_format=lf:\ Just for in case your incoming jobs have the 'binary flag' in the control file set... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: Dear sirs, This is a extremely newbie question (from a newbie user), but after reading a lot (LPRng, printcap, IFHP, samba) and make my mind a mess, I decided to submit my problem to this mail list to try to obtain a guideline to solve it. Thanks in advance for your attention. Distro: debian 3.0r1 Kernel: 2.2.20-idepci LPRng: 3.8.10-1 (debian pkg) IFHP: 3.5.7-2 (debian pkg) Samba: 2.2.2-5 (debian pkg) I want to use a printer, from my Linux box, (LaserJet 1200) which is a service from an NT domain (to where I have access as user) but at this point Im totally lost: I dont know where to start form: shall I setup Samba server (or it is not necessary) where :lp= has to point? (well, no idea ) Ive found a lot of info to use a printer from win environment shared from a Samba Linux box, but not vice versa) A part from that I have some more specific questions: a) Why lprngtool uses master-filter instead of ifhp? (I realized that when I use ifhp: sentences at /etc/printcap, lprngtool complains) b) I tried to start from a simpler problem: to set up a local DeskJet 670c printer, but I didnt succeed in printing further than plain text files. I attach the /etc/printcap code regarding this printer, I would appreciate any corrections or suggestions: lp :sd=/var/spool/lpd/lp :sh :ml=0 :mx=0 :af=/var/spool/lpd/lp/acct :lf=/var/spool/lpd/lp/log :cd=/var/spool/lpd/lp :lp=/dev/lp0 :ifhp=model=hpdj650,a4,portrait :if=/usr/lib/ifhp/ifhp : Thanks again, and sorry for so newbie questions. - 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. - - 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. -
RE: LPRng: RE: How do I get the @#$$% job name to show instead ofsmbprn.yad a.yada?
Hey folks, sorry I didn't quite follow the discussion :-( did you try '-J' ? in general this should result in something like: [pcx1839] / $ echo test | lpr -Ptestp5 [pcx1839] / $ lpq Printer: testp5@pcx1839 (printing disabled) (dest testp5@spoolc,spoola) Queue: 2 printable jobs Server: no server active Status: job 'chbeyer@pcx1839+78' removed at 13:57:34.865 Rank Owner/ID Class Job Files Size Time 1 root@pcx1839+273 A 273 (stdin) 5 13:02:13 [pcx1839] / $ echo test | lpr -J name -Ptestp5 [pcx1839] / $ lpq Printer: testp5@pcx1839 (printing disabled) (dest testp5@spoolc,spoola) Queue: 2 printable jobs Server: no server active Status: job 'chbeyer@pcx1839+78' removed at 13:57:34.865 Rank Owner/ID Class Job Files Size Time 1 root@pcx1839+273 A 273 (stdin) 5 13:02:13 2 root@pcx1839+280 A 280 name 5 13:02:38 To use this with SAMBA try something like: print command = /usr/spool/lp/bin/lpr -r -J%J -m%m -U%U -P%p %s Don't forget the '' because filenames coming from windows tend to have blanks in their names which will kill your 'print command'... hope this helps (?) ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Fri, 17 Jan 2003, Van Sickler, Jim wrote: Good point. I'm not all that happy with the Lanier job processing (aside from the 2138's intermittent trips into la-la land). The only time the Document Name ever shows up is when I send jobs to it via the Samba/LPRng route. The following drivers/ports are in use, but NEVER result in the Document Name being displayed in the History: RPCS (Ricoh's native driver) via LanMan or SmartNet ports PS2/PS3 via LanMan or AdobePS ports -- I just created a printer on the Win2k box using the PS3 driver, through a Standard TCP/IP port; the correct Document Name (Test Page) info shows up... xxx.xxx.xxx.24 port name is lp. Device Type is Ricoh Generic Network Printer But...the PS3 driver (always) screws up the timestamp in the process. The History shows 00/00/00, and the console/web log shows --- instead of YY/MM/DD. This occurs no matter which port I use-LanMan, SmartNet, TCP/IP. It looks to me like the Ricoh/Lanier folks have cobbled the drivers together well enough to ship, but there's still a lot of features to be worked out. I haven't tried the PCL drivers yet...I can hardly wait to see what features will divulge themselves when I do... -Original Message- From: Paul Tykodi [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:31 AM To: [EMAIL PROTECTED] Subject: RE: LPRng: RE: How do I get the @#$$% job name to show instead of smbprn.yad a.yada? Hello Joel and Jim, One question to ask the Lanier folks would be where the print controller of the copier/printer collects the job name from when it processes a job. Your discussion to date has assumed that it is getting the data from the LPD daemon running on the print controller parsing the control file generated by LPRng when the job is transferred through Samba to the printer. It is also possible the accounting function of the copier/printer is reading header information (PostScript or PJL) in each actual received job to find the user instead of the LPRng control file. If this turned out to be true, it would explain why the changes you were testing didn't have any effect at the copier/printer. Just a thought... Best Regards, /Paul -- Paul Tykodi National Product Manager Print 4Sight Inc. p: 603-431-0606 x115 f: 603-436-6432 E-mail: [EMAIL PROTECTED] Special Note: On November 30th, 2002, Print 4Sight Inc. acquired the business assets and business activity of Intermate US Inc. Print 4Sight Inc. as an official North American distributor will continue to sell and support Intermate and Praim Printing products from current offices in Portsmouth, NH, USA. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joel Hammer Sent: Thursday, January 16, 2003 8:05 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: LPRng: RE: How do I get the @#$$% job name to show instead of smbprn.yad a.yada? Question: I am not sure what you mean by the Lanier displaying anything. Is there a display on the printer? Is this a network printer that talks to the server? This may be an idiosyncracy of the lanier. Suggestion: Is there a way to modify the print command in smb.conf so that it mv's the job from samba.xxx to ProperJobName, and then print
Re: LPRng: banner page on network printer
Hi Tomas, try to set the ':ab:\' flag and maybe the ':lpd_bounce:\' flag... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 13 Jan 2003 [EMAIL PROTECTED] wrote: Hello, I am having trouble to set up the banner page on the network printer. I succeeded for the local one by specifying in the /etc/printcap file: lp|hplj4l|HP Laserjet 4L:\ :lp=/dev/lp0:sd=/var/spool/lpd/hplj4l:\ :bp=/usr/lib/lprng/filters/pclbanner:\ :pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/ljet4l-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: This works nice. So I tried for the network printer: ncprint|nc|Remote :lp=:\ :rm=ncprint.troja.mff.cuni.cz:\ :bp=/usr/lib/lprng/filters/pclbanner:\ :rp=:\ :sd=/var/spool/lpd/remote:\ :lf=jmlog:\ :mx#0:\ :bk: But it doesn't work, to jobs are printed but without the banner page. In addition, no error message appears in the specified log file. I am printing via lp -d ncprint file How can I set up the banner page on the network printer ? Or is the only way to do it on the printer itself ? I would prefer the software solution, since the printer is governed by a linux box server (running samba). Thanks a lot, regards Tomas E-mail : [EMAIL PROTECTED], [EMAIL PROTECTED] - 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. - - 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. -
Re: LPRng: Remaining Data Files in Printer Queue
Hi Imacat, I use 3.8.3 and I definetely don't see the described behaviour, are you sure the save_jobs... flag is disabled ? [printsrv3] ~ $ grep done ~lp/etc/lpd.conf # Purpose: keep the last NN done jobs for status purposes # default done_jobs= 1 (INTEGER) done_jobs= 0 # Purpose: keep done jobs for at most max age seconds # default done_jobs_max_age= 0 (INTEGER) # Purpose: save job when done # default save_when_done@ (FLAG off) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Thu, 19 Dec 2002, imacat wrote: Dear all, I don't know whether someone has reported this. I'm currently using LPRng 3.8.19 now. I have tested this from 3.8.3 to 3.8.19, and this problem remains. If I use: == done_jobs= 0 done_jobs_max_age= 1 == then the data files (dfAx) will not be deleted alone with other control files (cfAx and hfAxxx) after the jobs are done. This will not happen if i set done_jobs to 1 or above. If done_jobs 0, the dfAx, cfAx and hfAxxx files will be deleted when doing the first lpq after the job is done. But if done_jobs = 0, only control files will be deleted. The data file dfAx will stay forever. Is there a simple configuration setting or compilation option to solve this? Or is there a patch for this? I tried to hack into the code, but I failed. It's a little difficult to trace. Any help would be appreciated. This causes a big problem on our system. My company uses printers heavily with a poor print server, due to our budget. We have only about 200MB free space on the print server. Its harddisk will be filled up every about 3-4 weeks by those remaining done data files. Then nobody can print for the harddisk full. Now I use a cron job to remove them and free harddisk space every 3 hours. But I think the problem should be solved in the codes. By the way, there's a same problem for ifhp. The done data files are left by ifhp, too. But I haven't traced it yet, since my company use samba printing without a print filter. I just list it here in case that it helps. I'm using 2 print servers. One is our company server: LPRng 3.8.19, Linux 2.4.20, Mandrake 8.1, gcc 3.2, glibc 2.2.4, Intel Pentium 133, 32MB ram, 2GB harddisk. The other is my home server: LPRng 3.8.19, ifhp 3.5.10, Linux 2.4.20, Debian 3.0r0, gcc 3.2, glibc 2.3.1, Intel Pentium III 800, 896MB ram, 20GB harddisk. Both have the same problem. -- Best regards, imacat ^_*' [EMAIL PROTECTED] PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt Woman's Voice News: http://www.wov.idv.tw/ Tavern IMACAT's: http://www.imacat.idv.tw/ TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug - 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. -
Re: LPRng: HP DesignJet 750cplus ???
Hey Margrit, try this one: your plotter:\ :cm=your comment:\ :lp=your plotter%9100:\ :ifhp=model=hpdj750cplus,waitend@:\ :filter=/usr/spool/ifhp/libexec/filters/ifhp:\ :translate_incoming_format=lf:\ :mx#0:\ :bk:\ :du#16:\ : hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 11 Dec 2002, Margrit Lottmann wrote: Who has also a plotter from this type ??? I've so much attempted: - normal printcap-entry without any filters - working with ifhp (model hpdj750cplus) - working with ifhp (model gs_cdjcolor) configured from lprngtool nothing works!!! here the last status.pr-lines (if worked with model gs_cdjcolor) (printcap-entry: dj750 :force_localhost :af=acct :ifhp=model=gs_cdjcolor,status,sync=ps,pagecount@,waitend@ :lf=log :lprngtooloptions=FILTERTYPE=IFHP IFHP_OPTIONS=status,sync=ps,pagecount@,waitend@ PRINTERDB_ENTRY=gs_cdjcolor :mx=0 :sd=/var/spool/lpd/%P :sh status.pr-snapshot: waiting for subserver to exit at 2002-12-11-12:51:46.225 ## A=NULL number=0 process=22861 subserver pid 22862 starting at 2002-12-11-12:51:46.233 ## A=root@lpsrvn+860 number=860 process=22862 accounting at start at 2002-12-11-12:51:46.233 ## A=root@lpsrvn+860 number=860 process=22862 opening device '141.44.14.109%9100' at 2002-12-11-12:51:46.234 ## A=root@lpsrvn+860 number=860 process=22862 printing job 'root@lpsrvn+860' at 2002-12-11-12:51:46.240 ## A=root@lpsrvn+860 number=860 process=22862 processing 'dfA860lpsrvn.urz.uni-magdeburg.de', size 94137, format 'f', IF filter 'none - passthrough' at 2002-12-11-12:51:46.241 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:48.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:49.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:50.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:51.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:52.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:53.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:54.279 ## A=root@lpsrvn+860 number=860 process=22862 error 'JWRERR' at 2002-12-11-12:51:55.279 ## A=root@lpsrvn+860 number=860 process=22862 printing finished at 2002-12-11-12:51:56.279 ## A=root@lpsrvn+860 number=860 process=22862 accounting at end at 2002-12-11-12:51:56.285 ## A=root@lpsrvn+860 number=860 process=22862 finished 'root@lpsrvn+860', status 'JFAIL' at 2002-12-11-12:51:56.286 ## A=root@lpsrvn+860 number=860 process=22862 subserver pid 22862 exit status 'JFAIL' at 2002-12-11-12:51:56.289 ## A=NULL number=0 process=22861 job 'root@lpsrvn+860' attempt 1, trying 3 times at 2002-12-11-12:51:56.292 ## A=root@lpsrvn+860 number=860 process=22861 waiting for subserver to exit at 2002-12-11-12:51:56.302 ## A=NULL number=0 process=22861 attempt 2, sleeping 10 before retry at 2002-12-11-12:51:56.309 ## A=root@lpsrvn+860 number=860 process=22863 What means JWRERR... ??? -- Mit freundlichen Gruessen M.Lottmann Otto - von - Guericke Universitaet __ __ _ _ __ Magdeburg / / / / / __ \__ // | / / / / / / / /_/ / / / __ / |/ / Margrit Lottmann/ /_/ / / _, _/ / /___// /| / Universitaetsrechenzentrum \/ /_/ |_| // /_/ |_/ Netze Kommunikation - 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. - - 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
Re: LPRng: lost print jobs ?
Hi Helmut, I use 3.8.3 and it works fine, I agree that some work should be spent on LPRng. At least a stable version should be named on the website... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 11 Dec 2002 [EMAIL PROTECTED] wrote: It has been discussed here and Patrick Powell indicated he knew the solution but unfortunately he seems to be too busy. (It nearly looks as if LPRng is dying slowly) When I send some print jobs to LPRng one short after another, some jobs get lost - at least with LPRng-3.8.15 . Does anybody know if an older version doesn't show this problem? Thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik Aachen University D 52056 Aachen, Germany - 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. - - 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. -
Re: LPRng: hp printer MIB
you should find them on their website... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Tue, 10 Dec 2002, Knape, Dean wrote: Hello, Does anyone know where I can find HP's printer MIB? dean - 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. - - 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. -
RE: LPRng: ifhp and HP Designjet 500
Hey Christian, maybe the 'ps@' is your problem then, does it work if you uncommend it ? You should also capture the datafile and try to figure out why your file util thinks it is postscript... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote: Hi! Thanks for the reply. Checkpc told me which files I needed to create (why the daemon would not create them itself is beyond me), and I also found out that I was looking at the wrong ifhp.conf all the time :-( I can no see this in the printer status: sending job file at 15:58:11.423 starting transfer at 15:58:11.423 job is PostScript and PostScript not supported at 15:58:11.424 The job as sent is HPGL, and the queue is configured as a bounce queue, both of which ends should do essentially nothing (they call ifhp and ofhp, resp.) This is the relevant portion of ifhp.conf: [ hpdj500c ] pjl_only=[ COMMENT ECHO ENTER INFO USTATUS USTATUSOFF ] ps@ pcl@ pagecount@ file_output_match = [ * raw ] So ifhp should just pass everything on unfiltered. I'm appending a log file from the filter script, I'd be grateful if somebody could take a look at it and tell me where HPGL turns into PS (or even just how to capture some more diags from ifhp, or the intermediate file from the bounce queue). Thanks! Christian -- Christian Bauernfeind [EMAIL PROTECTED] Infineon IFNA IT IFR EFK (Sunrise Unix support) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 3:21 PM To: [EMAIL PROTECTED] Subject: Re: LPRng: ifhp and HP Designjet 500 Hi Christian, what looks your printcap like ? If you don't get any debug output you probably don't use the local spool queue but send the job directly to the printer. Try to set force_localhost in the printcap and run 'checkpc -f printcap' to make sure all the necessary files get created... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote: Hi! I need some help with setting up a HP Plotter. The plotter is a Designjet500ps with a Jetdirect print server and HPGL/RTL accessory card. There is a set of filter scripts here that will rasterize plot data and generate RTL output. I've also tried just plotting raw HPGL. In each case (HPGL or RTL), I can plot by bypassing the spool system with a scriptlet like this: #!/bin/sh ifhp=model=hpdj500c /usr/local/ifhp/3.4.1/libexec/filters/ifhp -Tdev=ew111shpp1%9100,trace,debug=3,${ifhp} plotme.hpg 2/tmp/trace However, when I try to use the spooler, I only get an 1 inch band from RTL plots, and HPGL plots just disappear. The ifhp Howto suggests lpq - to check the filter status, that does not give me any more information than plain lpq. Does anyone have any suggestions? TIA, Christian -- Christian Bauernfeind [EMAIL PROTECTED] Infineon IFNA IT IFR EFK (Sunrise Unix support) - 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. -
Re: LPRng: NT4.0 Printer Share + LPRNG..NT_STATUS_ACCESS_DENIED
Hey Philipp, this looks much like a samba configuration problem, please post your smb.conf file... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Tue, 26 Nov 2002, Burath, Philipp wrote: Hi, Although this isn't really an issue with LPRNG maybe someone has seen this before: I have setup a Windows Printer on an NT 4.0 Workstation but when connecting to it using samba from my linux print server I get the following error message in the log file: --- Status: job '@mgu002+20632' attempt 17, trying indefinitely at 08:29:50.111 Status: waiting for subserver to exit at 08:29:50.114 Status: attempt 18, sleeping 60 before retry at 08:29:50.116 Status: subserver pid 18890 starting at 08:30:50.106 Status: accounting at start at 08:30:50.106 Status: opening device '|/usr/local/lprng/filters/smb/samba_guest' at 08:30:50.106 Status: printing job '@mgu002+20632' at 08:30:52.107 Status: processing 'dfA632mgu002.int.maynegroup.com', size 3, format 'f', IF filter 'none - passthrough' at 08:30:52.107 Status: printing finished at 08:30:52.108 Status: LP filter msg - 'added interface ip=10.9.3.47 bcast=10.9.3.255 nmask=255.255.255.0' at 08:30:55.838 Status: LP filter msg - 'Got a positive name query response from 10.9.3.175 ( 10.9.3.175 )' at 08:30:55.838 Status: LP filter msg - 'Anonymous login successful' at 08:30:55.838 Status: LP filter msg - 'Domain=[WDP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]' at 08:30:55.838 Status: LP filter msg - 'tree connect failed: NT_STATUS_ACCESS_DENIED' at 08:30:55.838 Status: waiting for printer filter to exit at 08:30:55.839 Status: accounting at end at 08:30:55.839 - When trying to browse the shares on which the computer that the printer is connected too..I get the same message: - [philippb@meatloaf lprng]# smbclient -L HAEM04 -d2 added interface ip=10.9.3.47 bcast=10.9.3.255 nmask=255.255.255.0 Got a positive name query response from 10.9.3.175 ( 10.9.3.175 ) Password: Anonymous login successful Domain=[WDP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] Sharename Type Comment - --- Error returning browse list: NT_STATUS_ACCESS_DENIED Server Comment ---- WorkgroupMaster ---- -- Samba printing to Win95-98 works without a hitch and no such NT_STATUS_ACCESS_DENIED error occurs. Has anybody else experienced this before? Thanks for you help. Philipp Burath IT Network Support Consultant Western Diagnostic Pathology 74 Mc Coy Street Myaree WA 6154 Perth, Australia Ph - +61 8 9317 0719 [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - 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. - - 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
Re: LPRng: lpr without local lpd - printcap
Hi Glen, as a default 'force_localhost' is 'on' (if you did not specify it otherwise at compile time) You can disable the local spooling by setting # default force_localhost (FLAG on) force_localhost@ in the lpd.conf file, or you can as well put 'force_localhost@' in every queue definition in your printcap... take care ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Fri, 15 Nov 2002, Glen Davison wrote: Dear LPRng Gurus, I understand that LPRng's lpr (as distributed on RedHat 7.x) should be able to send jobs directly to a remote server without needing lpd running locally. It works with lpr -Pprlm@print file and with export PRINTER='prlm@print' lpr file Should it work for lpr -Pprlm file with prlm defined as a remote queue in printcap? I always get this: Status Information: sending job 'glen@haiku+764' to prlm@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - Connection refused Make sure LPD server is running on the server I thought that lpr read the printcap file too, (ls -lu /etc/printcap in fact shows that it does) but it seems to just send it to the LPD port on localhost anyway. Thanks Glen -- Glen Davison [EMAIL PROTECTED] Computer System Administrator phone: +61 2 9385 7018 Maths, UNSW fax: +61 2 9385 7192 - 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. - - 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. -
Re: LPRng: 2 print servers both spooling to one physical printer
Hi Toby, I think I have good news for you :-) There is a somehow not documented failover feature in LPRNG which works just perfect for your case I think (I use it with 2500 UNIX clients and have no problems). You can put a list of servers in the client printcap: 'rm=spooler1, spooler2, spooler3' if spooler1 is not available, spooler2 will be tried and so on... Of course it will not work if spooler1 is somehow internally 'broken' but still accepts jobs, but as soon as it does not accept a job the failover will take place... hope this helps, best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 13 Nov 2002, Toby Blake wrote: I'd like to say thanks for all the replies to this, it seems to me that this is probably not the sort of thing that I would like to do on a long term basis, but would be fine in the short term. I'll explain why I want to do this. We have a system whereby I would like to easily swap one print server in to take the place of another one, for maintenance, upgrade or whatever. This could be done in one of two ways - either change the printcap information held in LDAP, or change the print server alias to point to another machine, e.g. host1 has an alias of print1, host2 has an alias of print2 - if I want to take host2 down, I can change the print2 alias to point to host1. The trouble is, our system uses ldap and dns servers on every local machine which sync with the masters every hour (different machines will sync at different times to reduce the load). This means that any changes made to ldap or dns will take between 1 and 60 minutes to propagate to any one host. So, in the example above, in the one-hour period after changing the alias, I need both host1 and host2 to be able to spool to the same printers, as various clients will resolve print2 differently. Phew. Cheers Toby - 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. - - 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. -
Re: LPRng: 2 print servers both spooling to one physical printer
Hey Toby, this might be a bad idea because of locking problems, if one spooler has a hanging connection or is performing a long timeout (WINDOWS !!!) the printer is unavailable for the second spooler. Also if you got 100 jobs in one queue on one server the job on the second server will most likely wait for a long time because the printer port will not get unlocked during printing the 1000 jobs from the first server. Generally it probably depends on your local environment wether you will have problems or not. The advantadge thow is that you can put rm=spooler1,spooler2:\ in the client printcap so that the client will try the second server if the first one is unavailable (groovy, hidden failover feature) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Thu, 31 Oct 2002, Toby Blake wrote: Very quick question: is there any reason why this shouldn't be done? I seem to recall somebody saying that it's a bad idea, but my brief tests seem to indicate it works OK. Thanks Toby Blake University of Edinburgh - 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. - - 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. -
Re: LPRng: Job count saturation?
Hi, I'm using SOLARIS 7 on a E250 with LPRng 3.8.3 and it easily handles several hundreds of jobs without any of the described problems (well at least I never recognised anything alike) I think this might be a bug in an older version of LPRng (?) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Tue, 1 Oct 2002, Greg Trounson wrote: Greetings, I have a production RedHat7.1 server running LPRng-3.7.4-22, serving two HP 4MVs in a laboratory of 30 PCs. At peak times, there may be 30 people trying to print two jobs each through the server, resulting in 60 jobs on the print queue. When the number of jobs gets this high, the print server appears to slow to a crawl. The printers both sit pretty much idle, leisurely printing a page every minute or so. This morning, the job turnaround time (time from when someone clicked 'print' to when the paper came out of the printer) had reached 75 minutes(!). CPU usage on the server is minimal (load average below 1.0), memory usage is about 70%, it doesn't touch the swap partition, and there is plenty of free disk space on all partitions. The hard drive is going full-steam though. It seems that it is continuously reading/writing the /var/spool/lpd/lp directory, which now consists of sixty or so 20KB print jobs. A check of /proc/interrupts reveals that the hard drive is communicating at about 100 interrupts per second. The system remains in this state (printing out about a page per minute and thrashing the disk while even more jobs accumulate) until people stop sending jobs and the queue eventually falls below perhaps fifty jobs. The remaining jobs are then rapidly processed and the quese empties in a couple of minutes. Is there a known limit to the number of jobs that LPRng can handle? Does it attempt to somehow sort the spool files on the disk whenever a new job arrives (this is the only reason I can think of that the hard disk would be thrashing), and if so, why? In accordance with advice on this list, I have since added all the lab machines to the server's /etc/hosts file. I'm not sure how much that will help in this case, but it's sensible, nonetheless. thank you in advance for any help, Greg - 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. - - 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. -
Re: LPRng: vanishing jobs in the queues
Hi Akop, I think there was some trouble with vanishing printjobs in a few older releases. I hate to say it but try for ex 3.8.3 (that's what I'm running in production) I don't think you have a configuration problem... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Fri, 23 Aug 2002, Akop Pogosian wrote: For the last few weeks I have been observing a strange phenomenon. Lots of people started complaining that printing has become unreliable. Often, a document has to be sent to printed twice or even three times before it prints out. This has been happening with our HP8150, HP4000, and probably other printer types. The print server runs LPRng-3.8.15 on Solaris 2.6. The Solaris clients use sysv lp system to send jobs to the LPRng server. Linux client use LPRng-3.6.26 version of lpr command (using lightweight mode). I was able to reproduce this problem from Linux and Solaris clients. Our users who try to print from MacOS X 10.1.5 to the LPRng server also are saying that their jobs are often vanishing. Today I did the following experiment on a Solaris machine: akopps@pub-708c-20:~$ lp -c -d hp1 motd.ps request id is hp1-990 (1 file) The job printed. On the server, I see the following entries in status.pr file in the spool directory (note some of them might have been deleted since I found these at the very top): waiting for subserver to exit at 2002-08-23-18:17:19.388 ## A=NULL number=0 pr ocess=23759 subserver pid 23760 starting at 2002-08-23-18:17:19.424 ## A=akopps@pub-708c-20+ 990 number=990 process=23760 accounting at start at 2002-08-23-18:17:19.424 ## A=akopps@pub-708c-20+990 numbe r=990 process=23760 opening device 'kronecker.math.berkeley.edu%9100' at 2002-08-23-18:17:19.425 ## A=akopps@pub-708c-20+990 number=990 process=23760 printing job 'akopps@pub-708c-20+990' at 2002-08-23-18:17:19.434 ## A=akopps@pub -708c-20+990 number=990 process=23760 processing 'dfA990pub-708c-20.math.berkeley.edu', size 15224, format 'f', IF fil ter 'ifhp' at 2002-08-23-18:17:19.435 ## A=akopps@pub-708c-20+990 number=990 pro cess=23760 IF filter 'ifhp' filter finished at 2002-08-23-18:17:47.056 ## A=akopps@pub-708c -20+990 number=990 process=23760 printing finished at 2002-08-23-18:17:47.057 ## A=akopps@pub-708c-20+990 number= 990 process=23760 accounting at end at 2002-08-23-18:17:47.068 ## A=akopps@pub-708c-20+990 number= 990 process=23760 finished 'akopps@pub-708c-20+990', status 'JSUCC' at 2002-08-23-18:17:47.069 ## A=akopps@pub-708c-20+990 number=990 process=23760 subserver pid 23760 exit status 'JSUCC' at 2002-08-23-18:17:47.073 ## A=NULL n umber=0 process=23759 hp1@blue1: job 'akopps@pub-708c-20+990' printed at 2002-08-23-18:17:47.075 ## A= akopps@pub-708c-20+990 number=990 process=23759 job 'akopps@pub-708c-20+990' saved at 2002-08-23-18:17:47.107 ## A=akopps@pub-70 8c-20+990 number=990 process=23759 Then, I run an identical command two times from the same machine: akopps@pub-708c-20:~$ lp -c -d hp1 motd.ps request id is hp1-991 (1 file) akopps@pub-708c-20:~$ lp -c -d hp1 motd.ps request id is hp1-992 (1 file) Nothing prints. A packet sniffer shows that data is being sent to the print server. The jobs don't show up in lpq output. In status.pr file I see only two new lines: job 'akopps@pub-708c-20+991' removed at 2002-08-23-18:18:06.124 ## A=akopps@pub- 708c-20+991 number=991 process=23770 job 'akopps@pub-708c-20+992' removed at 2002-08-23-18:24:57.235 ## A=akopps@pub- 708c-20+992 number=992 process=23897 Next I send a job from the same machine. It worked normally. In status.pr, I see: subserver pid 23909 starting at 2002-08-23-18:25:49.731 ## A=akopps@pub-708c-20+ 993 number=993 process=23909 accounting at start at 2002-08-23-18:25:49.731 ## A=akopps@pub-708c-20+993 numbe r=993 process=23909 opening device 'kronecker.math.berkeley.edu%9100' at 2002-08-23-18:25:49.733 ## A=akopps@pub-708c-20+993 number=993 process=23909 printing job 'akopps@pub-708c-20+993' at 2002-08-23-18:25:49.743 ## A=akopps@pub -708c-20+993 number=993 process=23909 processing 'dfA993pub-708c-20.math.berkeley.edu', size 15224, format 'f', IF fil ter 'ifhp' at 2002-08-23-18:25:49.744 ## A=akopps@pub-708c-20+993 number=993 pro cess=23909 waiting for subserver to exit at 2002-08-23-18:25:49.794 ## A=NULL number=0 pr ocess=23908 IF filter 'ifhp' filter finished at 2002-08-23-18:26:16.277 ## A=akopps@pub-708c -20+993 number=993 process=23909 printing finished at 2002-08-23-18:26:16.278 ## A=akopps@pub-708c-20+993 number= 993 process=23909 accounting at end at 2002-08-23-18:26:16.289 ## A=akopps@pub-708c-20+993 number= 993 process=23909 finished 'akopps@pub-708c-20+993', status 'JSUCC' at 2002-08-23-18:26:16.290 ## A=akopps@pub
Re: LPRng: error message
[printsrv3] /usr/spool/samba $ grep done ~lp/etc/lpd.conf # Purpose: keep the last NN done jobs for status purposes # default done_jobs= 1 (INTEGER) done_jobs= 0 best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Sun, 25 Aug 2002, Louis Garcia wrote: I have printing to work by modifying the /etc/hosts file a bit. LPRng seems to save some print jobs, how do I make LPRng remove all jobs after printing? Printer: hp2250@tiger (dest hp2250@server) Queue: no printable jobs in queue Server: no server active Status: job 'louisg00@tiger+314' removed at 14:16:48.284 Rank Owner/ID Class Job Files Size Time done root@tiger+870 A 870 /etc/hosts 226 13:58:55 Printer: hp2250@server Queue: no printable jobs in queue Server: no server active Status: job 'smbuser@server+885' saved at 13:12:22.671 Rank Owner/ID Class Job Files Size Time done smbuser@server+616 A 616 Intuit 35201 12:30:52 done smbuser@server+885 A 885 httpwww.miami.comml 513711 13:11:53 --Lou On Sat, 2002-08-24 at 02:00, Ryan Novosielski wrote: Check your lpd.perms file in $PREFIX/etc. It seems as if you are not giving the user who is attempting to print the appropriate permissions. I have seen this message before and I believe that is the only way to cause it to appear. HTH, _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630 On 22 Aug 2002, Louis Garcia wrote: I'm having trouble with LPRng-3.8.9 on RH6.2. I have an HP Business 2250 I've set it up as a raw printer. When I print from another box like RH7.3 also running LPRng the printer is quiet. From the server: #lpq Printer: hp2250@server Queue: no printable jobs in queue Status: hp2250: Check_for_missing files: hp2250: no permission to print at 16:56:36.408 here is the printcap hp2250:\ :sh:\ :ml#0:\ :mx#0:\ :sd=/var/spool/lpd/hp2250:\ :lp=/dev/lp0: #ls -l /dev/lp0 crw-rw 1 lplp 6,0 May 5 1998 /dev/lp0 #ls -l /var/spool/lpd drwx-- 2 lplp 1024 Aug 22 17:33 hp2250 Needing help, --Lou - 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. - - 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. - - 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
Re: LPRng: How can a job be hold in the queue when destinationprinter is switched off?
Hi Thorsten, this sounds fairly easy :-) There is a parameter in your lpd.conf file: [printsrv3] /usr/spool/samba $ grep send_try ~lp/etc/lpd.conf # Purpose: failure action to take after send_try attempts failed # default send_try=3 (INTEGER) send_try=0 '0' means try infinite which is probably exactly what you expect, you can set this 'globally' for all queues in the lpd.conf file or put it in the printcap for some queues only. In any case you need to do an 'lpc reread' to let the daemon recognize the new value... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 21 Aug 2002, Torsten Wiebesiek wrote: Hello, I have a problem with a new printer at our institute and it would be great, if anyone on the list could help me. Our secretary has got a new network printer (HP LaserJet 1200N) called grass. After work the printer is switched off. Sending a job to the printer via our central printing server (augur) results in the complete loss of the job. Is there a way to keep the job in the queue until the printer is switched on again? The relevant part of the printcap: grass_simplex|grass_s|grass :cm PostScript HP LaserJet 1200N Guenther Grass (Room 1316) simplex :server:mx#0:rw :lpd_bounce :sd=/var/spool/lpd/%P :lf=/var/log/lpd-errs-%P :filter=/usr/local/bin/magicfilter:\ :lp=grass_raw@augur grass_raw :cm PostScript HP LaserJet 1200N Guenther Grass (Room 1316) raw :server:mx#0:rw :lpd_bounce :sd=/var/spool/lpd/%P :lf=/var/log/lpd-errs-%P :lp=raw@grass I have also attached the output of two consecutive `lpq -lll -Pgrass_simplex` calls. Thanks, Torsten -- -- Dipl.-Ing. Torsten Wiebesiek Universitaet Hannover Institut fuer Theoretische Nachrichtentechnik und Informationsverarbeitung Phone:+49-511-762-5328 (Fax: -5333) E-Mail: [EMAIL PROTECTED] WWW: http://www.tnt.uni-hannover.de/~wiebesiek - 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. -
Re: LPRng: 79.00FE error on HP 8150DN
Hi AKop, I saw later in your mail, that you already upgradet the firmware, sorry for my incorrect response :-( best regards ~christoph On Mon, 12 Aug 2002, Akop Pogosian wrote: On Mon, Aug 12, 2002 at 08:48:49AM +0200, [EMAIL PROTECTED] wrote: Hi Akop, the problem you describe is well-kmown it can be fixed by a firmware update, The new firmware is available on the HP websites as well as the flash tool... best regards ~christoph The 79.00FE errors seem to be caused by a bunch of different reasons. Some of those problems have been fixed in order firmware updates and others were not apparently. This printer I have these problems with has the latest HP firmware installed, version 20020311 MB7.104. -akop - 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. - - 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. -
Re: LPRng: 79.00FE error on HP 8150DN
Hi Akop, the problem you describe is well-kmown it can be fixed by a firmware update, The new firmware is available on the HP websites as well as the flash tool... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Sat, 10 Aug 2002, Akop Pogosian wrote: I have an HP PJL file that will reliably cause an HP8150DN printer display error 79.00FE on the LED and require power-cycling before it works again. What should I do with this file? Should I send it to HP? Does anyone know the right address within HP to report problems like this? The file was produced the following way. On a Windows2000 PC I have attempted to print a simple text file from within internet explorer. The PC has an HP8150 PS driver installed. The print jobs are sent to a samba host which runs on a Solaris machine which in turn forwards all jobs to an LPRng server on a different box using Sun's standard printing system. The print server is running LPRng-3.8.2 and ifhp-3.5.1. The printer has the latest firmware installed. I can reproduce this problem with both of our HP8150DN printers. However, HP4000 series printers work just fine. Thanks. -akop - 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. - - 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. -
Re: LPRng: queuepause/resume oddities, correction to LPRng HOW-TO
Hi Van, seems likt you discovered the expected behaviour: [printsrv2] ~ $ lpc --h --X option form illegal usage: lpc [-a][-Ddebuglevel][-Pprinter][-Shost][-Uusername][-V] [command] with no command, reads from STDIN -a - alias for -Pall -Ddebuglevel - debug level -Pprinter- printer -Pprinter@host - printer on lpd server on host -Shost - connect to lpd server on host -Uuser - identify command as coming from user -V - increase information verbosity commands: active(printer[@host])- check for active server abort (printer[@host] | all) - stop server class printer[@host] (class | off) - show/set class printing disable (printer[@host] | all) - disable queueing debug (printer[@host] | all) debugparms - set debug level for printer down (printer[@host] | all) - disable printing and queueing enable(printer[@host] | all) - enable queueing flush (printer[@host] | all) - flush cached status hold (printer[@host] | all) (name[@host] | job | all)* - hold job holdall (printer[@host] | all) - hold all jobs on kill (printer[@host] | all) - stop and restart server lpd (printer[@host])- get LPD PID lpq (printer[@host] | all) (name[@host] | job | all)* - invoke LPQ lprm (printer[@host] | all) (name[@host]|host|job| all)* - invoke LPRM msg printer message text - set status message move printer (user|jobid)* target - move jobs to new queue noholdall (printer[@host] | all) - hold all jobs off printcap (printer[@host] | all) - report printcap values quit - exit LPC redirect (printer[@host] | all) (printer@host | off )* - redirect jobs redo (printer[@host] | all) (name[@host] | job | all)* - reprint jobs release (printer[@host] | all) (name[@host] | job | all)* - release jobs reread- LPD reread database information start (printer[@host] | all) - start printing status(printer[@host] | all) - status of printers stop (printer[@host] | all) - stop printing topq (printer[@host] | all) (name[@host] | job | all)* - reorder jobs up(printer[@host] | all) - enable printing and queueing diagnostic: defaultq - show default queue for LPD server defaults - show default configuration values lang - show current i18n (iNTERNATIONALIZATIONn) support client (printer | all) - client config and printcap information server (printer | all) - server config and printcap best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 31 Jul 2002, Van Sickler, Jim wrote: I discovered today the following commands don't work the same when typed in from the command line: (%p=hp4plus, in this case) These work: lpc -P%p stop lpc stop %p This doesn't: lpc stop -P%p I also discovered today that the default command syntax in the HOW-TO doesn't work from my Win2k wkstn: queuepause command = /usr/sbin/lpc -P%p stop queueresume command = /usr/sbin/lpc -P%p start this syntax won't work either: queuepause command = /usr/sbin/lpc %p stop queueresume command = /usr/sbin/lpc %p start The following syntax WILL pause/resume the printer: queuepause command = /usr/local/sbin/lpc stop %p queueresume command = /usr/local/sbin/lpc start %p So lpc stop %p / lpc start %p work in both situations... Would someone please change the syntax in the HOW-TO so that Section 2.12. reads: queuepause command = /usr/sbin/lpc stop %p queueresume command = /usr/sbin/lpc start %p This will bring the commands in line with the correct (functional) syntax. (After independent testing confirmation, of course!) Thanks, Jim - 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. - - YOU
Re: LPRng: Kodak Printer Jobs Simply Vanish (was: Another Printer-SupportQuestion)
Hi Joel, I think yur problen might be solved by the file_output_match section in the lpd.conf. You can define it for every printertype: file_output_match = [ *postscript* ps \%s{ps_converter} *pdf* ps /usr/spool/filters/pdf *pcl* pcl \%s{pcl_converter} *pjl* pjl \%s{pjl_converter} *printer*job*language* pjl *text* ps /usr/spool/filters/ascii host=\%s{H} user=\%s{n} filename=\ %s{N} Z=\%s{Z} T=\%s{T} *tex_dvi* ps /usr/local/bin/dvips -q -f *gzip_compressed* filter \%s{gzip_decompress} *msx_game_cartridge_dump* ps /usr/spool/filters/ascii host=\%s{H} user=\%s {n} filename=\%s{N} Z=\%s{Z} T=\%s{T} *pc_color_pointer* ps /usr/spool/filters/ascii host=\%s{H} user=\%s{n} filename=\%s{N} Z=\%s{Z} T=\%s{T} * msg no_converter ] best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 22 Jul 2002, Joel Hammer wrote: Well, it must be possible to configure your filtering system to just pass through certain file types. Poke around, find the script that decides how to handle various file types (file ) and fix it. Joel On Mon, Jul 22, 2002 at 03:49:23PM -0400, Ryan Novosielski wrote: That's the current solution, but I was kinda hoping for one that would still filter the jobs so some shmoe couldn't come along and print a binary to it. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630 On Sun, 21 Jul 2002, Joel Hammer wrote: Would the solution then be to set up a queue called kodak which doesn't have a filter? Joel I am sending to the 'ps' queue on the printer (it accepts PostScript and Raster). When I send it with the filter line commented out, it works. When I send it using 'ifhp' as my filter, it does what I said before. - 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. - - 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. - - 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. - - 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
Re: LPRng: per queue acl
Hi Dean, yes, this should be no problem see man lpd.perms for details or the lpd.perms chapter in the HOWTO... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 22 Jul 2002, Knape, Dean wrote: Hello All: I would like to be able to allow or deny access to individual print queues based on user@hostname. Is this possible with lprng? thanks, dean - 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. - - 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. -
Re: LPRng: Re: (Long) queue problems with NT4 server
Hi, this is a question of your personal configuration: from the lpd.conf file: # Purpose: orginate connections from these ports # default originate_port=512 1023 (STRING) see man lpd.conf for details... best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 22 Jul 2002, Rory Campbell-Lange wrote: Is it right that lprng spins through ports 513 to 1023 trying to make a connection to the NT4 server? Some of those are ports reserved for other services - so it seems a bit odd. On 19/07/02, Rory Campbell-Lange ([EMAIL PROTECTED]) wrote: I have found what appears to be the cause of the error by running tcpdump on the network connection. The oce sends the linux server 'hopnet' a message saying that the queue is no longer accepting jobs. A minute or two later the OCE server accepts jobs, but does not receive them. hopnet then spins through [ports] 513 and 1023 trying to make a connection. Only on restarting the OCE is the problem (temporarily) resolved. Rory -- Rory Campbell-Lange [EMAIL PROTECTED] www.campbell-lange.net - 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. - - 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. -
LPRng: SAMBA 2.2.0 print driver does not install
Hi everybody, I have been running into this a while ago and it took me quite some to time to get it going. As I found a few similar questions and no answers in the lists here's problem solution: PROBLEM: The printer driver installed from an NT/W2K box on the SAMBA server sometimes install parts or complete drivers locally (on the NT box not on the SAMBA server) SOLUTION: Edit the *.inf file of the driver, and look for something like [DestinationDirs] DefaultDestDir=66000 if there are different values then 66000: that's the problem, replace them... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: problem
Hi Ignacio, you seem to run into some kind of ghostscript problem, the converted file has 0 bites, that's why you don't get any output. Try the gs string on the commandline and change it in the ifhp.conf as you need it... hope this helps best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 5 Jun 2002, ignacio [iso-8859-15] josé wrote: Hello, I'm using the following packages: LPRng-3.8.12-1 and ifhp-3.5.8-1. I'm trying to print the example file 'testpage.ps'. I've shaped my printer, that is a Epson Stylus Color 600. When I run 'lpr testpage.ps' the LPRng makes his work. I know it because I've checked the process with the 'lpq -v' command. But later the document doesn't go to the printer; It is only written into the file '@DEVFD3'. Why doesn't it go to the printer? I know that the conversion process is well, because if I run 'cat @DEVFD3 /dev/lp0' I obtain the document in the printer. I'm using the following printcap file: Epson600|impresora|lp: :rw:lp=/dev/lp0 :sd=/var/spool/lpd/Epson600 :lf=/var/spool/lpd/Epson600/errs :filter=/usr/libexec/filters/ifhp :ifhp=model=stc600pl.upp,status@ :mx#0 :ff_separator@ :sh: :force_localhost Briefly, I'm obtaining the following lines when I run the lpq command: Status: waiting for subserver to exit at 13:28:14.008 Status: subserver pid 1475 starting at 13:28:14.010 Status: accounting at start at 13:28:14.010 Status: opening device '/dev/lp0' at 13:28:14.028 Status: printing job 'root@localhost+473' at 13:28:14.028 Status: processing 'dfA473localhost.localdomain', size 260183, format 'f', IF filter 'ifhp' at 13:28:14.028 Status: IF filter 'ifhp' filter finished at 13:28:18.565 Status: printing finished at 13:28:18.565 Status: accounting at end at 13:28:18.565 Status: finished 'root@localhost+473', status 'JSUCC' at 13:28:18.565 Status: subserver pid 1475 exit status 'JSUCC' at 13:28:18.566 Status: [EMAIL PROTECTED]: job 'root@localhost+473' printed at 13:28:18.566 Status: job 'root@localhost+473' saved at 13:28:18.566 Filter_status: starting transfer at 01:22:33.660 Filter_status: using model 'stc600pl.upp' at 13:28:14.119 Filter_status: setting up printer at 13:28:14.120 Filter_status: pagecounter 0 at 13:28:14.121 Filter_status: sending job file at 13:28:14.121 Filter_status: starting transfer at 13:28:14.121 Filter_status: initial job type 'POSTSCRIPT' at 13:28:14.121 Filter_status: decoded job type 'RAW' at 13:28:14.121 Filter_status: job type 'RAW', converter '/usr/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH -dNOPAUSE -q '-sOutputFile=@DEVFD3' 31 12 -sPAPERSIZE=letter @stc600pl.upp -' at 13:28:14.121 Filter_status: started CONVERTER- 'gs' at 13:28:14.122 Filter_status: converter done, output 0 bytes at 13:28:18.564 Filter_status: zero length conversion output at 13:28:18.564 Filter_status: transferring 0 bytes at 13:28:18.564 Filter_status: zero length job file at 13:28:18.564 Filter_status: sent job file at 13:28:18.564 Filter_status: pagecounter 0, pages 0 at 13:28:18.564 Filter_status: done at 13:28:18.564 Job: root@localhost+473 status= done Job: root@localhost+473 size= 260183 Job: root@localhost+473 time= 0x3cfe03de What is wrong? Another thing. I think that the lpq command has a bug because, as you can see, the output is not in order. Furthermore, the output of a job is mixed with the output of other jobs. Thank you, and sorry for my poor english. - 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. - - 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
LPRng: lpc redirect - application socket
Hi Patrick et al, I'm still using 3.8.3 on my SOLARIS 7 machines, but I think this is more a global kind of problem. I want to use the 'lpc redirect' command on a queue that uses the application socket (Tectronix printer). My printcap entry is: h01cp1t|1b_338_c_t|:\ :cm=Pha_750 PS_2 4 A4 t J.Meyer,B.Heinemann, 2479/4031/TR3136,paper/foil-automatic:\ :lp=/dev/null:\ :bp=/usr/spool/filters/psbanner:\ :of=/usr/spool/ifhp/libexec/filters/ifhp:\ :ifhp=model=phaser740,dev=h01cp1%9100,waitend@,pagecount@:\ :filter=/usr/spool/ifhp/libexec/filters/ifhp -Ttransparency:\ :translate_incoming_format=lf:\ :ab:\ :mx#0:\ :du#16:\ : Using the 'lpc' command generally works fine but the jobs never get to the new destination queue becaus the IFHP filter tries to send them to the printer itself. I always thought in case of a redirected printer the filtering takes place in the final destination queue (?) Did I miss something obvious ? Take care ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ - 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. -
LPRng: problems with IFHP 3.4.7
Hi, as you might remember I just switched to 3.4.7 and since then I see the following error on different printers: error timeout: stack It seems to be somehow postscript related, it mainly happens with jobs from ACROREAD or other postscript jobs. Maybe this is fixed in a later release (?) How stable is the latest release, is it for a production environmnent ? kind regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ - 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. -
LPRng: problems with ifhp-3.5.3 - HP8150
Hi Patrick et al, I tried the latest version of IFHP too but it didn't run on SOLARIS 7/8 (see one of my previous postings) Configaration: Server Solaris 2.8 Printer HP 8150 ifhp-3.5.3 LPRng-3.8.4|LPRng-3.8.9 During printing of postscript files generated from acroread we got the error 79 00FE on the printer. After that we have to switch off the printer. After restart of the queue it works one time. But then the error occured again. It seems that it is an error with outputfilter ifhp. The old version ifhp-3.4.7 works fine. cheers ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ - 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. -
LPRng: IFHP 3.5.6 segmentation fault
hi, maybe this already well-known (?) Seems like IFHP 3.5.6 has some problems on SOALRIS 7/8: Status: printing 'root@printsrv2+18' starting OF 'ifhp' at 14:31:14 Status: r02ps10: Wait_for_pid: OF filter died with signal 'Segmentation Fault' at 14:31:14 Didn't try any other operating systems... cheers ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: M'aidez! Mayday! Can somebody help this fellow
hey, no files attached (?) cheers ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Sun, 10 Mar 2002, Patrick Powell wrote: From [EMAIL PROTECTED] Fri Feb 22 00:17:11 2002 From: arnaud hivart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: help ! Date: Fri, 22 Feb 2002 09:15:11 GMT+1 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_NextPart_Caramail_631014365711_ID Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello !! I'm a french student, and for my project, I have to install LPRng on my LINUX. But I have some problems when I want to compil LPRng-3.7.4 for i486. I use the Mandrake 5.3 This is my command line : ./configure and I have pasted the result in the file attached (result.txt). Can you please help me to find what doesn't work, and what can I do? Thanks a lot for you answer -- Arnaud -- __ Bo=EEte aux lettres - Caramail - http://www.caramail.com Can somebody contact him directly and help him out? Patrick (Someday I will tell you about the time we had 3 French students living at my house for 'English Immersion' purposes. Our motto was 'California. It's Different') Powell Patrick (The French do not drive like madmen. The ITALIANS drive like maniacs. The French are merely trying to catch up to them.) Powell - 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. - - 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. -
Re: LPRng: LPRng seems to run on Solaris 8 Intel... pu
On Tue, 5 Mar 2002, Patrick Powell wrote: I just installed Solaris 8 on an Intel box and then the stuff for IFHP and LPRng. Here is the output I got: h105: {92} # lpq Printer: lp@h105 Queue: no printable jobs in queue h105: {93} # lpr /tmp/hi Warning - Cannot open file '/tmp/hi', No such file or directory lp: nothing to print h105: {94} # echo hi /tmp/hi h105: {95} # lpr /tmp/hi h105: {96} # lpq -L Printer: lp@h105 Queue: 1 printable job Server: pid 27892 active Unspooler: pid 27893 active Status: subserver pid 27893 starting at 19:50:18.771 Status: accounting at start at 19:50:18.771 Status: opening device 'h31%9100' at 19:50:18.771 Status: waiting for subserver to exit at 19:50:18.772 Status: printing job 'root@h105+883' at 19:50:18.777 Status: processing 'dfA883h105', size 3, format 'f', IF filter 'ifhp' at 19:50:18.778 Filter_status: using model 'DEFAULT' at 19:50:18.833 Filter_status: pagecount using 'pjl info pagecount' at 19:50:18.835 Filter_status: setting up printer at 19:50:18.835 Filter_status: getting sync using 'pjl echo' at 19:50:18.835 Rank Owner/ID Class Job Files Size Time active root@h105+883A 883 /tmp/hi 3 19:50:18 h105: {97} # lpq -L Printer: lp@h105 Queue: 1 printable job Server: pid 27892 active Unspooler: pid 27893 active Status: subserver pid 27893 starting at 19:50:18.771 Status: accounting at start at 19:50:18.771 Status: opening device 'h31%9100' at 19:50:18.771 Status: waiting for subserver to exit at 19:50:18.772 Status: printing job 'root@h105+883' at 19:50:18.777 Status: processing 'dfA883h105', size 3, format 'f', IF filter 'ifhp' at 19:50:18.778 Filter_status: using model 'DEFAULT' at 19:50:18.833 Filter_status: pagecount using 'pjl info pagecount' at 19:50:18.835 Filter_status: setting up printer at 19:50:18.835 Filter_status: getting sync using 'pjl echo' at 19:50:18.835 Filter_status: id = HP LaserJet 2200 at 19:50:20.950 Filter_status: sync done at 19:50:21.050 Filter_status: pagecounter 1627 after 1 attempts at 19:50:21.150 Filter_status: pagecounter 1627 at 19:50:21.150 Filter_status: sending job file at 19:50:21.150 Filter_status: starting transfer at 19:50:21.150 Filter_status: file program = '/usr/local/bin/file -' at 19:50:21.150 Filter_status: started FILE_UTIL- 'file' at 19:50:21.167 Filter_status: file information = 'ascii_test' at 19:50:21. ^^ mayne a bug in you file util (?) kind regards ~christoph Filter_status: initial job type 'ascii_test' at 19:50:21.170 Filter_status: decoded job type 'msg' at 19:50:21.170 Filter_status: job type 'msg', converter 'no_converter' at 19:50:21.170 Filter_status: converter done, output 139 bytes at 19:50:21.175 Filter_status: initial job type 'POSTSCRIPT' at 19:50:21.175 Filter_status: decoded job type 'POSTSCRIPT' at 19:50:21.175 Filter_status: job type 'POSTSCRIPT' at 19:50:21.175 Filter_status: transferring 139 bytes at 19:50:21.175 Filter_status: 100 percent done at 19:50:21.176 Filter_status: sent job file at 19:50:21.176 Filter_status: getting end using 'pjl job/eoj' at 19:50:21.176 Rank Owner/ID Class Job Files Size Time active root@h105+883A 883 /tmp/hi 3 19:50:18 h105: {98} # lpq Printer: lp@h105 Queue: no printable jobs in queue Server: no server active Status: job 'root@h105+883' saved at 19:50:33.969 Filter_status: done at 19:50:33.940 Rank Owner/ID Class Job Files Size Time done root@h105+883A 883 /tmp/hi 3 19:50:18 I don't know why there are problems on other systems... 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. - - 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
Re: LPRng: Removing status comment from printer display?
hi, in the global 'ifhp.conf' section you can define 'pjl_ready_msg = don't ask me about you printjob' or whatever, there are some substitutions possible, they are described somewhere round there in the ifhp.conf file... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Wed, 27 Feb 2002, Kenneth Lareau wrote: Recently I set up LPRng 3.8.7 on a system here, and was able to successfully get a basic print queue up and running quite fast, with one minor problem: it seems the small display panel on the printer (an HP5000N) has the final status message from my last print job, and successive prints to the printer (through the Windows side) isn't clearing it. To keep people from contin- uously asking me, Hey Ken, why is your name on the printer?, could someone offer a solution to remove the message without having to powercycle the printer each time I print? :) Ken Lareau [EMAIL PROTECTED] - 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. - - 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. -
Re: LPRng: Load Balancing Virtual queue
hi, I think the server process starts the subprocess in the slave queue, you can turn on the options :lpd_force_poll:\ :lpd_poll_time=60:\ in the printcap for the slave queue, this will force the lpd server to poll the queue every minute... hope this helps ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On Mon, 25 Feb 2002, Jackson Shea wrote: We're running 3.6.26 and I observed today that in setting up a load balancing virtual queue we were then ONLY able to print to the printers through the load-balancing queue. When using the individual queues directly, jobs would sit and wait until an lpc start was sent to the queue which would then clear jobs one at a time. Was this done to force load balancing? If so, is it configurable? thanks in advance. jackson shea portland state university - 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. - - 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. -
Re: LPRng: Re: lpq output in LPRng 3.8.3
OK that's not exactly what I meant: in 3.6.26 it looked like this: Printer: testp5@spoolc 'HP_4000N1' Queue: no printable jobs in queue Status: job 'root@printsrv4+459' removed at 11:47:56 ^^^ Filter_status: done at 11:47:56.585 in 3.8.3 it looks like this: Printer: testp5@spoola 'HP_4000N1' Queue: no printable jobs in queue Status: job 'cfA860et.desy.de' removed at 16:24:28 ^ Filter_status: (of) done at 16:24:28.778 The old version was much better because you see the owner and the host of the last job etc... regards ~christoph On Wed, 20 Feb 2002, Patrick Powell wrote: No, it means no jobs are in the queue, so no status for jobs is shown. From [EMAIL PROTECTED] Thu Feb 7 04:53:45 2002 From: [EMAIL PROTECTED] Date: Thu, 7 Feb 2002 13:53:35 +0100 (MET) To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: lpq output in LPRng 3.8.3 hi, maybe this is fixed in a later release (?) after the job has finished printing, the lpq request doesn't show the usual stuff (I think it was something like user@host+jobid) but something that looks a bit like the controlfile: [printsrv2] ~lp/etc $ lpq -Ptestp5 Printer: testp5@spoola 'HP_4000N1' Queue: no printable jobs in queue Status: job 'cfA696printsrv2.desy.de' removed at 13:47:07 Filter_status: (of) done at 13:47:07.113 is it a bug ? kind regards ~christoph See the later releases with the chatter about the 'done_jobs' flag. 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. - - 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. -
Re: LPRng: running lprng as non-root user
hi, yes it's possible, but you should be aware of some possible problems. Some applications like pine or acroread create a temp file first and then do 'lpr -Pprinter tempfile' which does not succeed if the rights of the tempfile are too restrictive... reagard ~christoph On Fri, 15 Feb 2002, William R. Knox wrote: The client parts of LPRng are often installed setuid root so that they can send from a privileged port (something in the RFC states that requests need to be issued from the range 721-731 - most lpd servers do not enforce that, but that's why the client would be installed as root). Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Fri, 15 Feb 2002, Craig Small wrote: Date: Fri, 15 Feb 2002 10:55:15 +1100 From: Craig Small [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: LPRng: running lprng as non-root user On Thu, Feb 14, 2002 at 04:21:57PM +, Toby Blake wrote: Quick question - is it possible to run lprng (both client and server parts) as a non-root user? Obviously I'd need to change the lpd port number and directories used. I need to do this on a temporary basis in order to test some things out on a machine that's already running lpd, etc. Assuming you do those port and directory permission things I'd say it is very likely. You only need root to access 1024 port and get to the directories. I'm not sure what you mean by client parts, if you are talking about the client programs then they (generally, let's assume you dont have some wierdo setup) should run as non-root. - Craig -- Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 Eye-Net Consulting http://www.eye-net.com.au/[EMAIL PROTECTED] MIEEE [EMAIL PROTECTED] Debian developer [EMAIL PROTECTED] - 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. - - 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. - - 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. -
Re: LPRng: save_on_error
hi, did you set # Purpose: keep the last NN done jobs for status purposes # default done_jobs= 1 (INTEGER) done_jobs= 0 in the lpd.conf file ??? regards ~christoph On Thu, 14 Feb 2002, Jackson Shea wrote: I had posted earlier about the symptom of persistent job files in 3.8.3, 3.8.5 and now 3.8.6. I had thought it might have to do with the IPP but it was actually the :save_on_error flag in the printcap [or save_on_error in the lpd.conf]. lpc doesn't report any errors on the jobs and yet when save_on_error is enabled, the jobfiles persist forever. We don't observe this symptom with save_on_error enabled in 3.6.26. Any insights? thanks in advance. jackson shea portland state university - 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. - - 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. -
LPRng: SAMBA 2.2.3a - LPRng 3.8.x
hi you all, I had this problem for a long time and with different versions of SAMBA and LPRng: using '/usr/spool/lp/bin/lpr -r -Fl -m%m -J%J -U%U -P%p %s' as 'print command' results in two jobs in the queue window on the NT box, though there is only one job in the unix queue. using '/usr/spool/lp/bin/lpr -r -Fl -m%m -U%U -P%p %s' works fine, but delete requests often (not always) don't succeed, the job in the queue window just gets renamed, from it's original name to the name in the unix queue. Is there a little problem in the internal name mapping ? my smb.conf file: [global] workgroup = DESYNT netbios name = DESYNTPRINTA security = SERVER encrypt passwords = Yes password server = %m printcap name = /usr/spool/lp/etc/printcap.smb wins server = 131.169.69.32 remote announce = 131.169.69.36 remote browse sync = 131.169.69.36 admin users = lp printer admin = lp guest ok = YES printing = lprng map to guest = Bad Password print command = /usr/spool/lp/bin/lpr -r -Fl -m%m -U%U -P%p %s lpq command = /usr/spool/lp/bin/samba/%u/lpq -P%p # lpq command = /usr/spool/lp/bin/lpq -P%p lprm command = /usr/spool/lp/bin/lprm -U%U -P%p %j username map = /usr/spool/lp/etc/smbusers.map deadtime = 1 [print$] path = /usr/spool/samba/printers write list = lp read only = Yes guest ok = Yes browseable = Yes [printers] path = /tmp printable = Yes guest ok = Yes browseable = Yes [printsrv2] /usr/spool/samba $ cat ~lp/etc/smbusers.map !lp = lp nobody = * kind regards ~christoph - 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. -
LPRng: lpq output in LPRng 3.8.3
hi, maybe this is fixed in a later release (?) after the job has finished printing, the lpq request doesn't show the usual stuff (I think it was something like user@host+jobid) but something that looks a bit like the controlfile: [printsrv2] ~lp/etc $ lpq -Ptestp5 Printer: testp5@spoola 'HP_4000N1' Queue: no printable jobs in queue Status: job 'cfA696printsrv2.desy.de' removed at 13:47:07 Filter_status: (of) done at 13:47:07.113 is it a bug ? kind regards ~christoph - 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. -
Re: LPRng: printer default
hi, you should turn the printer internal default to A4... regards ~christoph On Fri, 1 Feb 2002 [EMAIL PROTECTED] wrote: I have set up a server running lprng-3.7.4. I have samba-2.2.2 running for windows clients and netatalk for mac clients. Every thing is fine apart from printing from unix which always seems to default to letter size paper. I can set default for windows and mac clients, but have not been able to set defaults for unix. The printer is set up to print on a4 and duplex, but to do it from a unix client i have to use the -Z filter option to tell it to use a4. Does any one have any ideas if/how i can change this thanks - 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. - - 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. -
Re: LPRng: Jobs being sent to stalled printers.
hi, there are two important options in the lpd.conf file for your problem: send_try= defines how many times the job will be sent in case of errors, 3 is default you might want to set it to 0 (infinite) save_on_error saves the job in case of errors, default it's turned off hope this helps ~christoph On Fri, 1 Feb 2002, Joseph Formoso wrote: Folks, This morning, our Operations staff found both of our HP8100's had console errors. As a result, it appears that any jobs submitted after the errors appeared got dumped off the queue. I would really like it if, when the printers stopped accepting jobs (due to paper jams, etc.) that the jobs that were in the queues *stayed* in the queues until the problem got cleared. Is there any way to set up the config so that happens? I feel that I must be missing something pretty basic. In any case, the two 8100s are pooled; the relevant chunk of our printcap file is thus: --- laser|las|ps|lps|hp8100pool:\ :sd=/var/spool/lpd/hp8100pool:\ :sv=hp8100a,hp8100b hp8100a|first:\ :rw:\ :mx=0:\ :bp=/usr/local/libexec/filters/psbanner:\ :lp=foo1.bar.baz%9100:\ :af=hp.acct:\ :lf=hp.log:\ :filter=/usr/local/libexec/filters/ifhp:\ :ifhp=model=hp8100:\ :sd=/var/spool/lpd/hp8100a:\ :ss=hp8100pool hp8100b|second:\ :rw:\ :mx=0:\ :bp=/usr/local/libexec/filters/psbanner:\ :lp=foo2.bar.baz%9100:\ :af=hp.acct:\ :lf=hp.log:\ :filter=/usr/local/libexec/filters/ifhp:\ :ifhp=model=hp8100:\ :sd=/var/spool/lpd/hp8100b:\ :ss=hp8100pool --- Many thanks for any assistance. --Joe - Joe Formoso ([EMAIL PROTECTED]), Senior Systems Administrator, IT Department, Stevens Institute of Technology - 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. - - 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. -
Re: LPRng: Print jobs stalling
hi, this could possibly be a 3.8.4 problem. try 3.8.3 if you don't mind, the configuration looks OK to me... take care ~christoph On Tue, 29 Jan 2002, Antony Healey wrote: Hi, I'm having an issue trying to run fairly current versions of LPRng (3.8.4) and ifhp (3.5.3). The problem creeps in when I add :ifhp=model=hp8150 :filter=/local/apps/lprng/filters/ifhp If I don't use filter= at all, then the job will print. ASCII jobs do the carriage return stepping problem. PS jobs appear to print fine. When the printer is attached to our production queue, running LPRng (3.5.3) and ifhp (unknown), it all works fine. I would like to upgrade the software the later version though. The full printcap entry I'm using at the moment is... kwd-y106-lj8150dn|8150 :cm=HP8150dn (Y106) :lp=kwd-y106-lj8150dn%9100 :sd=/var/spool/lpd/%P :as=|/local/apps/lprng/filters/start_accounting.sh :ae=|/local/apps/lprng/filters/stop_accounting.sh :af=accounting.log :ifhp=model=hp8150 :filter=/local/apps/lprng/filters/ifhp I've tried adding status@ to ifhp= but with no benefit. Removing :ae and :as makes no difference. I'm at a loss as to why it just seems to halt. The file status.kwd-y233-lj8150dn contains the following:- waiting for subserver to exit at 2002-01-29-14:39:19.747 ## A=NULL number=0 process=835 subserver pid 836 starting at 2002-01-29-14:39:19.770 ## A=antony@dinadan+834 number=834 process=836 accounting at start at 2002-01-29-14:39:19.770 ## A=antony@dinadan+834 number=834 process=836 Filter_file: pgm '|/local/apps/lprng/filters/start_accounting.sh' exited with status 'JSUCC' at 2002-01-29-14:39:19.928 ## A=antony@dinadan+834 number=834 process=836 opening device 'kwd-y106-lj8150dn%9100' at 2002-01-29-14:39:19.929 ## A=antony@dinadan+834 number=834 process=836 printing job 'antony@dinadan+834' at 2002-01-29-14:39:19.938 ## A=antony@dinadan+834 number=834 process=836 processing 'dfA834dinadan.cit.uws.edu.au', size 146, format 'f', IF filter 'ifhp' at 2002-01-29-14:39:19.939 ## A=antony@dinadan+834 number=834 process=836 The file status says this:- using model 'hp8150' at 14:39:20.300 pagecount using 'pjl info pagecount' at 14:39:20.346 setting up printer at 14:39:20.347 getting sync using 'pjl echo' at 14:39:20.347 sync done at 14:39:21.245 pagecounter 0 after 1 attempts at 14:39:21.282 pagecounter 0 at 14:39:21.282 sending job file at 14:39:21.286 starting transfer at 14:39:21.287 lpq says this (even after 5 minutes):- Printer: kwd-y106-lj8150dn@dinadan 'HP8150dn (Y106)' Queue: 1 printable job Server: pid 835 active Unspooler: pid 836 active Status: processing 'dfA834dinadan.cit.uws.edu.au', size 146, format 'f', IF filter 'ifhp' at 14:39:19.939 Filter_status: starting transfer at 14:39:21.287 Rank Owner/ID Class Job Files Size Time active antony@dinadan+834 A 834 one.ps 146 14:39:19 The 'data' light on the printer flashes for a few seconds, like it's receiving something, but then that's it. It doesn't start up etc. Does anyone have any suggestions I can try? Regards, Antony. - Unix Systems Administrator School of Computing IT University of Western Sydney Phone: (02) 4736 0771 Fax: (02) 4736 0770 Programmer (n): One who makes the lies the salesman told come true. She said she had nothing to wear. I smiled. - 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. - - 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.
Re: LPRng: phaser 350 strangeness
hups, we don't we have the 780 here but the 750 has a onboard networkinterface :-( kind regards ~christoph On Tue, 22 Jan 2002, David Bear wrote: On Mon, 21 Jan 2002 [EMAIL PROTECTED] wrote: this sounds very much like a broken networkinterface on the printer, try to change it and look if the problem consists... regards I began thinking this as well. Will the network interface in a phaser 780 work in a 350? ~christoph On Fri, 18 Jan 2002, David Bear wrote: May not be related to lprng, but We have been using a Phaser 350 for years connected to lprng. Recently, its started to print VERY slow -- Took almost an hour to print a 12 page document that had minimal graphics, mostly text. I tried to netcat some postscript directly to the appsocket, and printing was still extremely slow. Can any think what may be happening here? -- David Bear College of Public Programs/ASU 480-965-8257 ...the way is like water, going where nobody wants it to go - 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. - - 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. - -- David Bear College of Public Programs/ASU 480-965-8257 ...the way is like water, going where nobody wants it to go - 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. - - 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. -
Re: LPRng: PDF problem
hi, if I remember it well the problem is that pdf2ps does not read from STDIN. What I did: in ifhp.conf: file_output_match=[ ... *PDF* ps /usr/libexec/filters/pdf ... ] [printsrv2] ~lp/request/l00ps4 $ cat /usr/libexec/filters/pdf #!/bin/sh #set -x #echo $* /tmp/pdf.log # primitive filter that uses 'pdf2ps' to convert guess what # pdf2ps doesn't read from the commandline therefore this is necessary #PATH=$PATH:/usr/local/bin #export PATH # we need a tempfile in the spooldirectory # make sure that there is no old shit # (working directory should be the spooldirectory) if /usr/bin/test -e pdf.tmp then # if there is delete it rm pdf.tmp fi # create a new tmp-file touch pdf.tmp # read from STDIN and write into the tmp-file cat pdf.tmp # call the pdf2ps converter binary to convert the tmp-file and write the result to STDOUT /usr/local/bin/pdf2ps pdf.tmp - # delete the tmp-file rm pdf.tmp hope this helps regards ~christoph On Wed, 23 Jan 2002, Johan Bengtsson wrote: On Fri, 18 Jan 2002, Thies Meincke wrote: Hi, I got a problem printing PDF files on a Linux system using LPRNG 3.8.2 and IFHP 3.5.2. The PDF file is not printed, just a error message on a single sheet of paper: Conversion failed for type 'pdf_document,_version_1.2' Using '/usr/bin/pdf2ps' Error: 'Converter exited with status 'exit status 1'' Exactly the same problem here with lprng 3.8.1 ifhp 3.5.2. Has anyone come with a solution for this problem? Best regards, Johan Bengtsson -- http://www.dd.chalmers.se/~elijah/ - 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. - - 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. -
Re: LPRng: PDF problem
Yes, that's right... take care ~christoph On Fri, 25 Jan 2002, Thies Meincke wrote: Hi, as far as I understand it, the pdf.tmp file is created in die spool directory of the queue. For each print job ifhp is used, one print job after the other. The pdf.tmp exists for short time while ifhp is running. So it should not be overwritten. Please correct me if I am wrong. Thies Meincke - 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. - - 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. -
Re: LPRng: phaser 350 strangeness
hi, this sounds very much like a broken networkinterface on the printer, try to change it and look if the problem consists... regards ~christoph On Fri, 18 Jan 2002, David Bear wrote: May not be related to lprng, but We have been using a Phaser 350 for years connected to lprng. Recently, its started to print VERY slow -- Took almost an hour to print a 12 page document that had minimal graphics, mostly text. I tried to netcat some postscript directly to the appsocket, and printing was still extremely slow. Can any think what may be happening here? -- David Bear College of Public Programs/ASU 480-965-8257 ...the way is like water, going where nobody wants it to go - 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. - - 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. -
Re: LPRng: Perl filter
hi, remove the 'filter=...' line from your printcap regards ~christoph On Fri, 18 Jan 2002, Robert Fausey wrote: I am running LPRng 3.7.4 and would like to use a perl script as a replacement filter for ifhp. The problem I am encountering is lpd is generating an error even when the script exits successfully. I developed a test filter as a diagnostic tool which does nothing except for read from STDIN and writes to STDOUT. I searched the list archives and my perl script appears to be using the correct syntax. Has anyone encountered this problem before. Status: waiting for subserver to exit at 16:03:09.558 Status: subserver pid 24224 starting at 16:03:09.699 Status: accounting at start at 16:03:09.699 Status: opening device '/dev/null' at 16:03:09.725 Status: printing job 'fausey@localhost+222' at 16:03:09.727 Status: creating banner at 16:03:09.728 Status: Filter_file: pgm '/var/local/LPRng/libexec/filters/cit.banner.sh' exited with status 'JSUCC' at 16:03:10.606 Status: processing 'dfA222localhost.princeton.edu', size 61, format 'f', IF filter 'test-filter.pl' at 16:03:10.609 Status: IF filter 'test-filter.pl' filter finished at 16:03:11.488 Status: printing finished at 16:03:11.489 Status: test: Get_status_from_OF: LP, of_error 5 closed! - Bad file number at 16:03:11.489 Status: subserver pid 24224 exit status 'JABORT' at 16:03:11.555 Status: job 'cfA222localhost.princeton.edu' error 'aborting operations' at 16:03:11.556 Status: sending mail to '[EMAIL PROTECTED]' at 16:03:11.578 Status: removing job 'cfA222tatooine.princeton.edu' - ABORT at 16:03:12.391 printcap: test :lp=/dev/null :sd=/var/local/LPRng/spool/lpd/%P :lf=/var/local/LPRng/spool/lpd/%P/log :bp=/var/local/LPRng/libexec/filters/cit.banner.sh :if=/var/local/LPRng/libexec/filters/test-filter.pl :filter=/var/local/LPRng/libexec/filters/ifhp :ab:ml=0:mx#0:mc=0:rw:bk test-filter.pl: #!/usr/bin/perl use Getopt::Std; getopt( 'efPHnJCLADQNF0wxy' ); open( FILE, $opt_e ) or die Sorry could not open spool file $opt_e: $!\n; while( FILE ) { print $_; } close( FILE ); #exit; Rob Fausey. - 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. - - 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. -
Re: LPRng: Socket Printing and Runaway Processes
hi, I have a similar problem when I use IFHP filter, in my opinion it has something todo with the waitend_interval. But as you don't seem to use IFHP my problem might as well be triggered by the lpd itself because I have exactly the same symptoms. Did you play with the socket options in the lpd.conf: # Purpose: exit linger timeout to wait for socket to close # default exit_linger_timeout=600 (INTEGER) # Purpose: set the SO_LINGER socket option # default socket_linger=10 (INTEGER) # Purpose: do a 'half close' on socket when sending job to remote printer # default half_close (FLAG on) regards ~christoph On Tue, 15 Jan 2002, Russell Adams wrote: I'm experiencing some issues with socket printing to terminal servers and jet-direct boxes and runaway lpd processes. Everything prints fine until either the printer runs out of paper, or a user turns off the printer during the print. Netstat reports the connection as CLOSED with data still waiting to send to the printer, and the lpd subserver process is consuming all available CPU time. LPQ reports that there was a JWRERR and then multiple JTIMEOUT errors and waiting for subserver to exit messages. The queue remains stalled with the subserver running away indefinitely, until an lpc kill is performed and the queue is restarted. Any ideas? I'm quite stumped. Perhaps there is a timeout that I could use to force it to retry after the connection is lost? I'm running LPRng v3.8.4 on an Alphaserver DS10 w/ RedHat 7.0 for Alpha. Russell Adams Systems Administrator Kelsey-Seybold Clinic - 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. - - 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. -
Re: LPRng: Odd printer behavior
hi,we don't have this type of printer, but the first thing you can do is putting the standbye modus on a longer timeout on the printermenu or turn the enrgiestar mode of. The better thing is naturally to make a network trace and see what the 2000 server is sending as a wake-up signal... regards ~christoph On Wed, 16 Jan 2002 [EMAIL PROTECTED] wrote: Hi I recently moved an HP 1100 from a Windows 2000 server to Redhat 7.1. The printer is using lprng and samba to allow Windows clients to print documents. Since the migration, I have noticed that if the printer experiences a long time of inactivity, it will turn itself off (i.e. the green status light shuts off). When in this state, it will not print document (obviously). If I press the on button, the printer starts up again and prints without any problems. To confirm there was nothing wrong with the printer, I moved it back to the Windows 2000 server and it didn't experience the problem. Does anyone know why this is happening? - 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. - - 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. -
Re: LPRng: Problems running LPRng 3.8.1 on Compaq Tru64 Unix 5.1aand DS20
did you try different prots e.g. 515 ??? On Thu, 17 Jan 2002, Carl Riches wrote: On Thu, 17 Jan 2002 [EMAIL PROTECTED] wrote: hmmm, no further ideas from my side, you can run the lpd in debug mode of cause ... Did that, no clues. This is a puzzler, all right. I can show (via netstat) that a connection is made to the printer. I am going to use tcpdump to determine if any network traffic occurs, but I don't think that happens. The printer doesn't come out of sleep mode when one of these connections is made. Carl On Tue, 15 Jan 2002, Carl Riches wrote: On Mon, 14 Jan 2002 [EMAIL PROTECTED] wrote: hi, well this looks much like an IFHP problem, did you ever run it in debug mode ? When you stop the queue and run the file tool on the datafile, what does it say? Actually, it is a communication problem between the printing system (LPRng and IFHP) and the network printer. Data files in the spool queues are ASCII English text or PostScript document text conforming at level 3.0 and so forth. If I change the lp device in the printcap entry from a network printer to a disk file, the print job ends up in the disk file just fine. Here are the tests that I've run, each with IFHP version 3.1.15 and version 3.5.0: On print server computer: - set up printcap file with _no_ filter, lp=printer%9100; jobs print - set up printcap file with IFHP filter, lp=printer%9100; jobs hang - set up printcap file with _no_ filter, lp=/tmp/out; jobs print - set up printcap file with IFHP filter, lp=/tmp/out; jobs print On client computer(s): - turn on lpd - set up printcap file with _no_ filter, lp=printer%9100; jobs print - set up printcap file with IFHP filter, lp=printer%9100; jobs print - set up printcap file with _no_ filter, lp=/tmp/out; jobs print - set up printcap file with IFHP filter, lp=/tmp/out; jobs print I have just run another test. I set up a bounce queue to filter the print job, which then gets fed to a print queue with no filtering, just a printer device. Files which go to through the bounce queue end up in the spool directory for the second print queue all nicely massaged by IFHP (PJL headers, printer LCD display message, etc.). The file command reports that all of them are HP Printer Job Language data. There is some underlying communications problem. The only obvious difference between the server machine and the client machines is the hardware. The server is a Compaq DS20 (Alpha EV6 CPU). The clients are Digital AlphaStation 600 (Alpha EV5), Digital AlphaServer 800 (Alpha EV5) and Compaq DS10 (Alpha EV6) machines. All are running the same version of the OS: Compaq Tru64 Unix 5.1a. How can I debug what is happening here? Thanks, Carl On Fri, 11 Jan 2002, Carl Riches wrote: On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: hi, the output of 'lpq -L' might be useful... Before continuing, I should add that printing to a disk file on the problem server works just fine--it is just printing to a network printer. I'm not sure if this will tell you much, but here is the output of lpq -L -v: Printer: test@entropy Job: riches@entropy+471 Comment: test queue running on HP LaserJet 4000TN in C-28 Padelford Printing: no Aborted: no Spooling: no Queue: 1 printable job Server: pid 9473 active, Unspooler: pid 9467 active SPOOLCONTROL= Status: waiting for subserver to exit at 13:22:43.600 Status: subserver pid 425975 starting at 13:22:43.815 Status: accounting at start at 13:22:43.818 Status: opening device 'ent%9100' at 13:22:43.825 Status: printing job 'riches@entropy+983' at 13:22:43.841 Status: processing 'dfA983entropy.ms.washington.edu', size 1939, format 'f', IF filter 'ifhp' at 13:22:43.853 Status: subserver pid 425975 exit status 'JFAIL' at 13:24:26.994 Status: subserver pid 9467 starting at 09:12:09.998 Status: waiting for subserver to exit at 09:12:10.005 Status: accounting at start at 09:12:10.010 Status: opening device 'ent%9100' at 09:12:10.017 Status: printing job 'riches@entropy+471' at 09:12:10.025 Status: processing 'dfA471entropy.ms.washington.edu', size 1939, format 'f', IF filter 'ifhp' at 09:12:10.037 Job: riches@entropy+471 status= stalled(465sec) Job: riches@entropy+471 size= 1939 Job: riches@entropy+471 time= 0x3c3f1ce9 Job: riches@entropy+471 CONTROL= Ariches@entropy+471 CA D2002-01-11-09:12:09.465 Hentropy.ms.washington.edu J/etc/hosts Priches Qtest N/etc/hosts fdfA471entropy.ms.washington.edu UdfA471entropy.ms.washington.edu Job: riches@entropy+471 HOLDFILE= A=riches@entropy+471 C=A
Re: LPRng: Stalled printjobs by printing with these print serverboxes
hi, I'm using various networkinterfaces like lantronics etc and never experienced any problems. Are you sure you are using the lpr port on the box ? As far as I know there has been a graet improvement in socket handling afte the 3.6.x release. I'm using 3.8.3 which is just working fine... maybe this helps (?) regards ~christoph On Wed, 16 Jan 2002, P.Remmertz wrote: I asked 10 days ago, but nobody answered?! We are printing with these Print-Server-Boxes and we have the problem that sometimes the job is stalled . According to this the following jobs will not be printed either. If this stalled job will be deleted the printing works correctly and the other jobs in the Queue will be printed. Sometimes it already works by restarting lpd. Does printing only work correctly with a printer connected to the local device of a linux-computer? To our opinion it is not network-printing if some computers have to run for printing at their locally connected printer. In addition to this we don't have linux-clients but W98- and W2k-Clients. We use: RFC-1179 lprng 3.6.25-5 SuSE 7.1 Kernel 2.4.14 Apsfilter (must we use ifhp-filter?) Samba 2.2.2-3 My printcaps # VERSION=3.6.26 # Queue nach RFC1179 qfs1750_1|lp4|sc563160-L1-qfs1750_1|sc563160 L1:\ :lp=:\ :rm=sc563160:\ :rp=L1:\ :sd=/var/spool/lpd/sc563160-L1-qfs1750_1:\ :lf=/var/spool/lpd/sc563160-L1-qfs1750_1/log:\ :af=/var/spool/lpd/sc563160-L1-qfs1750_1/acct:\ :ar:bk:mx#0:\ :tr=:cl:sh:send_job_rw_timeout#0: ### END apsfilter: ### remote sc563160 L1 qfs1750_1 ### # For testing port 9100 qfs1750_1|lp4|sc563160-L1-qfs1750_1|sc563160 L1:\ :lp=192.192.192.101%9100:\ :sd=/var/spool/lpd/sc563160-L1-qfs1750_1:\ :lf=/var/spool/lpd/sc563160-L1-qfs1750_1/log:\ :af=/var/spool/lpd/sc563160-L1-qfs1750_1/acct:\ :ar:bk:mx#0:\send_job_rw_timeout#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. - - 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. -
Re: LPRng: Problems running LPRng 3.8.1 on Compaq Tru64 Unix 5.1aand DS20
hi, well this looks much like an IFHP problem, did you ever run it in debug mode ? When you stop the queue and run the file tool on the datafile, what does it say? ~christoph On Fri, 11 Jan 2002, Carl Riches wrote: On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: hi, the output of 'lpq -L' might be useful... Before continuing, I should add that printing to a disk file on the problem server works just fine--it is just printing to a network printer. I'm not sure if this will tell you much, but here is the output of lpq -L -v: Printer: test@entropy Job: riches@entropy+471 Comment: test queue running on HP LaserJet 4000TN in C-28 Padelford Printing: no Aborted: no Spooling: no Queue: 1 printable job Server: pid 9473 active, Unspooler: pid 9467 active SPOOLCONTROL= Status: waiting for subserver to exit at 13:22:43.600 Status: subserver pid 425975 starting at 13:22:43.815 Status: accounting at start at 13:22:43.818 Status: opening device 'ent%9100' at 13:22:43.825 Status: printing job 'riches@entropy+983' at 13:22:43.841 Status: processing 'dfA983entropy.ms.washington.edu', size 1939, format 'f', IF filter 'ifhp' at 13:22:43.853 Status: subserver pid 425975 exit status 'JFAIL' at 13:24:26.994 Status: subserver pid 9467 starting at 09:12:09.998 Status: waiting for subserver to exit at 09:12:10.005 Status: accounting at start at 09:12:10.010 Status: opening device 'ent%9100' at 09:12:10.017 Status: printing job 'riches@entropy+471' at 09:12:10.025 Status: processing 'dfA471entropy.ms.washington.edu', size 1939, format 'f', IF filter 'ifhp' at 09:12:10.037 Job: riches@entropy+471 status= stalled(465sec) Job: riches@entropy+471 size= 1939 Job: riches@entropy+471 time= 0x3c3f1ce9 Job: riches@entropy+471 CONTROL= Ariches@entropy+471 CA D2002-01-11-09:12:09.465 Hentropy.ms.washington.edu J/etc/hosts Priches Qtest N/etc/hosts fdfA471entropy.ms.washington.edu UdfA471entropy.ms.washington.edu Job: riches@entropy+471 HOLDFILE= A=riches@entropy+471 C=A D=2002-01-11-09:12:09.465 datafile_count=1 datafiles=N/etc/hostsfdfA471entropy.ms.washington.eduUdfA471entropy.ms.washington.edu file_hostname=entropy.ms.washington.edu filenames=/etc/hosts H=entropy.ms.washington.edu held=0x0 hf_name=hfA471 hold_class=0x0 hold_time=0x0 J=/etc/hosts job_time=0x3c3f1ce9 job_time_usec=0x67055 number=471 P=riches printable=0x1 priority=A Q=test server=9467 size=1939 start_time=0x3c3f1ce9 transfername=cfA471entropy.ms.washington.edu update_time=2002-01-11-09:12:09.987 Carl On Thu, 10 Jan 2002, Carl Riches wrote: We are having a problem with LPRng-3.8.1 and IFHP versions 3.1.15 and 3.5.0 when the lpd daemon is running on the server for one of our departments, a Compaq DS20 with Compaq Tru64 Unix 5.1a. We do not have a problem if the daemon is running on the servers in our other departments (DEC AlphaStation 600s running Compaq Tru64 Unix 5.1), nor do we have a problem if the daemon is running on one of our client machines (a mixture of DEC AlphaStation 600s, AS 800s and Compaq DS10s). Here are the symptoms: Printing hangs on the DS20 when the lpd server hands printing off to a filter. Printing does not hang if no filters are defined (but then one can't filter the print job and get the print job to go onto the paper properly). Here are the lines put into the file status.test by a print request: waiting for subserver to exit at 2002-01-10-13:22:43.600 ## A=NULL number=0 process=425988 subserver pid 425975 starting at 2002-01-10-13:22:43.815 ## A=riches@entropy+983 number=983 process=425975 accounting at start at 2002-01-10-13:22:43.818 ## A=riches@entropy+983 number=983 process=425975 opening device 'ent%9100' at 2002-01-10-13:22:43.825 ## A=riches@entropy+983 number=983 process=425975 printing job 'riches@entropy+983' at 2002-01-10-13:22:43.841 ## A=riches@entropy+983 number=983 process=425975 processing 'dfA983entropy.ms.washington.edu', size 1939, format 'f', IF filter 'ifhp' at 2002-01-10-13:22:43.853 ## A=riches@entropy+983 number=983 process=425975 At this point, the print job hangs with no activity on the printer. The print queue must be cleared with the lprm command, which appends this line to the file status.test: subserver pid 425975 exit status 'JFAIL' at 2002-01-10-13:24:26.994 ## A=NULL number=0 process=425988 I can't figure out why this fails on this particular machine. Has anyone run into this sort of problem in the past and can give me pointers on why this is breaking? Here is our printcap file (/usr/local/etc/printcap): # === # # Printer: test queue (Hewlett-Packard LaserJet 4000TN with duplexer) # Location: C-28 Padelford Hall # Connection: TCP/IP # # Notes: # test:
Re: LPRng: 'o' filter problem
hi, if you use the 'filter=your_filter' entry every job gets filtered by 'your_filter' except those that you define in addition using the 'pldfashioned' way regards ~christoph On Thu, 10 Jan 2002, Michael F Gordon wrote: We've got a client that submits job files like the one below. The problem is caused by the line starting with 'o' which, according to the documentation, means it's a PostScript file. What I don't know is how to specify a filter for this format in printcap - 'of' is the output filter, so I can't use that. lpd won't print the job without a filter entry in printcap. Any ideas? Michael Gordon Hltpclih.ee.ed.ac.uk Ples JUntitled Ales@ltpclih+1 Qeepssmc odfA001ltpclih.ee.ed.ac.uk UdfA001ltpclih.ee.ed.ac.uk - 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. - - 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. -
Re: LPRng: Problems running LPRng 3.8.1 on Compaq Tru64 Unix 5.1aand DS20
hi, the output of 'lpq -L' might be useful... regards ~christoph On Thu, 10 Jan 2002, Carl Riches wrote: We are having a problem with LPRng-3.8.1 and IFHP versions 3.1.15 and 3.5.0 when the lpd daemon is running on the server for one of our departments, a Compaq DS20 with Compaq Tru64 Unix 5.1a. We do not have a problem if the daemon is running on the servers in our other departments (DEC AlphaStation 600s running Compaq Tru64 Unix 5.1), nor do we have a problem if the daemon is running on one of our client machines (a mixture of DEC AlphaStation 600s, AS 800s and Compaq DS10s). Here are the symptoms: Printing hangs on the DS20 when the lpd server hands printing off to a filter. Printing does not hang if no filters are defined (but then one can't filter the print job and get the print job to go onto the paper properly). Here are the lines put into the file status.test by a print request: waiting for subserver to exit at 2002-01-10-13:22:43.600 ## A=NULL number=0 process=425988 subserver pid 425975 starting at 2002-01-10-13:22:43.815 ## A=riches@entropy+983 number=983 process=425975 accounting at start at 2002-01-10-13:22:43.818 ## A=riches@entropy+983 number=983 process=425975 opening device 'ent%9100' at 2002-01-10-13:22:43.825 ## A=riches@entropy+983 number=983 process=425975 printing job 'riches@entropy+983' at 2002-01-10-13:22:43.841 ## A=riches@entropy+983 number=983 process=425975 processing 'dfA983entropy.ms.washington.edu', size 1939, format 'f', IF filter 'ifhp' at 2002-01-10-13:22:43.853 ## A=riches@entropy+983 number=983 process=425975 At this point, the print job hangs with no activity on the printer. The print queue must be cleared with the lprm command, which appends this line to the file status.test: subserver pid 425975 exit status 'JFAIL' at 2002-01-10-13:24:26.994 ## A=NULL number=0 process=425988 I can't figure out why this fails on this particular machine. Has anyone run into this sort of problem in the past and can give me pointers on why this is breaking? Here is our printcap file (/usr/local/etc/printcap): # === # # Printer: test queue (Hewlett-Packard LaserJet 4000TN with duplexer) # Location: C-28 Padelford Hall # Connection: TCP/IP # # Notes: # test: :client :lp=test@entropy test: :server :cm=test queue running on HP LaserJet 4000TN in C-28 Padelford :lp=ent%9100 :ifhp=model=hp4000 :sd=/var/spool/test :sh@ :sb@ :filter=/usr/local/libexec/filters/ifhp Thanks for your help, Carl Carl G. Riches Software Engineer Department of Mathematics Box 354350voice: 206-543-5082 or 206-616-3636 University of Washington fax: 206-543-0397 Seattle, WA 98195-4350 internet: [EMAIL PROTECTED] - 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. - - 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. -
Re: LPRng: LPRng and Samba
hi, the SAMBA macros %M and %m contain the connecting clients internet / netbios name. If you use something like lpr ... -m%m ... as a print command the hostname will be in the controlfile in the 'M-line' all the rest is a fancy script or something like that to get it in your accounting... maybe this helps (?) regards ~christoph On Thu, 10 Jan 2002, Ryan Novosielski wrote: This is technically more of a Samba problem, but I bet someone will be willing to help me a little here. The problem here is that we have 4 campus servers. Each one hosts a Samba domain. Sometimes, users for whatever reason will go to a different campus (where they may or may not have an account -- the problem occurs when they do not). They log in using the Samba domain of their home site, but attempt to use printers on the campus they are visiting. While the PC they are using knows what their username is, and I can take this on good faith, since they do not have an account on the machine Samba serving the printers, their jobs print as the network guest user. This is clearly a problem for accounting. Does anyone know of a way for LPRng to find out who the client PC is logged in as by the time accounting occurs? We don't wish to just give away pages to students who happen to travel. It's a shame the setup is the way it is, but I'm just looking for a way to make this work in our current environment. Thanks for any help you may wish to give me! _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630 - 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. - - 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. -
Re: LPRng: another stupid question
On Wed, 9 Jan 2002, David Bear wrote: After going through the lprng how-to I'm still a little (no a lot) uncertain about if ifhp is using by the client, or the server. Most of my print jobs originate from windows clients -- so they are already in a print dependant language. In this case ifhp is completely extraneous, right? Usually the filter is working on the server, because otherwise you would have to maintain the package on every client. When you look into the ifhp.conf file in the first part which contains the 'global' settings you will find the 'file_output_match' table. Depending on the incoming file format a format to convert to is defined. If your printer speaks postscript and your windows clients produce postscript you will go through the table and not convert the file. Though it is nice to use the filter anyway, because many things like duplex or transparency printing are predefined. If so, then what about accounting. Is ifhp need to get page counts? no Finally, I know the lpd server can 'deliver' the print job direct to appsocket -- but then it appears that ifhp can do that as well. If so, and ifhp is used by the client, is a server needed at all? The socket implementation on the printer is often very bad and so it is on many clients, that's one reason why you will probably not let all the clients fight for the same printer. WINDOWS clients e.g. perform a 10 min timeout on the printerport after a job, which means nobody else can use it during that time. I guess the swiss army knife approach of ifhp is just causing me to think too much... but what I would like to see is a more modular approach -- where 'delivery' to the print is handled my a well defined 'interface?'... So that you can the 'plug in' additional 'delivery' methods -- /dev/lp0, appsocket, serial, ipp are the obvious ones today. I guess in my attempt to oversimplify I picture the following: 1) send raw file to ifhp for formatting to correct printer langauge 2) ifhp sends to lp (rfc1179) for spooling 3) lpd sends spool jobs to a 'delivery' module which encapsulate all the semantics of whatever delivery mechanism is used and returns whatever is 'possibly' from the delivery language, ie handles control flow, return codes form printers include pages printed, and any other printer status. Would be great if it could grab info like jetadmin gives such as which trays are empty, amount of toner, etc. that's what it works like usually: client sends job to server lpd puts job in queue lpd takes first job in queue hands it to the conversion tool (defined in the printcap e.g. ifhp) lpd gets output back lpd sends output to printer (or ifhp itself sends the job to the printer) lpd gets status from printer during printing and displays it via lpq regards ~christoph Have I totally missed the boat? -- David Bear College of Public Programs/ASU 480-965-8257 ...the way is like water, going where nobody wants it to go - 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. - - 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. -
LPRng: SAMBA - printer driver and windows forms
hi, I still have the problem described below, the drivers on the SAMBA server are predefined correctly, the standard settings for documents are set to 'A4' thoughi tdoesn't work :-( I'm using SAMBA 2.2.0 and LPRng 3.8.3 on SOLARIS 2.7 to offer printservice for ~2.300 NT 4.0 clients. Everything works fine, I use the feature to preconfigure the NT drivers on the printserver which makes my NT clients think they talk to a NT server :-) The most annoying problem is that the SAMBA server doesn't know the paper size A4 (which is the default format in europe). Though the driver comes with 'A4' as default format from the server the NT clients change the entry to 'A4 small' or 'letter' I think because they don't find the 'A4 forms' entry in the registry. Using the server properties card from a NT box I can add forms to the server but not a 'A4' called form, because it exists already and I don't have the right to replace or change it (I have admin rights on the NT machine). To me it looks like if I see a mixture in the dialogue between the forms on the SAMBA server and lokal forms that come probably with NT. Is there any way to get rid of this problem, like a different way to add a forms entry to the SAMBA server? Maybe I'm on a completely wrong way and the problem can be solved somewhere else (?) Another thing that happens quite often: Deleting a printjob in the NT queue window results from time to time in a renaming of the job and the message 'command didn't succeed' the job in the NT queue window in that case gets renamed from its original name e.g. 'my_document' to the name of the SAMBA tmp file e.g. 'SMBPRN.123'. Deleting this job again is then successful, I played around a bit but all I can say is that the lprm command doesn't get executed on the first try, is it a name mapping problem (?): print command = /usr/spool/lp/bin/lpr -r -Fl -m%m -U%U -P%p %s lpq command = /usr/spool/lp/bin/samba/%u/lpq -P%p lprm command = /usr/spool/lp/bin/lprm -U%U -P%p %j thank you for any hint and the great improvements in printing integration through SAMBA in the 2.2.0 release ~christoph /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: Printing from non UNIX clients possible?
hmmm, seems to be a bit tricky, why don't you start the lpd in a debug mode (lpd -d2) and look what's happening. Using appletalk is really pain !!! regards ~christoph On Tue, 8 Jan 2002, David L. R. Houston wrote: I got a considerable number of replies to this posting. Alas, nothing, but nothing, has helped. Short and sweet question: has anyone gotten LPRng to function for a Macintosh client (running OS9 or OSX) that sets up its printers with the Desktop Printer Utility, LPR Printing using IP? (i.e. NOT using Appletalk) Here is what I know: - Netatalk is now installed on the same test machine. - However, a simple test on the other (primary) server reveals that in fact netatalk is *not* required to get LPR printing using IP to work. Netatalk *would* be needed _if_ printer selection and processing happened over _Appletalk_. Since one of my chief goals is to do away with this hideous protocol, I need to be sure I can print without it. - Setting up a printer on either an OSX or OS9 Mac client involves use of the Desktop Printer Utility, LPR type printing, and then entry of the hostname, and then the named print queue. No combination of hostname (which for testing is gecko.uvm.edu) or named printers found in the /usr/local/etc/printcap gives any output. - All tests yield the identical result: (from /usr/local/bin/lpq -Pall) Printer: lp@gecko (holdall) Queue: no printable jobs in queue Status: lp: Check_for_missing files: missing data file 'dfA569ip103038.uvm.edu' at 11:16:27.567 Printer: laserq@gecko Queue: no printable jobs in queue Server: no server active Status: job 'cfA674gecko' saved at 11:12:29.321 Rank Owner/ID Class Job FilesSize Time done rootA 674 /usr/local/src_lprng 63363 11:12:26 The problem seems to be very consistent: the *data* portion of the file never gets there. I have tried printcap with and without send_data_first and send_block_format - no change at all. Printcap entries: .common: :sd=/var/spool/lpd/%P :sh:mx=0:mc=0 # Jetdirect Box number 1 lp:tc=.common:lp=saturnp1.uvm.edu%9100\ :send_data_first: # Jetdirect box number 2 (different model) laserq:tc=.common:lp=132.198.103.204%9100 :send_data_first :send_block_format It is seemingly impossible to determine if the control file or header file ever makes it to the system. Setting a debug level to network does seem to confirm that the connection itself is being made just fine. The conclusion I am rapidly approaching is that LPRng and/or the Mac OS (9.2.2 or X) are not capable of working together without Appletalk, that either LPRng requires pure Appletalk printing (in which case CAP or Netatalk is mandated) or simply cannot handle the print request the way it is set up at the client end when using LPR printing using IP on the workstation. If *anyone* has managed to use Desktop Printer Utility, LPR printing using IP on a Mac with LPRng (and NO Appletalk), I would _LOVE_ to hear from you. This seems, if true, unfortunate, given the poor (and that's charitable!) state of the Appletalk protocol. To my knowledge, most installations are moving away from Appletalk. To have a product that requires it's use seems most unfortunate. David Houston CIT Client Services Coordinator University of Vermont - 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. - - 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.
Re: LPRng: Printing from non UNIX clients possible?
hmm, I'm quite sure that the problem is on the mac side, perhaps one of the experienced mac user from the list can give you a detailed description of the setup ? On Wed, 9 Jan 2002, David L. R. Houston wrote: Unfortunately, running lpd in debug (I've tried D1 - 10 and Network) always winds up in the same place: Check_for_missing files: missing data file. I have no way of determining *why* the data part is missing... David On Jan 9, 2002, [EMAIL PROTECTED] wrote: . hmmm, . . seems to be a bit tricky, why don't you start the lpd in a debug mode (lpd . -d2) and look what's happening. Using appletalk is really pain !!! . . . regards . ~christoph . . . . On Tue, 8 Jan 2002, David L. R. Houston wrote: . . I got a considerable number of replies to this posting. Alas, nothing, . but nothing, has helped. . . Short and sweet question: has anyone gotten LPRng to function for a . Macintosh client (running OS9 or OSX) that sets up its printers with the . Desktop Printer Utility, LPR Printing using IP? (i.e. NOT using Appletalk) . . Here is what I know: . . - Netatalk is now installed on the same test machine. . . - However, a simple test on the other (primary) server reveals that in . fact netatalk is *not* required to get LPR printing using IP to work. . Netatalk *would* be needed _if_ printer selection and processing happened . over _Appletalk_. Since one of my chief goals is to do away with this . hideous protocol, I need to be sure I can print without it. . . - Setting up a printer on either an OSX or OS9 Mac client involves use of . the Desktop Printer Utility, LPR type printing, and then entry of the . hostname, and then the named print queue. No combination of hostname . (which for testing is gecko.uvm.edu) or named printers found in the . /usr/local/etc/printcap gives any output. . . - All tests yield the identical result: (from /usr/local/bin/lpq -Pall) .Printer: lp@gecko (holdall) .Queue: no printable jobs in queue .Status: lp: Check_for_missing files: missing data file . 'dfA569ip103038.uvm.edu' at 11:16:27.567 .Printer: laserq@gecko .Queue: no printable jobs in queue .Server: no server active .Status: job 'cfA674gecko' saved at 11:12:29.321 .Rank Owner/ID Class Job FilesSize Time .done rootA 674 /usr/local/src_lprng 63363 11:12:26 . . The problem seems to be very consistent: the *data* portion of the file . never gets there. I have tried printcap with and without send_data_first . and send_block_format - no change at all. . . Printcap entries: . .common: . :sd=/var/spool/lpd/%P . :sh:mx=0:mc=0 . . # Jetdirect Box number 1 . lp:tc=.common:lp=saturnp1.uvm.edu%9100\ .:send_data_first: . . # Jetdirect box number 2 (different model) . laserq:tc=.common:lp=132.198.103.204%9100 .:send_data_first .:send_block_format . . It is seemingly impossible to determine if the control file or header . file ever makes it to the system. Setting a debug level to network does . seem to confirm that the connection itself is being made just fine. . . The conclusion I am rapidly approaching is that LPRng and/or the Mac OS . (9.2.2 or X) are not capable of working together without Appletalk, that . either LPRng requires pure Appletalk printing (in which case CAP or . Netatalk is mandated) or simply cannot handle the print request the way it . is set up at the client end when using LPR printing using IP on the . workstation. . . If *anyone* has managed to use Desktop Printer Utility, LPR printing using . IP on a Mac with LPRng (and NO Appletalk), I would _LOVE_ to hear from . you. . . This seems, if true, unfortunate, given the poor (and that's charitable!) . state of the Appletalk protocol. To my knowledge, most installations are . moving away from Appletalk. To have a product that requires it's use . seems most unfortunate. . .David Houston .CIT Client Services Coordinator .University of Vermont . . . . - . 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. . - . . . .
Re: LPRng: Zero Byte data file from client - always
hi, you can definetely print to lprng from any system as long as you don't violate the RFC1179 to much. Simply make a connection to port 515 and there you go ! regards ~christoph On Mon, 7 Jan 2002, Joel Hammer wrote: I don't think is it possible to service non-unix clients without installing samba. All samba really does for you in a printing situation is transfer the printfile to a temp file on your Solaris server and run your print command to process that file. I don't know anything about Macs but windows clients do fine with samba. When you set up samba, keep it really simple to start with. Just set up one printer share at first, and be explicit with the commands required to print in the printer share definition. Remember, the printer command is what you tell samba, so you can make the samba server do anything you want with the temp file. As well as any other tasks you might want to happen during printing. BTW, you seem to be suffering from task overload, which is a name used to describe what happened to fighter pilots in WWII when there was too much happening around them to keep track of and they became disoriented during a dogfight. The results were what you might expect. I would first install samba on your Solaris server, and throughly test it out from the Solaris server. You can put the printing and file shares through their paces without having to use a networked client, Solaris or otherwise. Once that all works, then try printing from the networked non-unix clients. Remember, windows clients will do their own filtering of the print job. Your solaris server will likely simply dump the printfile to the printer using a queue which has no print filter or whose print filter does not try to format the job. Keep it simple. For example, at first, install the printing software locally on your clients, don't try to configure your server to download the software to your clients at the start. This stuff is all really simple once you see what is going on. If you need some help with print filters, and you really shouldn't to print from windows clients, read my write up of filters with LPRng at the linux stepbystep site. http://linux.nf/stepbystep.html Search for filters hammer. Joel - 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. - - 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. -
Re: LPRng: More on duplexing behavior
hi, firts you must turn on the duplex feature in the menu of the printer, if IFHP is configured correctly you should now get some duplex output by using lpr -Zduplex -Pprinter. If you are printing a postscript file which insists on being a 'single-side-file' you will probably not succeed. If a simple ascii file doesnt't make it to duplex you should put something in the ifhp.conf section of your printertype. Ususally something like ps_duplex= /Duplex true /Tumble false setpagedevice should be enough. If fou use model=hp5m this is exactly what is in the printer section... regards ~christoph On Mon, 7 Jan 2002, Paul Michael Reilly wrote: Still trying to understand how the ifhp filter convinces a suitably equipped HP printer (hp-lj5m in my case) to print a postscript document on both sides of the paper. Does it prepend some PCL code? Ignore it entirely? Modify the .ps temp file to add PostScript to do the job? It's looking more and more like the only way I'll determine the correct behavior is to instrument the ifhp source code. Can anyone give my suggestions on what routines to pay particular attention to? Is anyone aware of any ifhp development documentation for newbies who want to work on the code? Thanks, -pmr - 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. - - 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. -
LPRng: SAMBA - printer driver and windows forms
hi, I'm using SAMBA 2.2.0 and LPRng 3.8.3 on SOLARIS 2.7 to offer printservice for ~2.300 NT 4.0 clients. Everything works fine, I use the feature to preconfigure the NT drivers on the printserver which makes my NT clients think they talk to a NT server :-) The most annoying problem is that the SAMBA server doesn't know the paper size A4 (which is the default format in europe). Though the driver comes with 'A4' as default format from the server the NT clients change the entry to 'A4 small' or 'letter' I think because they don't find the 'A4 forms' entry in the registry. Using the server properties card from a NT box I can add forms to the server but not a 'A4' called form, because it exists already and I don't have the right to replace or change it (I have admin rights on the NT machine). To me it looks like if I see a mixture in the dialogue between the forms on the SAMBA server and lokal forms that come probably with NT. Is there any way to get rid of this problem, like a different way to add a forms entry to the SAMBA server? Maybe I'm on a completely wrong way and the problem can be solved somewhere else (?) Another thing that happens quite often: Deleting a printjob in the NT queue window results from time to time in a renaming of the job and the message 'command didn't succeed' the job in the NT queue window in that case gets renamed from its original name e.g. 'my_document' to the name of the SAMBA tmp file e.g. 'SMBPRN.123'. Deleting this job again is then successful, I played around a bit but all I can say is that the lprm command doesn't get executed on the first try, is it a name mapping problem (?): print command = /usr/spool/lp/bin/lpr -r -Fl -m%m -U%U -P%p %s lpq command = /usr/spool/lp/bin/samba/%u/lpq -P%p lprm command = /usr/spool/lp/bin/lprm -U%U -P%p %j thank you for any hint and the great improvements in printing integration through SAMBA in the 2.2.0 release ~christoph /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
LPRng: Re: SAMBA - printer driver and windows forms
hi, that's exactly what I did but on the clients the default is overwritten, probably because there is no forms entry for 'A4' in the local registry regards ~christoph On Tue, 8 Jan 2002, Jon Gerdes wrote: If you use Samba to send out the printer driver you can setup the defaults by connecting as a printer admin (or admin user). Right click on the printer and select document defaults (or whatever it is) and set it up for A4. Then, the clients will also be re-configured. Cheers Jon Gerdes [EMAIL PROTECTED] 08/01/2002 10:21:28 hi, I'm using SAMBA 2.2.0 and LPRng 3.8.3 on SOLARIS 2.7 to offer printservice for ~2.300 NT 4.0 clients. Everything works fine, I use the feature to preconfigure the NT drivers on the printserver which makes my NT clients think they talk to a NT server :-) The most annoying problem is that the SAMBA server doesn't know the paper size A4 (which is the default format in europe). Though the driver comes with 'A4' as default format from the server the NT clients change the entry to 'A4 small' or 'letter' I think because they don't find the 'A4 forms' entry in the registry. Using the server properties card from a NT box I can add forms to the server but not a 'A4' called form, because it exists already and I don't have the right to replace or change it (I have admin rights on the NT machine). To me it looks like if I see a mixture in the dialogue between the forms on the SAMBA server and lokal forms that come probably with NT. Is there any way to get rid of this problem, like a different way to add a forms entry to the SAMBA server? Maybe I'm on a completely wrong way and the problem can be solved somewhere else (?) Another thing that happens quite often: Deleting a printjob in the NT queue window results from time to time in a renaming of the job and the message 'command didn't succeed' the job in the NT queue window in that case gets renamed from its original name e.g. 'my_document' to the name of the SAMBA tmp file e.g. 'SMBPRN.123'. Deleting this job again is then successful, I played around a bit but all I can say is that the lprm command doesn't get executed on the first try, is it a name mapping problem (?): print command = /usr/spool/lp/bin/lpr -r -Fl -m%m -U%U -P%p %s lpq command = /usr/spool/lp/bin/samba/%u/lpq -P%p lprm command = /usr/spool/lp/bin/lprm -U%U -P%p %j thank you for any hint and the great improvements in printing integration through SAMBA in the 2.2.0 release ~christoph - 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. -
Re: LPRng: Deep distress and begging for guidance
hi, if your printer just understands pcl you must set up a filter in the printcap, see the IFHP HOWTO which printertype and configuration might fit... regards ~christoph On Sat, 5 Jan 2002 [EMAIL PROTECTED] wrote: I'm trying to set up an HP DeskJet 500, I have at least three other printers that I'll need to deal with soon, but I'd feel more confident if I could get just one to work first. Relevant details: Debian2.2(potato), LPRng-3.6.12, ghostscript 5.10 here's a transcript from yet another attempt in which the software seems to think it works but the printer sits there in lumpish affront Script started on Sat Jan 5 01:53:34 2002 larry@heron:~$ lpr -V Version LPRng-3.6.12 This is ascii text, and the gd printer probably doesn't know anything but PCL, grrr. sending job 'larry@heron+11' to lp2@localhost connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer lp2@localhost sending control file 'cfA011heron' to lp2@localhost completed sending 'cfA011heron' to lp2@localhost sending data file 'dfA011heron' to lp2@localhost completed sending 'dfA011heron' to lp2@localhost done job 'larry@heron+11' transfer to lp2@localhost larry@heron:~$ exit Script done on Sat Jan 5 01:56:43 2002 here's a copy of my /etc/printcap #:$Id: printcap,v 1.3 2002/01/05 01:21:45 larry Exp $: # /etc/printcap: printer capability database. See printcap(5). # You can use the filter entries df, tf, cf, gf etc. for # your own filters. See the printcap(5) manual page for further # details. lp2|HP 500 DeskJet :lp=/dev/lp0 :sd=/var/spool/lpd/lp :lf=/var/log/lpd-errs :mx#0 :sh What part of the man-pages am I not understanding? Would it help things if I got or created a PCL file, and sent that to lp2, I'm fairly sure the printer works since it was able to print from a windows box earlier, should I switch lp=/dev/lp0 to something else? dmesg reports lp0: using parport0 (polling) clues devoutly appreciated, larry - 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. - - 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. -
Re: LPRng: Very strange problem
hi, make sure 'force_localhost' is enabled in your lpd.conf file ('force_localhost@' means it is disabled). For testpurpose you can also just put force_localhost in the printcap... hope this helps regards ~christoph On Thu, 3 Jan 2002, Keith Rinaldo wrote: This problem has been plaguing us for a few days now. After many many many recompiles and tinkering, we came to a rather interesting conclusion: If we run lp or lpr without a fully-qualified queue name, then for some reason the print job does not get filtered through ifhp, and none of the accounting information is updated in the /var/lpd/log/printername.acct file. However if we use a fully-qualified name, everything works! Example: lpr -Pmyprinter ./printcap .. will produce a stair-stepped printout of the printcap file, and nothing gets written to /var/lpd/log/myprinter.acct. However, calling lpr like this: lpr -Pmyprinter@localhost ./printcap ... works just fine! The output gets filtered through ifhp (and through a2ps respectively) and the accounting file is updated. This is very strange, and since we have a large number of users (around 6,000) it's very hard to tell them all that they suddenly need to use a fully-qualified name for the printers. We're using LPRng 3.8.4 and IFHP 3.5.2. An example excerpt from our printcap looks like this: myprinter|MyPrinter :[EMAIL PROTECTED] :lf=/var/lpd/log/myprinter.errs :sd=/var/spool/lpd/myprinter :ifhp=model=hp8100,pagecount,sync :filter=/usr/local/libexec/filters/ifhp :af=/var/lpd/log/myprinter.acct Is there something in lpd.conf or elsewhere that we can add to fix this strange behavior? And, while we're on the subject of strange behavior, programs such as lpc seem to be unhappy about something as well. I'm not sure if this is related to the other problem, but for some reason lpc reread just returns with no output and we don't know if it's sent the HUP to lpd or not... however, if we do lpc reread all then it reports that it sent the SIGHUP. This is just general wackiness and is very strange... and we've been beating our heads on the wall for 3 days... any help at all is GREATLY appreciated. Thanks. --- Keith Rinaldo Systems Administrator College of Engineering University of Nevada, Las Vegas Email: [EMAIL PROTECTED] - 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. - - 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. -
Re: LPRng: Make problems
hi, try the SUN cc-compiler, this worked for me: --with-cc=/opt/SUNWspro/bin/cc regards ~christoph On Thu, 3 Jan 2002, David L. R. Houston wrote: I'm trying to make LPRng-3.8.4 on a Solaris box running Solaris 8. I've ensured the correct path (/usr/local/bin/ and then /usr/ccs/bin); I have gcc running fine (have built a number of things on this same box). Anyway I try it, I get this after make: ./common/lpd_dispatch.c: In function `Service_connection': ./common/lpd_dispatch.c:180: `AF_LOCAL' undeclared (first use in this function) ./common/lpd_dispatch.c:180: (Each undeclared identifier is reported only once ./common/lpd_dispatch.c:180: for each function it appears in.) make[1]: *** [lpd_dispatch.lo] Error 1 make[1]: Leaving directory `/usr/local/src/LPRng-3.8.4/src' make: *** [src] Error 2 I tried configure with the --with-cc=gcc option - no change. I tried adding in the cppopts ldopts (step 3 of the Installation problems on the web page) - no change. I'm running the Sun ld - I believe that's correct. Running GNU Make version 3.79.1. I'll admit I am not the sysadmin wiz that many others are. Any insight is appreciated. David Houston CIT Client Services Coordinator University of Vermont - 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. - - 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. -
LPRng: Re: broken 3.8.3 package on the ftp server ?
hi, OK I see it's probably just another SOLARIS stupidity, tar complains: x LPRng-3.8.3/DISTRIBUTIONS/FreeBSD-4.ports.sysutils.LPRng/work/LPRng-3.8.3/src, 0 bytes, 0 tape blocks x LPRng-3.8.3/DISTRIBUTIONS/FreeBSD-4.ports.sysutils.LPRng/work/LPRng-3.8.3/src/AUTHENTICATE, 0 bytes, 0 tape blocks tar: directory checksum error Everything fine using the -i option... thanks ~christoph On Mon, 17 Dec 2001, Patrick Powell wrote: Hmmm... Hmm... I do not get checksum errors... MD5 (LPRng-3.8.3.tgz) = b1e0633fb648a4044ba549c82b2ae159 -BEGIN PGP SIGNED MESSAGE- MD5 (LPRng-3.8.3.tgz) = b1e0633fb648a4044ba549c82b2ae159 -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv iQCVAwUBPBak7YlEzDsA2VydAQEZZAP9FgDVpbf4NEupedYSjsHAVvnEoM6rXfsT KQj911dBDXKvsu92tYxwD5LQDLZ+85nKjx4TZ4z/Po6MvixPwlTeGHm6CpvaB5DS K8UJRQw+KfK3P8ddl/GqqOzLHo+5shGOgyxEfpftBb2PhH24J2B2MCAl40ThvAxW sOgUBAt/4Cw= =56EC -END PGP SIGNATURE- ON the web server: bash$ cd DISTRIB bash$ ls LPRng LPRngTool ifhp bash$ cd LPRng bash$ ls LPRng-3.8.3-1.i386.rpm LPRng-3.8.3-1.src.rpm LPRng-3.8.3.tgz LPRng-3.8.3.tgz.md5 bash$ ls -l LPRng-3.8.3.tgz -rw-r--r--1 lprngshells5412316 Dec 12 07:37 LPRng-3.8.3.tgz bash$ md5sum LPRng-3.8.3.tgz b1e0633fb648a4044ba549c82b2ae159 LPRng-3.8.3.tgz ON the FTP server: bash-2.04$ ls temp virtual_ftp xferlog bash-2.04$ cd virtual_ftp bash-2.04$ ls bin dev etc pub usr bash-2.04$ cd pub/LPRng bash-2.04$ ls 00-INDEX.TXT FILTERS ifhp LPRng LPRngTool PICOBSD plp_snprintf SAMBA SNMPTOOLS TOOLS UNIXTOOLS WINDOWS bash-2.04$ cd LPRng bash-2.04$ md5sum LPRng-3.8.3.tgz b1e0633fb648a4044ba549c82b2ae159 LPRng-3.8.3.tgz bash-2.04$ And finally: bash-2.04$ tar ztf LPRng-3.8.3.tgz LPRng-3.8.3/ LPRng-3.8.3/src/ LPRng-3.8.3/src/AUTHENTICATE/ LPRng-3.8.3/src/AUTHENTICATE/sserver.c LPRng-3.8.3/src/AUTHENTICATE/sclient.c LPRng-3.8.3/src/common/ LPRng-3.8.3/src/common/stty.c LPRng-3.8.3/src/common/vars.c LPRng-3.8.3/src/common/user_objs.c LPRng-3.8.3/src/common/sendjob.c LPRng-3.8.3/src/common/sendauth.c LPRng-3.8.3/src/common/printjob.c LPRng-3.8.3/src/common/monitor.c LPRng-3.8.3/src/common/lpstat.c LPRng-3.8.3/src/common/lpd_jobs.c LPRng-3.8.3/src/common/lpd.c LPRng-3.8.3/src/common/lockfile.c LPRng-3.8.3/src/common/lpbanner.c LPRng-3.8.3/src/common/lpc.c LPRng-3.8.3/src/common/lpr.c LPRng-3.8.3/src/common/lpd_control.c LPRng-3.8.3/src/common/lpf.c LPRng-3.8.3/src/common/merge.c LPRng-3.8.3/src/common/lpq.c LPRng-3.8.3/src/common/lprm.c LPRng-3.8.3/src/common/permission.c LPRng-3.8.3/src/common/plp_snprintf.c LPRng-3.8.3/src/common/debug.c LPRng-3.8.3/src/common/proctitle.c LPRng-3.8.3/src/common/md5.c LPRng-3.8.3/src/common/linelist.c LPRng-3.8.3/src/common/sendreq.c LPRng-3.8.3/src/common/child.c LPRng-3.8.3/src/common/krb5_auth.c LPRng-3.8.3/src/common/sendmail.c LPRng-3.8.3/src/common/utilities.c LPRng-3.8.3/src/common/lpd_status.c LPRng-3.8.3/src/common/getopt.c LPRng-3.8.3/src/common/lpd_remove.c LPRng-3.8.3/src/common/globmatch.c LPRng-3.8.3/src/common/getqueue.c LPRng-3.8.3/src/common/lpd_rcvjob.c LPRng-3.8.3/src/common/fileopen.c LPRng-3.8.3/src/common/copyright.c LPRng-3.8.3/src/common/lpd_secure.c LPRng-3.8.3/src/common/errormsg.c LPRng-3.8.3/src/common/lpd_logger.c LPRng-3.8.3/src/common/controlword.c LPRng-3.8.3/src/common/gethostinfo.c LPRng-3.8.3/src/common/getprinter.c LPRng-3.8.3/src/common/initialize.c LPRng-3.8.3/src/common/user_auth.stub LPRng-3.8.3/src/common/checkpc.c LPRng-3.8.3/src/common/accounting.c LPRng-3.8.3/src/common/linksupport.c LPRng-3.8.3/src/common/lpd_dispatch.c LPRng-3.8.3/src/include/ LPRng-3.8.3/src/include/lpr.h LPRng-3.8.3/src/include/lp.h LPRng-3.8.3/src/include/sendreq.h LPRng-3.8.3/src/include/sendmail.h LPRng-3.8.3/src/include/proctitle.h LPRng-3.8.3/src/include/portable.h LPRng-3.8.3/src/include/permission.h LPRng-3.8.3/src/include/lpd.h LPRng-3.8.3/src/include/printjob.h LPRng-3.8.3/src/include/debug.h LPRng-3.8.3/src/include/lpq.h LPRng-3.8.3/src/include/child.h LPRng-3.8.3/src/include/lprm.h LPRng-3.8.3/src/include/readstatus.h LPRng-3.8.3/src/include/md5.h LPRng-3.8.3/src/include/control.h LPRng-3.8.3/src/include/lpd_jobs.h LPRng-3.8.3/src/include/lpc.h LPRng-3.8.3/src/include/merge.h LPRng-3.8.3/src/include/sendjob.h LPRng-3.8.3/src/include/license.h LPRng-3.8.3/src/include/lpd_logger.h LPRng-3.8.3/src/include/stty.h LPRng-3.8.3/src/include/linelist.h LPRng-3.8.3/src/include/globmatch.h LPRng-3.8.3/src/include/getopt.h LPRng-3.8.3/src/include/gethostinfo.h LPRng-3.8.3/src/include/initialize.h LPRng-3.8.3/src/include/getprinter.h LPRng-3.8.3/src/include/getqueue.h LPRng-3.8.3/src/include/krb5_auth.h LPRng-3.8.3/src/include/fileopen.h LPRng-3.8.3/src/include/lpd_rcvjob.h LPRng-3.8.3/src/include/lockfile.h LPRng-3.8.3/src/include/errormsg.h LPRng-3.8.3/src/include/lpd_control.h
Re: LPRng: Sun lpq and LPRng
hi, there is a little chance to fix this by using the 'reverse_lpq_status=hostname' option in lpd.conf, I think I remember that SOLARIS sometimes requests a short status instead of a long status or vice versa (?) maybe this helps ~christoph Akop Pogosian wrote: At our site we use LPRng on the print server. However, the user utilities like lpq, lpr, lpstat, etc has not been replaced. This is on Solaris 2.6 by the way. When we were running LPRng-3.6.26 on the server, the /usr/ucb/lpq output looked similar to what now the LPRng lpq prints, e.g.: Printer: test@blue1 'Public HP 8150DN in 708C Evans' Queue: no printable jobs in queue Server: no server active Status: job 'cfA323gold' saved at 21:30:22.303 Filter_status: done at 21:30:22.123 Rank Owner/ID Class Job Files Size Time done akopps A 323 standard input8000 21:29:01 Once I upgraded to LPRng-3.8.2, the /usr/ucb/lpq output changed to something like this: $ lpq -Php1 hp1@blue1 3 jobs I saw a similar behavior with Solaris 8 lpq and LPRng-3.7.x Is there a way to make the Sun lpq more verbose other than replacing it with the LPRng binary? -akop - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: How to setup print server redundancy/failover
well, as long as the lpd on the first server accepts the job from the client he will get them, if he's down the next server is in line... On Thu, 6 Dec 2001, Joel Hammer wrote: Isn't this what load balancing would solve? Joel On Thu, Dec 06, 2001 at 01:06:18AM +0100, [EMAIL PROTECTED] wrote: hey, great there is only one thing, the lpd on the corrupt machine must be down or not accepting the jobs so that the second machine takes over. I had once a problem with outgoing jobs (the interface was broken) so in that case the failover didn't help me because the lpd on the first server accepted all the jobs but did not send them to the printers - 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. - - 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. -
RE: LPRng: How to setup print server redundancy/failover
hey, great there is only one thing, the lpd on the corrupt machine must be down or not accepting the jobs so that the second machine takes over. I had once a problem with outgoing jobs (the interface was broken) so in that case the failover didn't help me because the lpd on the first server accepted all the jobs but did not send them to the printers regards ~christoph On Wed, 5 Dec 2001, Osman, Mohamed wrote: Thanks again. I had typo for the name of the 1st host listed and it failed. You would think it will move to the next host. Once I corrected that it works. Regards, Mohamed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 8:35 PM To: '[EMAIL PROTECTED]' Subject: RE: LPRng: How to setup print server redundancy/failover hi, on my clients I use something like: printer_name_on_client:\ :rm=server1,server2:\ :rp=queue_on_server:\ :sd=spooldirectory:\ :mx#0: naturally the binaries must be LPRng, though the server binaries don't need to. I just tried it on the 3.8.1 version (I'm running an older one) and it runs there too without any problems, you probably have a syntax error (?) regards ~christoph On Tue, 4 Dec 2001, Osman, Mohamed wrote: Yes, that's exactly what I was trying to do, except it is not working for me. I tried the following: rm=server1,server2 but all I get back when I do lpstat is: no server active, and it attempts to open connection with server1,server2 as one word, which is not what I wanted. I have tried separating space after the comma but that did not help either. Any idea what I am doing wrong? An example printcap would help. Regards, Mohamed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 12:26 PM To: '[EMAIL PROTECTED]' Subject: Re: LPRng: How to setup print server redundancy/redundancy hi, there is a cool undocumented feature in LPRng which might be ineresting for you: if you create an entry like rm=spool1,spool2,spool3 on your client all the mentioned server will be tried. I use this on ~2000 UNIX clients with 2 servers and it works perfect. regards ~christoph On Fri, 30 Nov 2001, Osman, Mohamed wrote: Hi, I have few centralized UNIX Print Servers with lprng and several hundreds UNIX clients that use them. The print servers in turn send the jobs via LPD to Windows Print Servers. The reason that was done this way is that we do not maintain the Windows servers. So a typical printcap on the clients looks like this: *:\ :sd=/var/spool/lpd/printers:\ :mx#0:\ :sh:\ :rm=server-name This works as you expect, but we wanted to route the jobs (fail over to other servers) if the above server were to crash w/o impacting the users. I have updated the printcap file to look like this: *:\ :sd=/var/spool/lpd/printers:\ :mx#0:\ :sh:\ :rm=server1 # *:\ :sd=/var/spool/lpd/printers:\ :mx#0:\ :sh:\ :rm=server2 The intention was if a particular printer is not available on server1 then server2 will be searched, or if server1 was down then all jobs will be routed to server2. That's not was is happening. At all time only server2 is searched, in other words the last entry is the one looked at. Has anyone attempted doing similar thing? Is there anything in the documentation that deals with this issue that I have overlook at? Thanks, = Mohamed Osman NW Engineering Computing Intel Corp Email:[EMAIL PROTECTED] = - 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. - - 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
Re: LPRng: Problems printing with smbprint + ifhp
hi, I'm not sure because I don't use that version but did you look in the lpd.conf file for the value of 'done_jobs=' it should probably be set to 0 otherwise it might confuse the SAMBA stuff hope this helps regards ~christoph On Tue, 4 Dec 2001, Dominick Layfield wrote: I am having problems printing through a Windows print server. I can print directly through the /usr/bin/smbprint script: i.e. cat test.ps | /usr/bin/smbprint works perfectly ( returns status 0) But when I try to print with lpr through ifhp, the job appears in the print queues of both the Unix host and and the NT print server, but never clears. (lprm'ing the job clears it on the NT queue also) In the course of trying to track down the error, I reduced smbprint to a minimum, and incorporated username and password into the script: (erased here) #!/bin/sh # Minimal version of SMBPRINT /bin/cat | /usr/bin/smbclient //gasgeneral/cardiac_anes PWORD -U USER \ -c 'print -' -P -E 2 /dev/null The printcap entry looks like the examples in the LPRng documentation: smbprinter: :sd=/var/spool/lpd/smbprinter :lp=|/usr/bin/smbprint :ifhp=model=hp4050 :filter=/usr/libexec/filters/ifhp Output from lpq looks normal: Printer: smbprinter@localhost Queue: 1 printable job Server: pid 3249 active Unspooler: pid 3250 active Status: processing 'dfA248localhost.localdomain', size 8446, format 'f', IF filter 'ifhp' at 15:47:15.802 Filter_status: getting sync using 'pjl echo' at 15:47:16.069 Rank Owner/ID Class Job Files Size Time active dom@localhost+248A 248 test.ps 8446 15:47:15 lpr -V looks normal, (as does lpq -L to my inexperienced eyes). I'm using recent versions of ifhp (3.4.9-1), LPRng (3.8.2-1), samba (2.2.1a) on a Red Hat 6.2 machine with various RPMs upgraded. Does anyone have any ideas? I've wasted two days on this problem so far! Thanks for your help, -- Dom Layfield - 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. - - 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. -
RE: LPRng: How to setup print server redundancy/failover
hi, on my clients I use something like: printer_name_on_client:\ :rm=server1,server2:\ :rp=queue_on_server:\ :sd=spooldirectory:\ :mx#0: naturally the binaries must be LPRng, though the server binaries don't need to. I just tried it on the 3.8.1 version (I'm running an older one) and it runs there too without any problems, you probably have a syntax error (?) regards ~christoph On Tue, 4 Dec 2001, Osman, Mohamed wrote: Yes, that's exactly what I was trying to do, except it is not working for me. I tried the following: rm=server1,server2 but all I get back when I do lpstat is: no server active, and it attempts to open connection with server1,server2 as one word, which is not what I wanted. I have tried separating space after the comma but that did not help either. Any idea what I am doing wrong? An example printcap would help. Regards, Mohamed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 12:26 PM To: '[EMAIL PROTECTED]' Subject: Re: LPRng: How to setup print server redundancy/redundancy hi, there is a cool undocumented feature in LPRng which might be ineresting for you: if you create an entry like rm=spool1,spool2,spool3 on your client all the mentioned server will be tried. I use this on ~2000 UNIX clients with 2 servers and it works perfect. regards ~christoph On Fri, 30 Nov 2001, Osman, Mohamed wrote: Hi, I have few centralized UNIX Print Servers with lprng and several hundreds UNIX clients that use them. The print servers in turn send the jobs via LPD to Windows Print Servers. The reason that was done this way is that we do not maintain the Windows servers. So a typical printcap on the clients looks like this: *:\ :sd=/var/spool/lpd/printers:\ :mx#0:\ :sh:\ :rm=server-name This works as you expect, but we wanted to route the jobs (fail over to other servers) if the above server were to crash w/o impacting the users. I have updated the printcap file to look like this: *:\ :sd=/var/spool/lpd/printers:\ :mx#0:\ :sh:\ :rm=server1 # *:\ :sd=/var/spool/lpd/printers:\ :mx#0:\ :sh:\ :rm=server2 The intention was if a particular printer is not available on server1 then server2 will be searched, or if server1 was down then all jobs will be routed to server2. That's not was is happening. At all time only server2 is searched, in other words the last entry is the one looked at. Has anyone attempted doing similar thing? Is there anything in the documentation that deals with this issue that I have overlook at? Thanks, = Mohamed Osman NW Engineering Computing Intel Corp Email:[EMAIL PROTECTED] = - 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. - - 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. - - 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]
Re: LPRng: messages in printer display
hey, but it worked in older versions of IFHP and I loved it !!! see you ~christoph On Sat, 1 Dec 2001, Patrick Powell wrote: From [EMAIL PROTECTED] Mon Nov 26 10:45:39 2001 Date: Mon, 26 Nov 2001 12:45:08 -0500 (EST) From: Ryan Novosielski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: LPRng: messages in printer display This isn't exactly the problem -- the problem is I *like* the \%s{n}..., and instead I am getting PROCESSING JOB FROM TRAY 2 which is something the printer is saying. This is not useful information to me. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 732/235.4473 (5-4473) \__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11 It looks like whenever there is a PostScript command in the data file to select trays that the HP5 will display the current tray... Just my suspicion now, based on 1 trial with 1 document using 'manual feed' 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. - - 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. -
Re: LPRng: printer errors
hi, looks like a postscript error, maybe you can turn on the postscript error handler on the printer, and capture the PS file... regards ~christoph Phil Moses wrote: Anyone have a take on this? Error: syntax error OFFENDING COMMAND: --no string value -- I am getting this from a phaser 740 printing from lprng 3.7.4 on Solaris 7. Thanks, Phil - 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. - - 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. -
Re: LPRng: messages in printer display
hey, I looked at the source a bit, there are some major changes in 3.4.7 in the code concerning printer display messages. As this seems to be a topic for a few people using IFHP, it would perhaps be nice to be able to manage the whole behaviour by ifhp.conf entrys. Something like 'message at start of printjob', 'message during printing', 'message at end of printjob' and perhaps the general behaviour, but I think that the constant display of '$message during printing' while processing and printing the job is much better than the 'processing blah from blah' message of the printengine... Is there any chance to realize something alike ? take care ~christoph Ryan Novosielski wrote: Yeah, I have, but I haven't found anyplace to turn it off or anything like that... I suspect I'm stuck with it, but maybe I just haven't looked deep enough in the menu maps. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 732/235.4473 (5-4473) \__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11 On Mon, 26 Nov 2001, Dave Lovelace wrote: Ryan Novosielski wrote: This isn't exactly the problem -- the problem is I *like* the \%s{n}..., and instead I am getting PROCESSING JOB FROM TRAY 2 which is something the printer is saying. This is not useful information to me. Is it possible that this is setup controlled at the printer? Knowing you, you've probably also considered that, but I thought I'd ask. -- - Dave Lovelace [EMAIL PROTECTED] [EMAIL PROTECTED] - 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. - - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: spooling to windows lpd
hi, multiple possibilities: on the command line:'lpr -Fl -Pprinter or lpr -l -Pprinter in the printcap: 'default_format=l' (or 'global' in the lpd.conf file with the same entry) (this works only on the client, the machine that creates the controlfile) do the translation for incoming jobs on the printserver: 'translate_incoming_format=fl' (in the printcap or the lpd.conf file) reagards ~christoph Rajeev Agrawala wrote: As per windows FAQ, if you wish to spool to windows lpd server l cahracter must be passed to windows lpd for passing the job directly to printer. Following is the text from Microsoft site The Windows NT LPD Service follows the RFC1179 specification. This states that the LPR client must tell the LPD server how to handle the print job. If the client formats the job, it must send the l control character to instruct the LPD server to print the job without any alteration. How can I make LPRng lpd server send 'l' character. Without this, windows lpd prints the actual postscript I sent to the lpd server. Here is my printcap entry. I am using LPRng-3.7.4: hp|Hp Laserjet 6mp:\ :lpd_bounce:\ :rp=hp:lp=hp@pc:\ :af=/var/log/printer/acct:\ :lf=/var/log/printer/hp-errs:\ :sd=/var/spool/lpd/hp:\ :sh:\ :bk:\ :mx=0:ff_separator@:\ :if=/opt/ifhp/libexec/filters/ifhp -Tdebug=0 -Tmodel=hp6mp: Thanks, rajeev - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: Page Counting
/accounting.pl start :ae=|/usr/local/libexec/filters/accounting.pl end :filter=/usr/local/libexec/filters/ifhp :of=/usr/local/libexec/filters/ifhp :ifhp=model=hp4000,of_options=status pagecount waitend #:ifhp=model=default #:of=/usr/local/libexec/filters/ifhp #:ifhp=model=hp6p,of_options=sync pagecount waitend Any help with this would be greatly appreciated :-) PS: Does anyone know where to find a PJL Technical Reference from HP? We have the PCL 5e technical reference in PDF from HP, but even though the cover says PCL/PJL it barely mentions PJL, and pagecount and page count certainly don't exist anywhere in the document. Regards, Chris Lee - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: W2K/NT to Samba printing
hi, using SAMBA 2.2.0 or higher you need to define something like: [print$] path = /usr/spool/lp/samba/printers write list = lp read only = Yes guest ok = Yes browseable = Yes which is the place where SAMBA will store the driver, '/usr/spool/lp/samba/printers' must contain a directory W32X86 for the NT/W2K driver. You can than use a NT desktop to install the driver, logged on as printer admin, using the 'new driver' function on the 'printer definiton' card from the queue window. Read the PRINTING README from your SAMBA distribution for further details... regards ~christoph On Mon, 19 Nov 2001, Christian Hoss wrote: I am trying to move NT, W2K Win ME printing off of Windows to my samba server. I have been successful in printing from Linux boxes, but not Windows - loading HP5si drivers on my W2K machine creates a printer that won't let me map to the Samba server, only by adding the Printer Driver = HP LaserJet 5si can I see the print queue . How do I install the NT W2K drivers on Samba? ithp:tc=.client mktghp:tc=.client prod1hp:tc=.client prod2hp:tc=.client .client :lp=%P@localhost :force_localhost ithp:server\ :lp=it_5si.industrialinfo.com%9100:\ :ifhp=model=hp5si,status@:\ :filter=/usr/libexec/filters/ifhp:\ :sd=/var/spool/lpd/it_5si:\ :tc=.common: .common :mx=0:\ :lf=/var/spool/lpd/printer-log: # Global parameters [global] workgroup = SERVERS netbios name = SAMBATEST server string = For all your file print sharing needs encrypt passwords = Yes update encrypted = Yes os level = 65 preferred master = True domain master = True wins support = Yes printer admin = @ntadmin [printers] path = /var/spool/lpd print ok = Yes printing = lprng load printers = Yes guest ok = yes printcap name = /etc/printcap printer driver = HP LaserJet 5si print command = /usr/bin/lpr -P%p -r %s lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j lppause command = /usr/bin/lpc hold %p %j lpresume command = /usr/bin/lpc release %p %j queuepause command = /usr/bin/lpc -P%p stop queueresume command = /usr/bin/lpc -P%p start - 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. -
Re: LPRng: Command lines...
hi, RFC1179 is probably what you are looking for regards ~christoph Daniel William Schultz wrote: Hi all, It's the first time I wrote to this list ( usually I only read the emails ), but now I have a doubt... The port of LPRng is 515... telnet host 515 gives me a prompt... Here in my company there is a Delphi programmer, and we asked him to do an SpoolManager that run on Windows accessing the LPrng spool on Linux, but we have to find some doc about this commands... Any help is welcome, and If we make this program we will release it based on GPL.. Thanks in advance, Daniel. - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: Wierd problem with HP 4M+
yes,it is locked by the way regards ~christoph Patrick Powell wrote: From [EMAIL PROTECTED] Thu Nov 1 08:58:42 2001 From: [EMAIL PROTECTED] Date: Thu, 1 Nov 2001 16:48:14 +0100 (MET) To: [EMAIL PROTECTED] hi, I'm having some problems with the 'HP Laserjet 4M+', it seems that sometimes (actually quite often) the number of default copies in the printer menu is changed by IFHP which naturally results in multiple copies of every following printjob :-( Any ideas anyone ??? thanks ~christoph When you say 'printer menu' do you mean the menu displayed by the printer on the LED controls? Patrick Powell Astart Technologies, [EMAIL PROTECTED]9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.lprng.com) - 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. - - 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. -
Re: LPRng: two startup scripts?
hi, yes I had the same 'curiosity' I deleted one of them by hand... regards ~christoph Phil Moses wrote: Hello, With a fresh install of lprng 3.7.4 I now have two startup scripts in /etc/rc2.d. S60lprng and S80lprng. Out of curiosity I removed everything and re-compiled, reciving two startup scripts again. These both point to the same ../init.d/lprng. So I know I do not need them both but just wondered why I have two. Has anyone else seen this? ( Oh, Solaris7 is the platform it is running on) Thanks, Phil - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: hp8100dn long ps
hi, 'netzkonf.=aus' means you are not using bootp to give the printer IP adress, host access lists etc. If you wanna speed up your printerhardware you should give it some additional memory. The ones I run have ~90 MB memory and are quite fast. If you want to you can also send me the file, and I try it here (which would probably take place tomorrow) take care ~christoph Krammer Clemens wrote: On Wed, Nov 07, 2001 at 11:16:30AM +0100, christoph beyer wrote: hi, I defined the spooldirectory in the global lpd.conf file (/usr/../%P) where %P gets expanded to the printername. Did you try to send the ps file directly to the printer: lpr [EMAIL PROTECTED] ? well, i tried that. it takes the same long time, i understand that the printer or the jetdirect interface is misconfigured or so. it seems to be a postscript problem, cause text prints very fast. i stepped through the printer menu - very confusing, there was an item ei0 2 jetdirect conf. where netzkonf. = AUS. very strange. i have no ideas anymore - seems i have to print from my windows laptop (graus) best regards clemens - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: hp8100dn long ps
hi, I defined the spooldirectory in the global lpd.conf file (/usr/../%P) where %P gets expanded to the printername. Did you try to send the ps file directly to the printer: lpr [EMAIL PROTECTED] ? You can try all available ports on the printer like this to see if there are fast and slow ones. If it still takes as long to get the job printed it's probably the printer having problems (the 81xx series from HP is a mess in every sense). In that case you could try some tuning of the jetdirect card (IO buffer etc) but I'm not a specialist in that. Another thing would probably be to turn on the postscript error handler of the machine to see if he's complaining about something... regards + gruesse ~christoph P.S.: the 'translate_incoming..' stuff is just for forwarded NT jobs to get the correct file format entry Krammer Clemens wrote: On Tue, Nov 06, 2001 at 09:49:52PM +0100, [EMAIL PROTECTED] wrote: hi, I think the port you use is the problem, the jetdirectcards usually work better using the port 9100 then 515 (lp) though there is a lpd daemon running... you can use rp=9100 my printcap entry: h01ps4t|1b_338_t|HP_8150DN PS_2 1 A4t:\ :lp=h01ps4%9100:\ :bp=/usr/libexec/filters/psbanner:\ :of=/usr/libexec/filters/ifhp:\ :ifhp=model=hp8000,status@:\ :filter=/usr/libexec/filters/ifhp -Ttransparency:\ :translate_incoming_format=lf:\ :ab:\ :mx#0:\ :du#16:\ : hmmm i modified this printcap to lp3|1b_338_t|HP_8150DN PS_2 1 A4t:\ :lp=10.43.224.51%9100:\ :of=/opt/DRKifhp/libexec/filters/ifhp:\ :ifhp=model=hp8000,status@:\ :filter=/opt/DRKifhp/libexec/filters/ifhp -Ttransparency:\ :translate_incoming_format=lf:\ :ab:\ :mx#0:\ :du#16:\ :sd=/var/spool/lpd/test2:\ i changes the ip-adress, the filters directories and added a spool directory (do you print without one?). -- still the same problem. printing works, but it took 8 mins to print a 2-pages postscript. der weg ist steinig best regards, clemens - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
Re: LPRng: hp8100dn long ps
hi, I think the port you use is the problem, the jetdirectcards usually work better using the port 9100 then 515 (lp) though there is a lpd daemon running... you can use rp=9100 my printcap entry: h01ps4t|1b_338_t|HP_8150DN PS_2 1 A4t:\ :lp=h01ps4%9100:\ :bp=/usr/libexec/filters/psbanner:\ :of=/usr/libexec/filters/ifhp:\ :ifhp=model=hp8000,status@:\ :filter=/usr/libexec/filters/ifhp -Ttransparency:\ :translate_incoming_format=lf:\ :ab:\ :mx#0:\ :du#16:\ : take care ~christoph On Tue, 6 Nov 2001, Krammer Clemens wrote: hi there, i recently set up lprng with ifhp. works fine for test files, but when printing postscript files it takes several minutes (!) till the output comes. heres my printcap: lp|doppel:\ :sh:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/lp:\ :rm=10.43.224.51:\ :rp=lp:\ :lpd_bounce=true:\ :append_z=duplex,a4 :ifhp=model=hp8100,status@ :filter=/opt/DRKifhp/libexec/filters/ifhp when invoking lp test.ps (a example with 2 pages) the user and file appeear at the hp-display, but it takes a very long time till the page is printed. the lpq shows vieiscmgmt43:~ lpq - Printer: lp@vieiscmgmt43 'doppel' (dest [EMAIL PROTECTED]) Queue: 1 printable job Server: pid 20167 active Unspooler: pid 20168 active Rank Owner/ID Class Job Files Size Time active drk@vieiscmgmt43+166 A 166 /tmp/AcroOCaaxN 161172 14:43:55 Printer '[EMAIL PROTECTED]' - cannot open connection - Connection timed out also i cant ping the printer interface at this time. after printing lpq and ping work fine. maybe i schould configure the sync option in ifhp.conf or so... tahnks in advance, clemens - 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. - - 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. -
Re: LPRng: Multiple copies
hi, thanks for your help, I have been thinking about somethinge like that. But I ran these printers for some years with a bunch of shell scripts as a filter without any problems, so I thought there might be something in the IFHP filter that triggers this stuff. I'm also worried a bit because the number of default copies is written in the flashrom of the printer and I experienced that after a certain number of write accesses the flashrom breaks and is not writeable anymore. Thank you for the piece of postscript anyway, I will put it in the filter and then just let them run as long as they work ;-) By the way my shell-script filters are heavily using the hpnp commandline tool but it seems to have disappeared from the HP website, they probably think that webjetadmin is a replacement (?) thank you very much !!! take care ~christoph On Fri, 2 Nov 2001, Jim Easton wrote: christoph beyer wrote: but I actually mean something different: after a while the default number of copies entry in the internal printer menu is set to e.g. 13 copies, which automatically results in 13 copies of every job you send. This is probably done by some pjl string but I don't know which one and where it comes from I can suggest where it might be coming from: The number of copies can be set by the postscript file. Likely a user has asked for 13 copies. Naturally the postscript doesn't set it back and that leaves the printer with /NumCopies set. If LPRng doesn't have a option with which you can force, or at least default, the number of copies to 1 you could send it the following postscript file. %! /NumCopies 1 setpagedevice As an interesting note: years ago our administrator decreed that multiple copies were not allowed because photocopying was cheaper. (In fact it was - by quite a bit) Since this didn't cut no ice with the users I ended up putting a catch in the filter which forbad the setting of /NumCopies - complaints predictable. This did not however prevent some enterprising sole (sic.) from setting the console to multiple copies. Of course he didn't set it back - they never do - and after that we got several copies of every job. :-( So I added a default of one. That worked just fine until one day people were telling me that one of our printers was printing two copies of the banner - I had forgotten to default the banner too - sigh. Jim - 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. - - 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. -
LPRng: Re: your mail
thanks, but I actually mean something different: after a while the default number of copies entry in the internal printer menu is set to e.g. 13 copies, which automatically results in 13 copies of every job you send. This is probably done by some pjl string but I don't know which one and where it comes from take care ~christoph Tony Graham wrote: force 1 copy. lpr -K 1 -Pprinteranme file or lpr -# 1 ... man lpr lpr [ -A ] [ -B ] [ -b,l ] [ -C class ] [ -D debugopt ] [ -F filterformat ] [ -G ] [ -h ] [ -i indentcols ] Tony Graham phone- +45 35878925 fax - +45 35878990 e-mail [EMAIL PROTECTED] [ -k ] [ -J job ] [ -K,# copies ] On Thu, 1 Nov 2001 [EMAIL PROTECTED] wrote: [ -m mailTo ] [ -o options ] [ -P printer ] [ -Q ] [ -r ] hi, [ -R remoteAccount ] [ -s ] [ -T title ] [ -U user ] [ -V ] [ -w width ] [ -X userfile ] [ -Y ] [ -Z options I'm having some problems with the 'HP Laserjet 4M+', it seems that ] [ -1,2,3,4 font ] sometimes (actually quite often) the number of default copies in the [ filename ... ] printer menu is changed by IFHP which naturally results in multiple copies of every following printjob :-( Any ideas anyone ??? thanks ~christoph - 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
LPRng: IFHP loops
hi Patrick, I still have some problems with IFHP looping and blocking the printer, I changed the 'waitend_interval=10' which was a big improvement. But as soon as something abnormal happens, like the printer gets offline during job transfer e.g. IFHP goes into a loop consuming 50% or more of my cpu. In the situation below the job is not printed, probably because of postscript errors (?) What happens from time to time. After a while the job gets cancelled on the display (by the user) and a few minutes later IFHP goes into a loop... Is there any chance to fix this ??? thanks ~christoph LPRng 3.6.26 IFHP 3.4.4 printcap: r02ps10|2b_200_p1|HP_4050N PS_2 2 A4 p Gerhard Schroth, 3589:\ :lp=r02ps10%9100:\ :bp=/usr/spool/lp/filters/psbanner.load:\ :of=/usr/libexec/filters/ifhp:\ :ifhp=model=hp4050,debug=2:\ :filter=/usr/libexec/filters/ifhp:\ :translate_incoming_format=lf:\ :ab:\ :mx#0:\ :du#16:\ ifhp.conf: waitend_interval=10 sync@ pagecount@ lpq -L -Pr02ps10: # (1) ... Filter_status: Write_read_timeout: Read_status_timeout returned 0 at 12:10:05.208 Filter_status: Read_status_timeout: timeout -1, read() returned 63, count 63 at 12:10:15.314 Filter_status: Read_status_timeout: read count 63, '@PJL USTATUS TIMED^M Filter_status: CODE=10030^M Filter_status: DISPLAY=reest^M Filter_status: ONLINE=TRUE^M Filter_status: ^L' at 12:10:15.314 Filter_status: Write_read_timeout: Read_status_timeout returned 0 at 12:10:15.314 Filter_status: Read_status_timeout: timeout -1, read() returned 63, count 63 at 12:10:25.420 Filter_status: Read_status_timeout: read count 63, '@PJL USTATUS TIMED^M Filter_status: CODE=10030^M Filter_status: DISPLAY=reest^M Filter_status: ONLINE=TRUE^M Filter_status: ^L' at 12:10:25.420 Filter_status: Write_read_timeout: Read_status_timeout returned 0 at 12:10:25.420 Filter_status: Read_status_timeout: timeout -1, read() returned 63, count 63 at 12:10:35.526 Filter_status: Read_status_timeout: read count 63, '@PJL USTATUS TIMED^M Filter_status: CODE=10030^M Filter_status: DISPLAY=reest^M Filter_status: ONLINE=TRUE^M Filter_status: ^L' at 12:10:35.526 lpq -L -Pr02ps10: # (2) Filter_status: CODE=10007^M Filter_status: DISPLAY=CANCELING JOB^M Filter_status: ONLINE=TRUE^M Filter_status: ^L' at 12:21:02.106 Filter_status: Write_read_timeout: Read_status_timeout returned 0 at 12:21:02.107 Filter_status: Read_status_timeout: timeout -1, read() returned 71, count 71 at 12:21:12.212 Filter_status: Read_status_timeout: read count 71, '@PJL USTATUS TIMED^M Filter_status: CODE=10007^M Filter_status: DISPLAY=CANCELING JOB^M Filter_status: ONLINE=TRUE^M Filter_status: ^L' at 12:21:12.213 Filter_status: Write_read_timeout: Read_status_timeout returned 0 at 12:21:12.213 Filter_status: Read_status_timeout: timeout -1, read() returned 71, count 71 at 12:21:22.318 Filter_status: Read_status_timeout: read count 71, '@PJL USTATUS TIMED^M Filter_status: CODE=10007^M Filter_status: DISPLAY=CANCELING JOB^M Filter_status: ONLINE=TRUE^M Filter_status: ^L' at 12:21:22.319 Filter_status: Write_read_timeout: Read_status_timeout returned 0 at 12:21:22.319 truss: fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF048, 0) = 0 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF04C, 0) = 0 setsockopt(1, 65535, 8192, 0xFFBEF050, 4, 0)= 0 fcntl(1, F_SETFL, 0x0002) = 0 poll(0xFFBEF4F8, 1, -1) = 1 fcntl(1, F_GETFL, 0x) = 2 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF048, 0) = 0 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF04C, 0) = 0 setsockopt(1, 65535, 8192, 0xFFBEF050, 4, 0)= 0 fcntl(1, F_SETFL, 0x0082) = 0 getcontext(0xFFBEEEF8) alarm(0)= 0 sigaction(SIGALRM, 0xFFBEEF28, 0xFFBEEFA8) = 0 sigprocmask(SIG_UNBLOCK, 0xFFBEEFD8, 0xFFBEF04C) = 0 read(1, 0xFFBEF120, 1023) = 0 sigaction(SIGALRM, 0xFFBEEF98, 0xFFBEF018) = 0 alarm(0)= 0 fcntl(1, F_GETFL, 0x) = 130 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF048, 0) = 0 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF04C, 0) = 0 setsockopt(1, 65535, 8192, 0xFFBEF050, 4, 0)= 0 fcntl(1, F_SETFL, 0x0002) = 0 poll(0xFFBEF4F8, 1, -1) = 1 fcntl(1, F_GETFL, 0x) = 2 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535, 8192, 0xFFBEF050, 0xFFBEF048, 0) = 0 fstat64(1, 0xFFBEEF50) = 0 getsockopt(1, 65535,
LPRng: IFHP changes default copies in printer menu (?)
sorry for the repost... hi, I'm having some problems with the 'HP Laserjet 4M+', it seems that sometimes (actually quite often) the number of default copies in the printer menu is changed by IFHP which naturally results in multiple copies of every following printjob :-( Any ideas anyone ??? thanks ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -
[no subject]
hi, I'm having some problems with the 'HP Laserjet 4M+', it seems that sometimes (actually quite often) the number of default copies in the printer menu is changed by IFHP which naturally results in multiple copies of every following printjob :-( Any ideas anyone ??? thanks ~christoph - 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. -
Re: LPRng: HP5si vs ifhp
David W. Taylor wrote: Could some kind soul post their hp 5si or 5simx printcap entry with ifhp handling the filter?? Mine is ignoring me and I'm sure its some minor tweek I'm missing. Mine looks like this... pr1|printer HP5SI:\ :sb:mx#0:lp=pr1.ra.intel.com%9100:\ :sd=/var/spool/printers/pr1:\ :lf=/var/spool/printers/pr1/log:\ :ifhp=model=hp5simx:\ :of=/var/spool/lp/lprng/ifhp:\ :filter=/var/spool/lp/lprng/ifhp:\ ^ this should do it, don't forget the 'lpc reread' regards ~christoph THX Dave -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - 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. -