[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing to Windows shared printer



Immensely. Thank you. As far as troubleshooting why printconf is not
writing to /etc/printcap, is there a particular log file I should look in,
other than /var/log/messages?

Thank You.

On 28 Mar 2003, Todd Davis wrote:

> I just set up a new SMB printer via printconf on Red Hat 8.0 and tested
> it.  Here is the content of my /etc/printcap (nothing changes in
> /etc/samba):
>
> hp8000:\
>         :ml#0:\
>         :mx#0:\
>         :sd=/var/spool/lpd/hp8000:\
>         :af=/var/spool/lpd/hp8000/hp8000.acct:\
>         :sh:\
>         :lp=|/usr/share/printconf/util/smbprint:\
>         :lpd_bounce=true:\
>         :if=/usr/share/printconf/util/mf_wrapper:
>
>
> The file /var/spool/lpd/hp8000/script.cfg contains the printer info:
>
> share='//msfw2000/HP8000'
> hostip='10.10.1.1'
> user='username'
> password="XXXXXXXXX"
> workgroup='workgroup'
> translate='no'
>
>
> Hope this helps.
>
>
> On Fri, 2003-03-28 at 13:47, Marcelo Medici wrote:
> > I tried printconf from the beginning. However, even after configuring the
> > printer, nothing gets added to /etc/printcap for the samba printer. So
> > restarting lpd produced the error that 'no printers configured'. I'm not
> > sure why this occurs.
> >
> > Thank you for your help.
> >
> > On 28 Mar 2003, Todd Davis wrote:
> >
> > > Personally I find it a whole lot easier to just use printconf to
> > > configure the printer.  I never can seem to remeber all of those
> > > printcap parameters.
> > >
> > > On Fri, 2003-03-28 at 12:12, Marcelo Medici wrote:
> > > > Hello,
> > > > I am trying to configure my RH8 machine to print to a Windows share. I am
> > > > using samba-2.2.7-4.8.0. I have LPD and CUPS both installed.
> > > >
> > > > I created a smbprint.sysv file in /etc/samba. The only parts of it I have
> > > > edited are:
> > > >
> > > > server   = ERIC901
> > > > service  = LASER
> > > > password = "xxxxxxxx"
> > > >
> > > > I then tried to add this printer using lpadmin:
> > > >
> > > > lpadmin -p samsung_printer -v /dev/null -i /etc/samba/smbprint.sysv
> > > >
> > > > Although the file does get added /etc/printcap, I receive an error when
> > > > restarting lpd:
> > > >
> > > > Starting lpd: Warning - samsung_printer: 'no :rm, :lp, or :sv entry'
> > > > Warning - samsung_printer: Bad printcap entry - missing 'sd' or 'client'
> > > > entry?
> > > >
> > > > I read through `man printcap` and I can see the explanation of each of
> > > > these keywords, however I'm not certain of what their values should be.
> > > > Can someone lend a hand on configuring this?
> > > >
> > > > Thank You.
> > > >
> > > >
> > > > -
> > > > To unsubscribe, send email to majordomo@luci.org with
> > > > "unsubscribe luci-discuss" in the body.
> > > --
> > > Todd Davis (tdavis@msfw.com)
> > > Red Hat Certified Engineer (RHCE #807101281603181)
> > >
> > >
> > > -
> > > To unsubscribe, send email to majordomo@luci.org with
> > > "unsubscribe luci-discuss" in the body.
> > >
> >
> >
> > -
> > To unsubscribe, send email to majordomo@luci.org with
> > "unsubscribe luci-discuss" in the body.
> --
> Todd Davis (tdavis@msfw.com)
> Red Hat Certified Engineer (RHCE #807101281603181)
>
>
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
>


-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.