Re: LPRng: Zero Byte data file from client - always

2002-02-02 Thread Patrick Powell

> From [EMAIL PROTECTED] Mon Jan  7 11:11:40 2002
> Date: Mon, 7 Jan 2002 13:22:58 -0500 (EST)
> From: "David L. R. Houston" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: Zero Byte data file from client - always
>
> Still desperately seeking help on this after some 20+ hours of trying.
>
> Configuration:
>
> - LPRng 3.8.4
> - Solaris test server running Solaris 7
> - All vestiges of old print system removed
> - Installed LPRng just fine
> - no filters (and ifhp not installed)
> - Can print anything *from host* (eg. lpr -Plp test.ps)
>
> /usr/local/etc/printcap file currently looks like this:
>
> .common:
>:sd=/var/spool/lpd/%P
>:sh:mx=0:mc=0
>
> lp:tc=.common:lp=saturnp1.uvm.edu%9100\
>   :send_data_first:
>
> lablaser:tc=.common:lp=saturnp1.uvm.edu%9100
>   :send_data_first:
>
> laserq:tc=.common:lp=132.198.103.204%9100\
>   :send_block_format:\
>   :send_data_first:
>
> laserq2:
>   :sd=/var/spool/lpd/%P
>   :mx#0
>   :sh
>   :rm=132.198.103.204
>   :rp=RAW
>   :longnumber
>   :send_block_format:

Try using:

 laserq2:
   :sd=/var/spool/lpd/%P
   :lp=/dev/null
   :db=lpr+2

This sets up a queue that has verbose 'incoming job' debugging enable.


Now send a job to this queue.  You can now look at /var/spool/lpd/log
and see a VERY detailed trace of what is happening.

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.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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  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

2002-01-09 Thread Garance A Drosihn

At 1:22 PM -0500 1/7/02, David L. R. Houston wrote:
>Still desperately seeking help on this after some 20+ hours of trying.

>laserq2:
>   :sd=/var/spool/lpd/%P
>   :mx#0
>   :sh
>   :rm=132.198.103.204
>   :rp=RAW
>   :longnumber
>   :send_block_format:

I do not use lprNG, but if I remember correctly the 'longnumber' option
gives you more jobs per print queue.  I suggest that you try turning
that off.  (or try a different version of lprNG, as someone else
suggested).

>Problem: Anything other than a UNIX client always leaves this in the
>lpq -Pall -V call:
>Status: laserq2: Check_for_missing files: missing data file
>'dfA01ip104026.uvm.edu' at 12:52:11.362

For instance, it is interesting that it's complaining about missing
'dfA' '1' 'ip104026.uvm.edu'.  The '1' part is the job number, and
most implementations of lpr will be sending three character job numbers.

>The clients I'm trying to use at the moment are a MacOSX box (printer
>setup is accomplished using the Print Center utility and setting a printer
>'LPR printer using IP') and/or a Macintosh running OS9.2.2 (printer setup
>using Desktop Printer Utility and also LPR printer using IP).

Well, for one, MacOS 10 *is* a "unix client".  Which version of MacOS 10
are you running?  There were subtle differences in lpr jobs between 10.0.x,
10.1, and 10.1.2 (although those differences are not relevant to your
problem).  MacOS 9 should also be sending "basically correct lpr" jobs.

I expect that when you said "anything other than a unix client", the
real distinction is "anything which is not running lprNG"...  (I am
not saying that just to be arguing with you, but to get you thinking
about what is really happening.  If all the unix hosts which work *are*
running lprNG, then that could be significant)

>I need to have these clients working and *then* I have to see if I can
>get Windows 98 clients working using Samba (not even at that point yet).

Since samba will be using whatever you have installed, I imagine you
will not see this trouble with samba.

>I'd be appreciative of _any_ advice.  At this point, I'm willing to try
>anything that might have a chance of getting this to work.  It's hard to
>believe that LPRng is only useful for UNIX clients, but that is what
>appears to be the case.

That is definitely not the case, except maybe when the occasional bug
creeps into the code...  lprNG does a pretty good job of trying to
work with a very wide variety of lpr-protocol implementations.

