On Thu, 20 Jun 2002 at 10:19am (+1000), Matthew Melvin wrote:

> 
> I'll admit I'm being a little slack with this one and asking before I've
> hunted too hard.  The box in question isn't hooked up to the internet at the
> momment so I don't have its config on hand so I'm hoping this will ring a
> bell with someone...
> 
> I previously had a RH 6.2 server on my home LAN with this printer hanging 
> off it and shared via samba.  Both my windows boxes and my other linux box 
> had no problem printing to it.  Now I've rebuilt my server (moved house) 
> with RH7.3 and although the RH box can print via the samba share the windows 
> boxes can't.  If I do a test print from a windows box I get two blank peices 
> of paper (why two?!) and nothing else.
> 
> Anyone able to offer a pointer?
> 
> M.
> 
> 

Woo.  Finally have an internet connection at home now.... :)  So to give 
some more specific details... 

The entry in /etc/printcap looks like...

lp|cdj-950c:\
        :ml=0:\
        :mx=0:\
        :sd=/var/spool/lpd/lp:\
        :af=/var/spool/lpd/lp/lp.acct:\
        :sh:\
        :lp=/dev/lp0:\
        :lpd_bounce=true:\
        :if=/usr/share/printconf/util/mf_wrapper:

... I set this up with the GUI tool so I'm assuming it's okay.

The /etc/samba/smb.conf entries look like....


[printers]
        comment = All Printers
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes
        browseable = No

[printer$]
        comment = "Printer Driver Files"
        path = /usr/share/samba
        guest ok = Yes

[cdj-950c]
        comment = "HP DeskJet 950c"
        path = /tmp
        create mask = 0700
        guest ok = Yes
        printable = Yes
        printer driver = "HP DeskJet 950c"
        printer driver location = \\%h\PRINTER$

.... and the global options (testparm | grep print) look like....

        total print jobs = 0
        load printers = Yes
        printcap name = /etc/printcap
        addprinter command = 
        deleteprinter command = 
        show add printer wizard = Yes
        printer admin = 
        min print space = 0
        max print jobs = 1000
        printable = No
        printing = lprng
        print command = lpr -r -P%p %s
        printer name = 
        printer driver = 
        printer driver file = /etc/samba/printers.def
        printer driver location = 

... /now/ can anyone provide any tips? :)  Hmm.. one possibility that comes 
to mind is the windows files under /usr/share/samba have become corrupted 
since I last used them.  I hope that's not it...

M.

-- 
WebCentral Pty Ltd           Australia's #1 Internet Web Hosting Company
Level 5, 100 Wickham St.           Network Operations - Systems Engineer
PO Box 930, Fortitude Valley.                     phone: +61 7 3249 2557
Queensland, Australia 4006.                       pgp key id: 0x900E515F




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to