Article View: alt.os.linux.mandrake
Article #449Re: Mandrake 8.0 and samba printing, using Cups is possible ??
From: Scott B. Husted
Date: Wed, 06 Jun 2001 13:45
Date: Wed, 06 Jun 2001 13:45
251 lines
6502 bytes
6502 bytes
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:
<HlqT6.5329$ob4.127052@nnrp1.ptd.net>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-mailReferences:
<9fl3l1$dh0$1@front4.grolier.fr>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-06 06:52:25 PST
X-Original-Received: from sjc3-1.relay.mail.uu.net
(sjc3-1.relay.mail.uu.net [199.171.54.122]) by Titan.neptune.fr
(8.9.3/8.9.3) with ESMTP id PAA26407 for <fcolc@neptune.fr>;
Wed, 6 Jun 2001 15:34:50 +0200
X-Original-Received: from mail.ptd.net by sjc3sosrv11.alter.net with SMTP
(peer crosschecked as: mail1.ha-net.ptd.net [207.44.96.65]) id QQksgb18839
for <fr-comp-os-linux-configuration@moderators.isc.org>; Wed,
6 Jun 2001 13:27:10 GMT
X-Original-Received: (qmail 11203 invoked from network); 6 Jun 2001
13:27:09 -0000
X-Original-Received: from news5a.ha-net.ptd.net ([204.186.200.101])
(envelope-sender <>) by mail.ptd.net (qmail-ldap-1.03) with QMQP for <>;
6 Jun 2001 13:27:09 -0000
From: "Scott B. Husted" <mktgmgr@riegelfcu.org>
Newsgroups: alt.os.linux.mandrake,fr.comp.os.linux.configuration,linux.samba
References: <9fl3l1$dh0$1@front4.grolier.fr>
Subject: Re: Mandrake 8.0 and samba printing, using Cups is possible ??
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <HlqT6.5329$ob4.127052@nnrp1.ptd.net>
X-Complaints-To: abuse@ptd.net
X-Trace: nnrp1.ptd.net 991834599 216.144.169.216 (Wed, 06 Jun 2001
09:36:39 EDT)
Organization: PenTeleData http://www.ptd.net
X-Modappbot-Status: autoposted
X-Original-Path: not-for-mail
X-Original-NNTP-Posting-Date: Wed, 06 Jun 2001 09:36:39 EDT
X-Original-NNTP-Posting-Host: 216.144.169.216
X-Original-Date: Wed, 06 Jun 2001 13:36:39 GMT
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: 06 Jun 2001 13:45:09 GMT
Lines: 251