-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  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

2002-01-08 Thread christoph . beyer

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|  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST  |  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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  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

2002-01-07 Thread Phil Moses

I have windows clients printing to lprng on a Solaris box without using
Samba. 
I am able to do this by installing unix print services for windows (or
something similar to this name.) 
By doing so, you cannot browse printers through network neighborhood but
you can set them up just as you would a unix printer, using hostname or ip
and port then they are available under the printers menu.

Anyway, this is just information I am passing along. 

Thanks,

Phil

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|  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST  |  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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  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

2002-01-07 Thread Ryan Novosielski

That's not true. You can service Windows clients with suitable software
for windows, such as HP's LPR implementation in Win2k, the implementation
that comes with WinNT4, or the software that is on probably all current HP
workgroup printer discs.

There are some cases where Samba is useful for this, such as for housing
printer drivers for download, but otherwise, it really isn't necessary.

 _  _ _  _ ___  _  _  _
|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 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|  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST  |  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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  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

2002-01-07 Thread Joel Hammer

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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  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

2002-01-07 Thread Alan Sundell

This sounds vaguely like a problem I was having earlier.  This is just a
wild stab, but since you're desperate, and this might be quick, what
happens when you try LPRng 3.8.1?

--Alan

On Mon, 7 Jan 2002, David L. R. Houston wrote:

> Still desperately seeking help on this after some 20+ hours of trying.
>
> Configuration:
>
> - LPRng 3.8.4
> - Solaris test server running Solaris 7
> - All vestiges of old print system removed
> - Installed LPRng just fine
> - no filters (and ifhp not installed)
> - Can print anything *from host* (eg. lpr -Plp test.ps)
>
[...]
>Status: laserq2: Check_for_missing files: missing data file
> 'dfA01ip104026.uvm.edu' at 12:52:11.362



-
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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-



LPRng: Zero Byte data file from client - always

2002-01-07 Thread David L. R. Houston

Still desperately seeking help on this after some 20+ hours of trying.

Configuration:

- LPRng 3.8.4
- Solaris test server running Solaris 7
- All vestiges of old print system removed
- Installed LPRng just fine
- no filters (and ifhp not installed)
- Can print anything *from host* (eg. lpr -Plp test.ps)

/usr/local/etc/printcap file currently looks like this:

.common:
   :sd=/var/spool/lpd/%P
   :sh:mx=0:mc=0

lp:tc=.common:lp=saturnp1.uvm.edu%9100\
  :send_data_first:

lablaser:tc=.common:lp=saturnp1.uvm.edu%9100
  :send_data_first:

laserq:tc=.common:lp=132.198.103.204%9100\
  :send_block_format:\
  :send_data_first:

laserq2:
  :sd=/var/spool/lpd/%P
  :mx#0
  :sh
  :rm=132.198.103.204
  :rp=RAW
  :longnumber
  :send_block_format:


Printers are in chronological order - i.e. the printcap reflects what I
have been trying in order to get it to work.

Problem: Anything other than a UNIX client always leaves this in the lpq
-Pall -V call:
   Status: laserq2: Check_for_missing files: missing data file
'dfA01ip104026.uvm.edu' at 12:52:11.362

The clients I'm trying to use at the moment are a MacOSX box (printer
setup is accomplished using the Print Center utility and setting a printer
'LPR printer using IP') and/or a Macintosh running OS9.2.2 (printer setup
using Desktop Printer Utility and also LPR printer using IP).  I need to
have these clients working and *then* I have to see if I can get Windows
98 clients working using Samba (not even at that point yet).

It *appears* that what is happening is that any and all files sent from
the Mac clients wind up with a 0 byte size data file.  But no amount of
(re)configuring changes that.  And with a 0 file size, nothing happens.

I'd be appreciative of _any_ advice.  At this point, I'm willing to try
anything that might have a chance of getting this to work.  It's hard to
believe that LPRng is only useful for UNIX clients, but that is what
appears to be the case.

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|  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST  |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-