Logo Hardware.com.br
timdrake
timdrake Membro Junior Registrado
88 Mensagens 0 Curtidas

Impressora Windows no Linux

#1 Por timdrake 06/12/2002 - 11:03
Ei galera, to tentando instalar uma impressora Xerox DocuPrint P8e PCL-5e que está instalada em uma máquina que roda windows na minha maquina que roda o linux. Gostaria de saber como que faço isso, meu samba ja está instalado.

Espero a ajuda de voces...


Abraços
T++ 8)
[K7S5A v.1.0] [Athlon 1.0Ghz] [392 PC133 Samsung] [HD 80Gb Seagate Barracuda 7.200RPM] [CoolerMaster Aero 7+] [CD-Rom 50X] [Gravador 24x10x40 LG] [SB Live! 5.1] [R9600][Creative SBS 4.1] [Rounded Cable] [Case 320KL] [W2K Pro SP3]
roney_edu
roney_edu Novo Membro Registrado
60 Mensagens 0 Curtidas
#3 Por roney_edu
06/12/2002 - 12:50
Tente usar a ferramenta PRINTTOOL, se naum tiver instalada em sua distribuição (ou no cd de instalação), procure os rpms no ftp da red hat que lá tem com certeza. Esta ferramenta é muito útil para instalação, configuração e gerenciamento de impressoras locais e de rede (samba inclusive). É muito fácil e intuitivo de configurar!
Rôney Eduardo Oliveira Santos
jqueiroz
jqueiroz Cyber Highlander Registrado
104K Mensagens 5.7K Curtidas
#6 Por jqueiroz
06/12/2002 - 21:25
timdrake
Vou deixar ela conectada na maquina windows, quero usar ela em rede.....


samba...

Compartilhe a impressora no Windows, depois vá no Linux e siga os passos do arquivo abaixo.

--- Início do arquivo "/usr/bin/smbprint" ---
#!/bin/sh
# This script is an input filter for printcap printing on a unix machine. It
# uses the smbclient program to print the file to the specified smb-based
# server and service.
# For example you could have a printcap entry like this
#
# smb:lp=/dev/null:sd=/usr/spool/smb:sh:if=/usr/local/samba/smbprint
#
# which would create a unix printer called "smb" that will print via this
# script. You will need to create the spool directory /usr/spool/smb with
# appropriate permissions and ownerships for your system.

# Set these to the server and service you wish to print to
# In this example I have a WfWg PC called "lapland" that has a printer
# exported called "printer" with no password.

#
# Script further altered by hamiltom@ecnz.co.nz (Michael Hamilton)
# so that the server, service, and password can be read from
# a /usr/var/spool/lpd/PRINTNAME/.config file.
#
# In order for this to work the /etc/printcap entry must include an
# accounting file (af=...):
#
# cdcolour:\
# :cm=CD IBM Colorjet on 6th:\
# :sd=/var/spool/lpd/cdcolour:\
# :af=/var/spool/lpd/cdcolour/acct:\
# :if=/usr/local/etc/smbprint:\
# :mx=0:\
# :lp=/dev/null:
#
# The /usr/var/spool/lpd/PRINTNAME/.config file should contain:
# share=PC_SERVER
# user="user"
# password="password"
#
# Please, do not modify the order in the file.
# Example:
# share=\\server\deskjet
# user="fred"
# password=""

#
# The last parameter to the filter is the accounting file name.
# Extract the directory name from the file name.
# Concat this with /.config to get the config file.
#
--- o arquivo "/usr/bin/smbprint" tem mais linhas. ---
"chmod 777 nunca ajudou ninguém" (c) 2002-2021 JQueiroz/FGdH
Conheça o Blog do Zekke
timdrake
timdrake Membro Junior Registrado
88 Mensagens 0 Curtidas
#7 Por timdrake
09/12/2002 - 09:37
Bele..esse arquivo eu achei...fiz algumas coisas que li e nada....tem como explicar mais ainda...deixar mais facil...como disse..to começando a mexer com linux não faz muito tempo...

Abraços
T++ 8)
[K7S5A v.1.0] [Athlon 1.0Ghz] [392 PC133 Samsung] [HD 80Gb Seagate Barracuda 7.200RPM] [CoolerMaster Aero 7+] [CD-Rom 50X] [Gravador 24x10x40 LG] [SB Live! 5.1] [R9600][Creative SBS 4.1] [Rounded Cable] [Case 320KL] [W2K Pro SP3]
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal