01net    Web


Actuellement en ligne : 752 Utilisateurs dont 26 dans Systèmes alternatifs >S'inscrire      >S'identifier      >Recherche      >Aide  
modéré par Zplay, A.Ouloube, fat115  
01net > Forum de 01net > Systèmes alternatifs > Linux
> partage imprimante
Passionné(e) d'internet, de logiciels, de forums ? 01net recrute...
Auteur
Message
 
<     1       >
tengai
  
   
      ?   @     Posté le 12/09/2007 14:25:04  
Voter pour ce message
bonjour je viens d'installer linux ubuntus sur un pc de bureau donc je decouvre linux et j'ai un petit probleme car mon imprimante est raccordée a cette ordi mais je n'arrive pas a la faire fonctionner depuis mon pc portable (xp) par le reseau j'ai regardé divers forum mais la je seche
Merci d'avance
Norbert
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 15:58:30  
Voter pour ce message
Bonjour
A tu installé samba ???
http://doc.ubuntu-fr.org/samba

Sinon tu a quoi comme imprimante ???

PS : voila un tuto qui devrait t'aider :
http://doc.ubuntu-fr.org/partage_imprimante_ubuntu_avec_windows
-->Message édité par Le N@in Vert le 12/09/2007 15:59:58<--
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 16:07:37  
Voter pour ce message
bonjour samba etait installé j'ai reussi a créer mon reseau .comme imprimante j'ai une canon bjc 8200 photo j'ai deja effectué le tuto que tu m'indique et ça ne fonctionne pas
merci
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 16:10:22  
Voter pour ce message
Il se passe quoi quand tu essaye d'imprimer ???
enfaite je doit savoir a quelle niveau le problème t'apparais...

Tu n'arrive pas a reconnaitre l'imprimante sous XP ???
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 16:11:47  
Voter pour ce message
mon probleme vient que je n'arrive pas a trouver mon imprimante sous xp
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 16:16:26  
Voter pour ce message
Quand tu est sous windows et que tu va dans favori réseau --> voir les ordi groupe de travail est ce que ton PC sous linux y est ???
Si oui que ce passe t'il si tu double click dessus ??
Si non renvoi le resultat de la commande :
cat /etc/samba/smb.conf | grep workgroup


-->Message édité par Le N@in Vert le 12/09/2007 16:18:19<--
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 16:19:34  
Voter pour ce message
quand je double clique dans voir les ordi du groupe il me demande mon nom d'utilisateur et mon mot de passe puis quand je les ais rentré j'ai deux dossiers du resau et imprimante et télécopie
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 16:23:27  
Voter pour ce message
Dans ces cas la c'est que tout sur ton PC linux est OK et tu doit paramétré windows pour que l'imprimante qui est la soit reconnu (regarde dans Imprimante et télécopie)...
Après je suis pas/plu expert windows moi... Donc je sais plus trop comment faire...
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 16:27:01  
Voter pour ce message
quand dans xp je vais pour installer une imprimante dans la recherche de l'imprimante il trouve l'ordi avec linux mais pas l'imprimante
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 16:29:50  
Voter pour ce message
Et quand tu va dans imprimante et télécopie dans ton pc linux sur le réseau il y a quoi dedans ???
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 16:30:43  
Voter pour ce message
il n'y a rien
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 16:45:57  
Voter pour ce message
renvoi moi le résultat de la commande
cat /etc/samba/smb.conf

et de
cat /etc/cups/cupsd.conf
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 16:51:30  
Voter pour ce message
excuse moi comme je debute je la tape dans quoi la commande
tengai
  
   
      ?   @     Posté le 12/09/2007 16:54:50  
Voter pour ce message
pour smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
#

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = MSHOME

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
; wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = true



#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
; syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
; security = user

# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam

obey pam restrictions = yes

; guest account = nobody
invalid users = root

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
; unix password sync = no

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
; pam password change = no

########## Domains ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
; domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
; logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
; logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
; load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
; printing = bsd
; printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
; printing = cups
; printcap name = cups

# When using [print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
; printer admin = @lpadmin


############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
; domain master = auto

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
; valid users = %S

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
; writable = no

# File creation mask is set to 0600 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0664.
; create mask = 0600

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

wins support = no
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
public = no
writable = no
create mode = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom



[les moutards]
path = /media/les moutards
available = yes
browsable = yes
public = yes
writable = yes

