Re: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs

2004-03-18 Thread John Perkins
On Tue, 16 Mar 2004 13:36:17 -0500
Van Sickler, Jim [EMAIL PROTECTED] wrote:

   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.

 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.

This gives me a sort of sinking feeling...we just went and replaced 
a number of Xerox Phaser 5400 printers with Lanier LD045/LD060 copiers
and Lanier 2145 printers (rebranded Ricoh Aficio 1045/1060 and AP4510
products).  From what I've seen, the paper-handling mechanism is 
pretty solid in these units.  The network interface didn't seem to be 
any worse than other printers we've dealt with so far.

We also just installed a Lanier LP 020c color printer...no such delays
with.  Everything we print goes to a RedHat 9/LPRng print server, which
processes jobs and sends them out to the appropriate printer using 
port 9100/appsocket.  (Our Tektronix Phaser 850DP met an early 
demise when some well-meaning users tried to unjam the printer and 
proceeded to break one of the paper-path sensors.)

We do all our printer status and pagecounts via SNMP.  I've all but 
given up on doing it any other way.  Jobs go off to the printers, they 
print, then we do a page count query, calculate the number of jobs 
printed and finish.

(Why would we take on such a massive replacement?  Mainly cost: with 
the state purchase contract in effect that we can use, it cost us 
LESS to go and lease brand new printers than it did to keep buying
toner and maintenance kits for the Xerox printers we had already 
bought outright.)

-- 

   John Perkins   |   University of Wisconsin-Madison
   Associate Researcher   |   Department of Computer Science
   [EMAIL PROTECTED]  |   1210 W. Dayton St.
   608-262-0438/608-262-6626 FAX  |   Madison, WI  53706-1685





-
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

2004-03-17 Thread Rick Cochran
Van Sickler, Jim wrote:
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,

There is no way to change the behavior of Microsoft's LPR implementation. 
Imagine how bad it was when the buffer size was 4K instead of 30K.

I can't find anything about BSD and the push bit delay.

Here's an excerpt from some Linux source (I couldn't find anything else):

+ * LSB of 4-bit field is TCP PUSH bit (a worthless anachronism) and
+ * is logically part of the 4-bit changes field that follows.
To determine whether this is the problem, you should use tcpdump on your BSD box 
and look at the timestamps on the packets.  You may find that after a packet 
with a push bit, there is a delay before the BSD box responds with an ACK. 
200ms may not seem like a long time, but at 10Mb it is.  At 100Mb it's an eternity.

If this turns out to be your problem and you can't find a way to tune the delay 
on a BSD box, then your only solution is to stop using LPR protocol from your 
Windows box.  You will have to use Samba and SMB protocol.  This is a good 
solution unless you are blocking SMB protocol to protect your Windows boxes.

I suppose we should know better than to use a non-Microsoft protocol on a 
Windows box.

Wait!  I have another idea.  You can use a third-party LPR implementation for 
Windows.  There are several available.  I'll bet they don't have this problem.

Finally, if anyone knows how Linux (Red Hat, in particular) handles the push 
bit delay issue, I would appreciate knowing.

-Rick

--
|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.
-


Re: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs

2004-03-16 Thread Rick Cochran
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.
-


RE: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs

2004-03-16 Thread Van Sickler, Jim


 -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: SLOW spooling of Word file containing 225 pgs of scann ed docs

