I have also seen the problem with Windows 2000 not zeroing the file size if you
don't check the 'LPR byte counting' check box. As far as my Sniffer(tm) and I
can tell it's a somewhat random number that appears, but usually quite large (in
the terrabytes).

The only solution I've come up with is to ALWAYS tell Win2K to count the bytes
so that the file size is explicitly given in the data header.

- Justus





[EMAIL PROTECTED] on 08/30/2000 06:48:01 PM

Please respond to [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:    (bcc: Justus J. Addiss/HI-Healthinfo/3M/US)
Subject:  Re: LPRng: Problem in Direct TCP/IP printing with Win2K



> From [EMAIL PROTECTED] Sun Aug 27 10:03:25 2000
> From: "Matanya Elchanani" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Problem in Direct TCP/IP printing with Win2K
> Date: Sun, 27 Aug 2000 16:09:24 GMT
>
> Answering myself:
>
> As usual, Microsoft has decided to break the standards. After analyzing the
> trafic of a print request I found that M$ is not following RFC1179. The LPR
> port configuration dialog box has a checkmark button for "LPR Byte
> Counting". By default this option is NOT enabled. The help on this option
> tells you that you should use it only if the LPD on the other side is
> printing half documents because "byte counting is a CPU intensive
> operation". Anyway, looking at the traffic I noticed the following receive
> job subcommand:
>
> PRINTER:  "\003125899906843000 dfA038MATANYA-IT\n"
>
> As seen above, the count after the command code (\003) is a huge 12 digit
> number (looks like a non-initialized pointer value). LPRng correctly answers
> with "insufficient file space". This behaviour of the Microsoft port goes
> against RFC1179 which clearly states:
>
>    6.3 ...
>    The total number of bytes in the stream may be sent as the first
>    operand, otherwise the field should be cleared to 0.
>
> They don't clear it to 0. The workaround is to enable "LPR Byte counting"
> when creating the LPR port in Windows 2000. This will put the correct count
> in the 03 message, as can be seen from the same job submitted with this
> option on:
>
> PRINTER:  "\00364541 dfA039MATANYA-IT\n"

I am baffled by this one.  I just looked at the W2K setup on the
sales droid's computer...  First,  you need to use the
Control Panel/Add Software/Windows Components/
  Additional Network/Unix Printing

setup to install the RFC1179 support.

There were no options when I created a LPD port.

How do you find this option?

By the way,  could you PLEASE double check to make sure that this
is the value that they are using? i.e. -
125899906843000

This 125,899,906,843,000 = 15 digit, not 12 digit number...
I thought it was actually 123,456,789,000  or something...

Patrick

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.astart.com)

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







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

Reply via email to