Hi Patrick and all,

Patrick, you're looking at the wrong place. You try to set the W2K box to be 
an LPD server, I'm trying to setup a W2K box to print to an LPD server. You 
do that by the following:
Create a new local printer
Select "Create a new port", Port type: Standard TCP/IP port
Type in your LPD server's IP address/FQDN
In Device type, Select Custom, and hit Settings
In Protocol, select LPR. Fill the required queue name in the box. You'll see 
the "LPR byte counting" option in the middle of the dialog box.

Regarding the 15 digit number, I stand corrected, it was a 15 digit not 12 
digit. I'm getting the same number every time I'm using this port without 
"byte counting enabled". Other people report random results, which makes me 
suspect that this is a non-initialized memory issue.


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: LPRng: Problem in Direct TCP/IP printing with Win2K
>Date: Wed, 30 Aug 2000 15:48:01 -0700 (PDT)
>
> > 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.
>-----------------------------------------------------------------------------

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.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.
-----------------------------------------------------------------------------

Reply via email to