samba a ovladace tiskaren
Ing. Zdenek Havranek, HAF
sea-cv na volny.cz
Pondělí Leden 22 13:12:27 CET 2001
Zdravim,
jiz nekolik hodin se trapim se sambou 2.0.5a tak, aby mi Windows 95
samy doinstalovaly ovladace ze serveru pri instalaci tiskarny. Zatim mi
Win95 stale hledaji ovladace samy u sebe a ne na serveru. (Jsou-li jako
server Win 98, tak to na tech 95 chodi dobre - natahnou ovladace z tech
Win98).
Misto uplneho MSPRINT3.INF jsem nejdrive zkousel zkraceny
PRINTERS.DEF.
--
S pozdravem
Ing. Zdeněk Havránek, HAF mailto:havranek na email.cz
SEA - Chomutov, s.r.o.
Veškeré činnosti v oboru strojírenství, elektrotechniky a automatizace
mailto:sea-cv na volny.cz, http://www.volny.cz/sea-cv
Tel/fax: +420-396-624048, +420-396-625108, +420-606-507481
Vikové Kunětické 1935, 430 01 Chomutov, Czech Republic
------------- další část ---------------
; Localized 05/20/1998 02:13 (GMT) 7:3.0.517 A printers.def
; PRINTERS.DEF
;
; List of supported printers, manufacturers A through Z which
; aren't listed in MSPRINT.INF or MSPRINT2.INF
[Version]
CatalogFile=printers.cat
Signature="$CHICAGO$"
Class=Printer
ClassGUID={4d36e979-e325-11ce-bfc1-08002be10318}
Provider=%MS%
; LayoutFile=layout.inf, layout1.inf, layout2.inf
;
; The Manufacturer section lists all of the manufacturers that we will
; display in the Dialog box
[Manufacturer]
"HP"
;
; Model sections. Each section here corresponds with an entry listed in the
; [Manufacturer] section, above. The models will be displayed in the order
; that they appear in the INF file.
;
; Each model lists a variation of its own name as a compatible ID. This
; is done primarily as an optimization during upgrade.
;
[HP]
"HP LaserJet 6P" = PCL5EMS2.DRV.BIDI,LPTENUM\Hewlett-PackardHP_La1EE3,Hewlett-PackardHP_La1EE3,HP_LaserJet_6P
;
; Installer Sections
;
; These sections control file installation, and reference all files that
; need to be copied. The section name will be assumed to be the driver
; file, unless there is an explicit DriverFile section listed.
;
[PCL5EMS2.DRV]
CopyFiles=@PCL5EMS2.DRV,UNI,FINSTALL
DataSection=UNI_DATA
[PCL5EMS2.DRV.BIDI]
CopyFiles=@PCL5EMS2.DRV, na PJLMON.DLL,UNI,FINSTALL
DataSection=UNI_DATA
DriverFile=PCL5EMS2.DRV
DataFile=PCL5EMS2.DRV
LanguageMonitor=%PJL_MONITOR%
[UNI]
UNIDRV.DLL
UNIDRV.HLP
ICONLIB.DLL
[FINSTALL]
FINSTALL.DLL
FINSTALL.HLP
[UNI_DATA]
HelpFile=UNIDRV.HLP
DefaultDataType=EMF
;
; Hints for installing language monitors from a print server. These
; strings are not localized (since the localizable portion comes
; directly from the server).
;
[LanguageMonitorHints]
"PJL Language Monitor"="PJL Language Monitor,PJLMON.DLL"
"PostScript Language Monitor"="PostScript Language Monitor,PSMON.DLL"
;
; Localizable Strings
;
[Strings]
MS = "Microsoft"
PJL_MONITOR = "PJL Language Monitor,PJLMON.DLL"
PS_MONITOR = "PostScript Language Monitor,PSMON.DLL"
------------- další část ---------------
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
workgroup = SEA
server string = Samba Server
character set = iso8859-2
client code page = 852
; valid chars = 33 35 36 37 38 39 40 41 45 48 49 50 51 52 53 54 55 56 57 64 97:65 98:66 99:67 100:68 101:69 102:70 103:71 104:72 105:73 106:74 107:75 108:76 109:77 110:78 111:79 112:80 113:81 114:82 115:83 116:84 117:85 118:86 119:87 120:88 121:89 122:90 94 95 96 123 125 126 135:128 139:138 171:141 132:142 134:143 130:144 146:145 150:149 152:151 148:153 129:154 156:155 136:157 165:164 167:166 169:168 159:172 160:181 131:182 216:183 173:184 190:189 199:198 208:209 212:210 137:211 229:213 161:214 140:215 238:221 133:222 162:224 147:226 228:227 231:230 234:232 163:233 251:235 236:237 253:252
; hosts allow = 192.168.33. 127.
log file = /var/log/samba/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY
dns proxy = no
mangle case = yes
mangled names = yes
preserve case = yes
short preserve case = no
default case = upper
case sensitive = no
dos filetime resolution = yes
dos filetimes = yes
fake directory create times = yes
create mask = 771
directory mode = 771
map archive = yes
map hidden = yes
map system = yes
hide dot files = yes
delete readonly = yes
encrypt passwords = no
password level = 0
null passwords = no
debug level = 0
load printers = no
dead time = 15
wins support = yes
# name resolve order = wins lmhosts hosts bcast
name resolve order = wins lmhosts bcast
# name resolve order = wins lmhosts
domain logons = yes
logon script = SCRIPTS\STARTUP.BAT
logon path = \\%N\%U\PROFILE\%m
# toto nastaveni jen kdyz zde neni zadny Windows NT server
domain master = yes
preferred master = yes
os level = 65
printcap name = /etc/printcap
load printers = yes
printer driver file = /samba/sea/printer/MSPRINT3.INF
#============================ Share Definitions ==============================
[homes]
comment = Domaci adresar
path = /home/%u/samba
browseable = no
writable = yes
printable = no
create mask = 711
directory mode = 711
[sea]
comment = Spolecny datovy disk
path = /home/samba/sea
valid users = @zamest
force group = zamest
writable = yes
printable = no
[manager]
comment = Datovy disk manazeru
path = /home/samba/sea-manager
valid users = @spravce
force group = spravce
writable = yes
printable = no
[majitel]
comment = Datovy disk majitelu firmy
path = /home/samba/sea-majitel
valid users = @majitel
force group = majitel
writable = yes
printable = no
[spravce]
comment = Datovy disk spravcu site
path = /home/samba/sea-spravce
valid users = @spravce
force group = spravce
writable = yes
printable = no
[http]
comment = Data pro http server
path = /home/httpd
valid users = @majitel
force group = majitel
writable = yes
printable = no
short preserve case = yes
default case = lower
create mask = 775
directory mode = 775
[install]
comment = Instalacni programy
path = /home/samba/install
valid users = @zamest
writable = no
printable = no
[netlogon]
comment = Network logon scripts
path = /home/samba/netlogon
valid users = @zamest
writable = no
guest ok = no
[tmp]
comment = Pro docasne soubory
path = /home/samba/sea-tmp
valid users = @zamest
writable = yes
guest ok = no
create mask = 711
directory mode = 711
[hp]
comment = HP LaserJet 6P
path = /var/spool/samba
valid users = @zamest
printable = yes
writable = no
guest ok = no
printer = lp
printer driver =HP LaserJet 6P
printer driver location =\\%h\PRINTER$
[printer$]
path = /samba/sea/printer
public = yes
writable = no
browseable = no
Další informace o konferenci Linux