🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#450
From: Christophe Michel
Date: Wed, 06 Jun 2001 11:30
234 lines
5751 bytes
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: <9fl3l1$dh0$1@front4.grolier.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!Titan.neptune.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8a83,f03c26f4fd093d79,start
X-Google-Attributes: gidf8a83,public
X-Google-Thread: fe6c6,f03c26f4fd093d79,start
X-Google-Attributes: gidfe6c6,public
X-Google-Thread: f8ece,f03c26f4fd093d79,start
X-Google-Attributes: gidf8ece,public
X-Google-ArrivalTime: 2001-06-06 04:37:25 PST
X-Original-Received: from chx400.switch.ch (chx400.switch.ch
    [130.59.10.2]) by Titan.neptune.fr (8.9.3/8.9.3) with ESMTP id NAA21105
    for <fcolc@neptune.fr>; Wed, 6 Jun 2001 13:28:11 +0200
X-Original-Received: from front4.grolier.fr ([194.158.96.54]) by
    chx400.switch.ch with esmtp (Exim 3.20 #1) id 157bMS-0004ok-00 for
    fr-comp-os-linux-configuration@moderators.isc.org; Wed, 06 Jun 2001
    13:20:29 +0200
X-Original-Received: (from news@localhost) by front4.grolier.fr
    (8.9.3/No_Relay+No_Spam_MGC990224) id NAA13893 for
    fr-comp-os-linux-configuration@moderators.isc.org; Wed, 6 Jun 2001
    13:20:02 +0200 (MET DST)
From: "Christophe Michel" <tofm2@yahoo.fr>
Newsgroups: alt.os.linux.mandrake,fr.comp.os.linux.configuration,linux.samba
Subject: Mandrake 8.0 and samba printing, using Cups is possible ??
Organization: Club-Internet (France)
Message-ID: <9fl3l1$dh0$1@front4.grolier.fr>
X-Trace: front4.grolier.fr 991826401 13856 213.44.60.180 (6 Jun 2001
    11:20:01 GMT)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Modappbot-Status: autoposted
X-Original-Path: not-for-mail
X-Original-NNTP-Posting-Host: nas6-180.wln.club-internet.fr
X-Original-NNTP-Posting-Date: 6 Jun 2001 11:20:01 GMT
X-Original-Date: Wed, 6 Jun 2001 13:16:02 +0200
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!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 11:30:18 GMT
Lines: 234