Re: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs
Jim, Here's a note I posted to this list a while ago. Perhaps it is relevant to your problem. I ended up changing the push bit timeout from 200ms to 50ms on my AIX server. That sped up job transfer by a factor of four. -Rick Rick Cochran wrote: Here's a good one. Due to a performance problem with Samba, I encouraged all my users to switch to Microsoft's WinXP LPR, only to find that it was taking a factor of five longer to send print jobs to the server. Here's what's happening: An LPR transfer from Linux consists of a steady stream of packets with 1460 data bytes each. An LPR transfer from WinXP LPR consists of groups of 21 packets with 1460 bytes followed by a packet of 1340 bytes with the push bit set (total bytes = 30,000). The server responds to the push bit by waiting .2 seconds before sending an ack. All these waits slow the transfer down by a factor of 5 (on a 10Mb net). This is covered in http://support.microsoft.com/?kbid=816627 (ie. Be happy, it used to be worse). I would like a high quality alternative to Microsoft's LPR. Since our out-of-band Kerberos authentication method is likely to go away soon (because of NATs), I would _really_ like to have Kerberized LPR. Any suggestions? -- |Rick Cochran phone: 607-255-7618| |Cornell CIT - Systems Operations - Net-Print FAX: 607-255-8521| |730 Rhodes Hall, Ithaca, N.Y. 14853email: [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. -
LPRng: Any idea regarding this error ?
Any help would be appreciated date=2004-01-30-23:50:34.984 error=failed to send job '[EMAIL PROTECTED]' file_hostname=xx..xxx filenames=001xHWtd.P10 fromhost=xx..xxx held=0x0 hf_name=/var/spool/lpd/st02_hp4000tn/hfA017 hold_class=0x0 hold_time=0x0 [EMAIL PROTECTED] job_time=0x401adfba job_time_usec=0xf06f3 jobname=001xHWtd.P10 logname=xxx number=017 openname=/var/spool/lpd/st02_hp4000tn/cfA017co010p.sds.coop.no printable=0x1 priority=A prstatus=JFAIL queuename=st02_hp4000tn server=0 size=16918 start_time=0x401ae034 - 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: SLOW spooling of Word file containing 225 pgs of scann ed docs
-Original Message- From: Van Sickler, Jim Sent: Tuesday, March 16, 2004 11:36 AM To: '[EMAIL PROTECTED]' Subject: RE: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs -Original Message- From: Patrick Powell [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 6:41 PM To: [EMAIL PROTECTED] Subject: RE: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs From [EMAIL PROTECTED] Mon Mar 15 16:11:39 2004 Date: Mon, 15 Mar 2004 18:30:33 -0500 From: Van Sickler, Jim [EMAIL PROTECTED] Subject: RE: LPRng: SLOW spooling of Word file containing 225 pgs of scanned docs To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] ... The Lanier is a Ricoh Aficio 3800CMF rebranded. It's internal print firmware is fragile and poorly implemented. Printing PS3 directly to any of the various embedded print servers corrupts the queue listing, and eventually the printer won't accept any new jobs. Warm booting the printer 3-4 times a day gets to be annoying real fast. I've had to reformat the internal hard drive a couple of times in order to clean out all of the gremlins. AFAIK, I'm running the most recent firmware... Jim Ummm... given the large number of Good/Nice/Solid printers, have you considered donating this to an enemy? Patrick (An enemy is a friend that has to use this printer) Powell [%-) Actually, I'm pretty happy with it-once I figured out which drivers setup to use and which drivers setup to avoid, it's been very stable and productive. From a maintenance standpoint, it's fast/easy to swap out the fuser oil units, toner, photoconductors, etc. I only call out the vendor service when it's a major job, or the you break it, you pay for it variety. I call it The Chipper...feed trees in at one end, and print jobs spit out the other. I just thought of something- is this print path defective, as far as sending to port 9100 on the Lanier? samba1==LPRng server Win2k: Standard TCP/IP Port, custom: lpr, prints to [EMAIL PROTECTED] samba1: [EMAIL PROTECTED] works fine lanier%9100 doesn't I'll try using raw/port 9100 on the Win2k client and lanier%9100 in the printcap and let you know how it goes... It didn't...a Win2k printer test page won't print via raw/port 9100. It times out. If I change the port config to [EMAIL PROTECTED], it prints right away. It will print if I point the raw/port 9100 to the lanier's IP, vice the lpd on samba1. I'm not worried about using %9100; I'm concerned about the long time it takes to spool the large jobs. I've read Rick Cochran's msg, but can't seem to find where I'd change the timeout on my OpenBSD box. Rick, if you see this, could you point me in the right direction? If it's on the Win2k clients (all SP4), let me know where the reg setting is. 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. -
Re: LPRng: HF_NAME information missing
On Fri, 12 Mar 2004, Patrick Powell wrote: On Wed, Mar 10, 2004 at 10:23:21AM -0700, Mark Tamisiea wrote: Hi, We're using LPRng-3.8.26 and ifhp-3.5.17 on RHE 3.0 (both are compiled from source so that we could run both cups and lprng.) Everything works well when jobs are submitted from localhost, including both samba and cups submissions that print through lprng. However, jobs submitted via lpr/lp from external hosts (running both Tru64 and Solaris) stall temporarily with the following information in status.pr: hp: Set_hold_file: LOGIC ERROR- no HF_NAME in job information - [EMAIL PROTECTED] cftransfername=cfmyclient.Colorado.EDU D=2004-03-09-16:50:19.680 datafile_count=0 file_hostname=myclient.Colorado.EDU H=myclient.Colorado.EDU hold_time=0x0 job_time=0x404e583b job_time_usec=0xa58bc Q=hp remotehost=myclient.Colorado.EDU remoteport=0x3ff size=0 unixsocket=0x0 update_time=2004-03-09-16:50:19.680 at 2004-03-09-16:50:19.680 ## A=NULL number=0 pro cess=2555 waiting for subserver to exit at 2004-03-09-16:57:48.102 ## A=NULL number=0 process=2 572 subserver pid 2579 starting at 2004-03-09-16:57:48.102 ## [EMAIL PROTECTED] number =834 process=2579 As you can see from the last line, eventually, the job does print normally. Any advice on the cause or fix of this temporary failure would be greatly appreciated. Thanks, Mark It WAS a logic error. I was checking the wrong value in src/lpd_rcvjob.c. Try the following patch: *** common/lpd_rcvjob.c 2004/02/24 19:37:33 1.68 --- common/lpd_rcvjob.c 2004/03/12 18:26:09 Hi Patrick, Sorry for the delay in responding. I applied the patch (after stopping lpd, removing the installation directory and doing a distclean). Unfortunately, I still receive the same error message. Please let me know if I can help to debug this further. Thank you, Mark - 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. -