🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #448

Re: Mandrake 8.0 and samba printing, using Cups is possible ??

#448
From: Peter Lusmore
Date: Thu, 07 Jun 2001 14:30
269 lines
7426 bytes
I had a problem printing from Linux to Win2000 and got around it like this:

1. From the Win2000 CD install the Print Services for Unix
2. Start the TCP/IP Printing Service from the Admin Tools/Services
3. Tell Linux to use an LPD printer at the ip address of your Win2000 box
with the queue name of the share of your printer (mine is 192.168.1.4, hp).

Works like a dream and gets around the SMB sharing issue with Win2000 which
I am sure must be something to do with encrypted passwords.

Peter

"Scott B. Husted" <mktgmgr@riegelfcu.org> wrote in message
news:HlqT6.5329$ob4.127052@nnrp1.ptd.net...
> I have been unable to print from Linux to my Win2000 (which has my HP970
> printer) box over my LAN.   Posted above for some help.. but didn't get a
> response.  =(
>
> --
> Scott B. Husted
> PA-Scott
> ICQ#4395450
>
>
>
> Christophe Michel <tofm2@yahoo.fr> wrote in message
> news:9fl3l1$dh0$1@front4.grolier.fr...
> > Hello all
> >
> >     I am experiencing severe problems for printing stuff under Linux
> > Mandrake 8.0 and windows.
> >
> >     My network: 1 mandrake linuxbox (MDK 8.0), several macs (everything
OK
> > for them), 2 windows ME PC's all connected together.
> >
> >     Samba file sharing works perfect from windows to Linux. But printing
> is
> > impossible (nothing occurs. Samba SMBD and NMBD daemons are running, of
> > course. I can print from the locally connected printer from the linuxbox
> but
> > LAN printing : nuthin'
> >
> >     So my question is: What can I do to make things work ? Should I
> install
> > CUPS or should I Samba-print using LPR ? and how.
> >
> > If someone can help, it would be REALLY appreciated. Please find below
my
> > config files if this can help...
> >
> >
> > Many thanks in advance.
> >
> > ------------------------smb.conf ----------------------------------
> > # Samba config file created using SWAT
> >
> > # from localhost.localdomain (127.0.0.1)
> >
> > # Date: 2001/04/09 16:47:35
> >
> > # Global parameters
> >
> > [global]
> >
> > workgroup = Estium-Concept
> >
> > netbios name =clinux
> >
> > server string = Samba %v (pclinux)
> >
> > encrypt passwords = Yes
> >
> > null passwords = Yes
> >
> > username map = /etc/username.map
> >
> > debug level = 2
> >
> > log file = /var/log/samba-log.%m
> >
> > max log size = 50
> >
> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> >
> > printer driver file = /usr/local/samba/printer
> >
> > character set = ISO8859-1
> >
> > local master = No
> >
> > guest account = invite
> >
> > hosts allow = 10.0.0.
> >
> > veto files=/.AppleDouble/.AppleDesktop/Network Trash
> >
>
Folder/TheVolumeSettingsFolder/.appleVolumes/.directory/TheFindByContentFold
> > er/___Move&Rename/AppleShare PDS/Desktop DB/Desktop
> > DF/resource.frk/fileid.dat/finder.dat
> >
> >
> >
> > [homes]
> >
> > comment = Home Directories
> >
> > valid users = %S
> >
> > writeable = Yes
> >
> > available = No
> >
> > dos filetimes = Yes
> >
> > [printers]
> >
> > comment = All Printers
> >
> > path = /var/spool/samba
> >
> > browseable = yes
> >
> > # to allow user 'guest account' to print.
> >
> > guest ok = yes
> >
> > writable = no
> >
> > printable = yes
> >
> > create mode = 0700
> >
> > # =====================================
> >
> > # print command: see above for details.
> >
> > # =====================================
> >
> > print command = lpr-cups -P %p -o raw %s -r # using client side printer
> > drivers.
> >
> > ; print command = lpr-cups -P %p %s # using cups own drivers (use
generic
> > PostScript on clients).
> >
> > lpq command = lpstat -o %p
> >
> > lprm command = cancel %p-%j
> >
> > [public]
> >
> > comment = public access
> >
> > path = /mnt/win_d/public
> >
> > writeable = Yes
> >
> > create mask = 0777
> >
> > guest ok = Yes
> >
> > dos filetimes = Yes
> >
> > [cdrom partage]
> >
> > comment = public access
> >
> > path = /mnt/cdrom
> >
> > create mask = 0777
> >
> > guest ok = Yes
> >
> > dos filetimes = Yes
> >
> > [zip]
> >
> > comment = public access
> >
> > path = /mnt/zip
> >
> > create mask = 0777
> >
> > guest ok = Yes
> >
> > dos filetimes = Yes
> >
> > [lp]
> >
> > comment = lp sur clinux
> >
> > path = /var/spool/samba
> >
> > writeable = Yes
> >
> > create mask = 0700
> >
> > guest ok = Yes
> >
> > printable = Yes
> >
> > print command = lp -P %p %s
> >
> > lpq command = lpstat -o %p
> >
> > lprm command = cancel %p-%j
> >
> > printer = lp
> >
> > printer driver = Canon BJC-4300
> >
> > printer driver location = \\%h\printer$
> >
> > oplocks = No
> >
> > share modes = No
> >
> >
> >
> > --------------------------------
> > xinetd.conf ----------------------------------------
> >
> > #
> >
> > # Simple configuration file for xinetd
> >
> > #
> >
> > # Some defaults, and include /etc/xinetd.d/
> >
> > defaults
> >
> > {
> >
> > instances = 60
> >
> > log_type = SYSLOG authpriv
> >
> > log_on_success = HOST PID
> >
> > log_on_failure = HOST
> >
> > }
> >
> >
> >
> > service printer
> >
> > {
> >
> > socket_type=stream
> >
> > protocol=tcp
> >
> > wait=no
> >
> > user=lp
> >
> > server=/usr/lib/cups/daemon/cups-lpd
> >
> > }
> >
> >
> >
> >
> >
> > includedir /etc/xinetd.d
Technical Details
Message-ID: <thv30cgrmg5veb@corp.supernews.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!Titan.neptune.fr!not-for-mail
References: <9fl3l1$dh0$1@front4.grolier.fr> <HlqT6.5329$ob4.127052@nnrp1.ptd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8a83,f03c26f4fd093d79
X-Google-Attributes: gidf8a83,public
X-Google-Thread: fe6c6,f03c26f4fd093d79
X-Google-Attributes: gidfe6c6,public
X-Google-Thread: f8ece,f03c26f4fd093d79
X-Google-Attributes: gidf8ece,public
X-Google-ArrivalTime: 2001-06-07 07:37:12 PST
X-Original-Received: from mailbox3.ucsd.edu (mailbox3.ucsd.edu
    [132.239.1.55]) by Titan.neptune.fr (8.9.3/8.9.3) with ESMTP id QAA20601
    for <fcolc@neptune.fr>; Thu, 7 Jun 2001 16:21:27 +0200
X-Original-Received: from supernews.net (ukpa-01.supernews.net
    [195.224.25.20]) by mailbox3.ucsd.edu (8.10.1/8.11.0) with ESMTP id
    f57EDXR04947 for <fr-comp-os-linux-configuration@moderators.isc.org>;
    Thu, 7 Jun 2001 07:13:33 -0700 (PDT)
X-Original-Received: from news by supernews.net with local (Exim 3.20 #1)
    id 1580XV-0008mM-00 for fr-comp-os-linux-configuration@moderators.isc.org;
    Thu, 07 Jun 2001 14:13:33 +0000
From: "Peter Lusmore" <peter.lusmore@lineone.net>
Newsgroups: alt.os.linux.mandrake,fr.comp.os.linux.configuration,linux.samba
Subject: Re: Mandrake 8.0 and samba printing, using Cups is possible ??
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <thv30cgrmg5veb@corp.supernews.co.uk>
References: <9fl3l1$dh0$1@front4.grolier.fr>
    <HlqT6.5329$ob4.127052@nnrp1.ptd.net>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Complaints-To: newsabuse@supernews.com
X-Modappbot-Status: autoposted
X-Original-Path: corp.supernews.co.uk!not-for-mail
X-Original-Date: Thu, 7 Jun 2001 15:15:02 +0100
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!Titan.neptune.fr!not-for-mail
Sender: fcolc-admin@neptune.fr
Approved: fcolc@neptune.fr
X-Modappbot-Version: 0.4.4
Date: 07 Jun 2001 14:30:16 GMT
Lines: 269