2004-03-15 Thread Van Sickler, Jim


 -Original Message-
 From: Patrick Powell [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 12, 2004 3:45 PM
 To: [EMAIL PROTECTED]
 Subject: RE: LPRng: SLOW spooling of Word file containing 225 pgs of
 scann ed docs
 
 
  No filtering is being done, and the Print Processor is
  set to raw on the Win2k box.
 
   If these hints do not help we need to find out whether the
   problem is related to transfering the print job from the PC
   to the server or to sending from server to printer.
 
  It's from the Win2k PC to the server;  it never
  finished spooling, so it never went to the printer.
 
 
 Are you trying to say that the problem is transferring
 from the Win2K system to the LPRng server?
 
 Patrick
 
It seems that way.  Maybe there's a
background conversation going on between
the server and the lpr daemon on the Lanier
that is slowing things down?  Or maybe one
isn't taking place, but should be?

lanier==xxx.xxx.xx.xx from prev msgs...

The good flow, as I see it:
Current setup, working fine.
SLOW on the big job of scanned pages.

Win2k client--LPRng server
LPRng server--:[EMAIL PROTECTED] (works fine for most jobs)

The SmartNet Monitor reports full
job status; file name, user, date/time,
status, user id.

The bad flow:

Win2k client--LPRng server
:lp=lanier%9100
or
:lp:lp=lanier%9100 (per your previous msg)

If I use lanier%9100, the jobs seem
to print, but all of the info
(file name, user, machine) that
shows up with [EMAIL PROTECTED] is missing.
spooling takes a lot longer, too.

Don't know about the big job, as
it's not ready to be printed again. 

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

-
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

2004-03-15 Thread Patrick Powell
 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

-
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

2004-03-15 Thread Till Kamppeter
Patrick Powell wrote:
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?
Should I list this model as Paperweight for all operating systems?

   Till

-
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

2004-03-12 Thread Patrick Powell
 No filtering is being done, and the Print Processor is
 set to raw on the Win2k box.

  If these hints do not help we need to find out whether the
  problem is related to transfering the print job from the PC
  to the server or to sending from server to printer.

 It's from the Win2k PC to the server;  it never
 finished spooling, so it never went to the printer.


Are you trying to say that the problem is transferring
from the Win2K system to the LPRng server?

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.
-


RE: LPRng: SLOW spooling of Word file containing 225 pgs of scann ed docs

2004-03-09 Thread Van Sickler, Jim


 -Original Message-
 From: Dirk Krause [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 09, 2004 2:26 AM
 To: [EMAIL PROTECTED]
 Subject: Re: LPRng: SLOW spooling of Word file containing 225 pgs of
 scanned docs
 
 
  I ran into something on Friday that I can't
   sort out.
 
   I have the following setup:
 
   Lanier 2138 RPCS Color Laser
   (same as Ricoh 3800CMF)
 
   Win2k SP4
   RPCS driver v 2.67 (most current)
   Print via Standard TCP/IP Port
 
   OpenBSD 3.2/LPRng 3.8.21
   OpenBSD 3.4/LPRng 3.8.26
 
   Printcap entries (tried Friday)
   for the 2138, which seem to work
   fine for all other print jobs:
   :[EMAIL PROTECTED]:lpd_bounce
   :rm=xxx.xxx.xx.xx:rp=lp
   :lp=xxx.xxx.xx.xx%9100
   :lp=xxx.xxx.xx.xx%9100:lpd_bounce=true
 
   If I use the above settings, printing
   the Word 2000 file through either
   OpenBSD box takes FOREVER to spool
   the temp file;  I can ls the
   /var/spool/lpd/2138 directory
   and watch the file dribble in.
   I tried a 40-page chunk, which
   resulted in a 56MB job, with NO
   improvement in speed.  It never
   got to the point where the job
   actually started to print.  It was
   taking so long, I knew something
   was amiss and killed the job.
 
 
   I ended up setting up a Standard
   TCP/IP port directly to the Lanier,
   to see if it behaved similarly.
 
   NOT!!!
 
   The job started spitting out as soon as
   I clicked on the Ok button in the
   Word print dialogue.  It finished printing
   the 40 pages almost before I got to the
   printer.
 
   My lpd.conf is all defaults on both
   OpenBSD boxes.  All other print jobs
   seem to print at full speed.
 
   What gives?
 
 Hi,
 
 When creating large/complicated print jobs (i.e. including
 bitmap graphics) there may be long time intervalls between
 data packets sent from PC to the server, timeouts can happen.
 To avoid these timeouts create the entire print job first
 before connecting to the print server. In the printer
 properties go into the spool settings and turn
 Start spooling after last page is finished on. The exact
 text may vary, I have a german Windows on my PC.
 
I tried that, and Print directly to the Printer
with the same results.  

 Make sure the format for the queue is literal (binary) so
 the print server does not run filters on the print job.
 
No filtering is being done, and the Print Processor is
set to raw on the Win2k box.

 If these hints do not help we need to find out whether the
 problem is related to transfering the print job from the PC
 to the server or to sending from server to printer.

It's from the Win2k PC to the server;  it never
finished spooling, so it never went to the printer.

Sending it directly to the printer's own lpd,
with the PC set to the default of Start Printing
Immediately did exactly that. The only changes in
settings were using raw protocol instead of lpr,
and printing to port 9100 instead of the queue.
The 2138 has a hard drive, and printed at
full speed-no dribbling of the job.

Why not just print directly to the printer?
Because...the Ricoh/Lanier print server
has an annoying tendency to go off into
la-la land if multiple users/drivers are
talking to it.  I can crash it just by sending
a PS job to it;  within 4 print jobs, the
queue is corrupt and the printer has to be reset.
Sometimes I had to reformat the hard drive
just to force a rebuild of the queue structure.
I finally troubleshot it down to a decent
solution;  use ONLY the RPCS drivers, and
use LPRng to feed it the jobs.  Now it
prints all day, every day.  I can
use holdall while changing out fuser oil
rollers, etc, and noone knows the
printer's been down.

I call the 2138 The Chipper; feed trees
in at one end, and stuff comes out the other...

 Print the print job to a file, transfer the file to the
 print server and try to print using lpr.
 
 Hope this helps,
 
 Dirk
 
 
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.
-