hi,

I'm not sure because I don't use that version but did you look in the
lpd.conf file for the value of 'done_jobs=' it should probably be set to 0
otherwise it might confuse the SAMBA stuff

hope this helps

regards
                ~christoph



On Tue, 4 Dec 2001, Dominick Layfield wrote:

> I am having problems printing through a Windows print server.
>
> I can print directly through the /usr/bin/smbprint script: i.e.
> "cat test.ps | /usr/bin/smbprint" works perfectly (& returns status 0)
>
> But when I try to print with lpr through ifhp, the job appears in the
> print queues of both the Unix host and and the NT print server, but
> never clears.  (lprm'ing the job clears it on the NT queue also)
>
> In the course of trying to track down the error, I reduced smbprint to a
> minimum, and incorporated username and password into the script:
> (erased here)
>
> > #!/bin/sh
> > # Minimal version of SMBPRINT
> > /bin/cat | /usr/bin/smbclient //gasgeneral/cardiac_anes PWORD -U USER \
> >                                -c 'print -' -P -E 2> /dev/null
>
> The printcap entry looks like the examples in the LPRng documentation:
>
> > smbprinter:
> >        :sd=/var/spool/lpd/smbprinter
> >        :lp=|/usr/bin/smbprint
> >        :ifhp=model=hp4050
> >        :filter=/usr/libexec/filters/ifhp
>
> Output from lpq looks normal:
>
> > Printer: smbprinter@localhost
> >  Queue: 1 printable job
> >  Server: pid 3249 active
> >  Unspooler: pid 3250 active
> >  Status: processing 'dfA248localhost.localdomain', size 8446, format 'f', IF 
>filter 'ifhp' at 15:47:15.802
> >  Filter_status: getting sync using 'pjl echo' at 15:47:16.069
> >  Rank   Owner/ID                  Class Job Files                 Size Time>
> > active dom@localhost+248            A   248 test.ps               8446 15:47:15
>
> lpr -V looks normal, (as does lpq -L to my inexperienced eyes).
>
> I'm using recent versions of ifhp (3.4.9-1), LPRng (3.8.2-1), samba
> (2.2.1a) on a Red Hat 6.2 machine with various RPMs upgraded.
>
> Does anyone have any ideas?  I've wasted two days on this problem so
> far!
>
> Thanks for your help,
>
> -- Dom Layfield
>
> -----------------------------------------------------------------------------
> 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