[eMule]
path = /media/emule/eMule
available = yes
browsable = yes
public = yes
writable = no
tengai
  
   
      ?   @     Posté le 12/09/2007 16:56:22  
Voter pour ce message
pour cupsd.conf
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning

# Administrator user group...
SystemGroup lpadmin

# Only listen for connections from the local machine.
#Listen localhost:631
Port 631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing Off
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow from 192.168.0.*
</Location>

# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow localhost
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>

# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>

# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

<Limit All>
Order deny,allow
</Limit>
</Policy>

#
#

#
# Printcap: the name of the printcap file. Default is /etc/printcap.
# Leave blank to disable printcap file generation.
#

Printcap /var/run/cups/printcap

#
# PrintcapFormat: the format of the printcap file, currently either
# BSD or Solaris. The default is "BSD".
#

#PrintcapFormat BSD
#PrintcapFormat Solaris

#
# PrintcapGUI: the name of the GUI options panel program to associate
# with print queues under IRIX. The default is "/usr/bin/glpoptions"
# from ESP Print Pro.
#
# This option is only used under IRIX; the options panel program
# must accept the "-d printer" and "-o options" options and write
# the selected printer options back to stdout on completion.
#

#PrintcapGUI /usr/bin/glpoptions
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 17:00:57  
Voter pour ce message
Bon bah tu n'as pas fait ce qui est dit la : http://doc.ubuntu-fr.org/partage_imprimante_ubuntu_avec_windows#utilisation_d(...)
Fait le et théoriquement sa marchera sans problème...



PS : Pour info les commandes il faut les taper soit dans la console soit dans un terminal
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 17:03:22  
Voter pour ce message
dans le lien que tu m'a donné je passe par samba bien qu'il dise que c'est moins conseillé
tengai
  
   
      ?   @     Posté le 12/09/2007 17:10:36  
Voter pour ce message
et je voudrais encore poser une questions dans le smb.conf que je dois modifier je rajoute les lignes ou je modifie celles qui sont deja ecrite
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 17:16:08  
Voter pour ce message
Bah si la l'option est écrite avec une valeur différente tu modifie la valeur et si elle n'est pas écrit tu la rajoute...
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 17:18:00  
Voter pour ce message
et si il y a d'autre option je les laisses?
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 17:20:50  
Voter pour ce message
Oui
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 17:48:16  
Voter pour ce message
c'est encore moi quand je tape cupsaddsmb -v -U root -a il me dit qu'il n'a pas le bon driver ou puisje le trouver
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 18:26:25  
Voter pour ce message
http://openprinting.org/show_printer.cgi?recnum=Canon-BJC-8200
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 18:41:12  
Voter pour ce message
je ne comprends plus rien j'ai reinstallé le pilote et ça me dit toujours qu'il n'as pas le pilote d'impression pour windows
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 18:48:57  
Voter pour ce message
pour windows ???

C'est windows qui te dit sa ????
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
tengai
  
   
      ?   @     Posté le 12/09/2007 19:35:47  
Voter pour ce message
non c'est linux quand je tape cupsaddsmb -v -U root -a
Le N@in Vert
  Je pompe donc je suis.
  :-)
      ?   ^   @     Posté le 12/09/2007 20:46:00  
Voter pour ce message
Bah ta pas installé le bon driver...

Et puis moi j'y connais rien en imprimante...
-------
Les aventure du donjon de naheulbeuk : www.penofchaos.com/donjon
Le site du zero : http://www.siteduzero.com
Mon site perso : www.lesitedesnains.ironie.org
<     1       >

01net > Forum de 01net > Systèmes alternatifs > Linux
> partage imprimante

Aller à :

Page générée en : 0.195s - X2board 2.2

Nous contacter | Charte de confiance | Voir notice légale

Tous droits réservés © 1999 - 2008 Groupe Tests - 01net.


Sites du réseau 01net Network : 01net - 01men - Rmc.fr - Bfmtv.fr - Radiobfm.com - TousLesPodcasts - Micro Achat - Caractere.net -
Electronique.biz - Mesures.com - Transaction.fr

Essais automobiles 
Essai automobile :
Skoda Superb II, payer moins pour profiter davantage...
Jeux
Nouveauté : Sauvez silverfall du Grand Amiral Von Skromel, le leader des NécroRaiders.