hmm,

the temporary file should not be deleted if you use

 'print command = /usr/bin/lpr -P%P %s'

What if you try  'print command = cat %s > /tmp/printfile'

Is the file empty ? Anything in the logfiles of the lpd / smbd ?

best regards
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


On Mon, 17 Nov 2003, Jeramy Eling wrote:

> Hi,
>
> I have simplified the smb.conf file with the changes you suggested, and still no 
> output. I can confirm that I can see the printers from windows, can send jobs to 
> them, and if I look in /tmp I see the spooled file appear for a second and then 
> disappear as if it is printing.
>
> Forgive me for not been too sure about the software, but am I right in thinking that 
> I just create a queue, or in this case a TCP socket using LPRNGTool and then add it 
> to the Samba config, or do I need to do something special when I add the printer?
>
> Many Thanks In Advance
>
> Jeramy
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2003 10:40
> To: Jeramy Eling
> Subject: RE: LPRng: Nothing Prints Using Samba and LPRNG
>
>
> Did you try to simplify the smb.conf file as far as possible ?
>
> try
>
> print command = /usr/bin/lpr -P%P %s
>
> [printers]
>         path = /tmp
>         printable = Yes
>         guest ok = Yes
>         browseable = Yes
>
> Are you able to connect the server at all ? Is there anything unusual in
> the log files ???
>
> best regards
>       ~christoph
>
>
> On Mon, 17 Nov 2003, Jeramy Eling wrote:
>
> > As requested here is my smb.conf file
> >
> > [global]
> >     workgroup = DOMAIN
> >     netbios name = {ServerName}
> >     server string = LINUX Print Server
> >     interfaces = eth1
> >     security = DOMAIN
> >     encrypt passwords = Yes
> >     password server = *
> >     log level = 3
> >     log file = /var/log/samba/log.%m
> >     max log size = 50
> >     socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> >     dns proxy = No
> >     wins server =
> >     winbind uid = 10000-20000
> >     winbind gid = 10000-20000
> >     winbind separator = +
> >     printing = lprng
> >     print command = /usr/bin/lpr [EMAIL PROTECTED] -P%P -r %s
> >     lpq command = /usr/bin/lpq [EMAIL PROTECTED] -P%P
> >     lprm command = /usr/bin/lprm [EMAIL PROTECTED] -P%P %j
> >     lppause command = /usr/sbin/lpc [EMAIL PROTECTED] hold %p %j
> >     lpresume command = /usr/sbin/lpc [EMAIL PROTECTED] release %p %j
> >     queuepause command = /usr/sbin/lpc [EMAIL PROTECTED] stop %p
> >     queueresume command = /usr/sbin/lpc [EMAIL PROTECTED] start %p
> >
> > [homes]
> >     comment = Home Directories
> >     read only = No
> >     browseable = No
> >
> > [printers]
> >     comment = All Printers
> >     path = /var/spool/lpd/samba
> >     create mask = 0700
> >     guest ok = Yes
> >     printable = Yes
> >     browseable = No
> >
> > [HP4500]
> >     path = /var/spool/lpd/samba
> >     printer admin = "ARTHUR+DOMAIN ADMINS"
> >     read only = No
> >     guest ok = Yes
> >     printable = Yes
> >     printer name = HP4500
> >     use client driver = Yes
> >     oplocks = No
> >
> > -----Original Message-----
> > From: Christoph Beyer [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2003 10:18
> > To: Jeramy Eling
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: LPRng: Nothing Prints Using Samba and LPRNG
> >
> >
> > please send four smb.conf file...
> >
> > best regards
> >     ~christoph
> >
> >
> > --
> > /*   Christoph Beyer     |   Office: Building 2b / 23     *\
> >  *   DESY                |    Phone: 040-8998-2317        *
> >  *   - IT -              |      Fax: 040-8998-4060        *
> > \*   22603 Hamburg       |     http://www.desy.de         */
> >
> >
> > On Mon, 17 Nov 2003, Jeramy Eling wrote:
> >
> > > Hi all,
> > >
> > > We are in the process of evaluating the LPRng print system with a
> > > view to replace our current unreliable Windows 2000 spooler.
> > >
> > > We have configured it on our Redhat 9.0 system and printing from the
> > > local machine works fine, however we have now installed SAMBA ready
> > > to test from our Windows clients and have run into a problem. We
> > > followed the steps on the LPRng website to configure SAMBA etc.,
> > > joined the server to our windows domain and installed the printer on
> > > a Windows XP PC. When we print from the windows XP PC nothing
> > > prints, it is as if the whole job just disappears. Having tried
> > > every possible combination of configs in the smb.conf file we are
> > > now at a loss.
> > >
> > > Does anyone have any ideas why this is happening?
> > >
> > > Many Thanks
> > >
> > > Jeramy.
> > >
> > > -----------------------------------------------------------------------------
> > > 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.
> > > -----------------------------------------------------------------------------
> > >
> >
> >
>
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>


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

Reply via email to