!==
!== PRINTER_DRIVER.txt for Samba release 2.0.6 11 Nov 1999
!==
==========================================================================
	ͭ PRINTER$ Υݡ
 
 	Jean-Francois.Micouleau@utc.fr, 10/26/97
	modified by herb@sgi.com 1/2/98

	: nakano@apm.seikei.ac.jp 7/4/98

===========================================================================
Ǥ:
	ʸƤ Windows 95  *Τ* ͭǤ
	Windows NT 4 Ǥư *ޤ*

Ū:
	samba Ƕͭ줿ץ󥿤򥯥åȤˡΥץ󥿤
	ɥ饤Ф Windows 95 ޥ˼ưŪ˥󥹥ȡǤ褦
	뤳ȤǤ samba Ф NT server Τ褦ˤ櫓Ǥ

ˡ:
	ʳȤʤޤ

	ޤˡץ󥿥ɥ饤ФΥե֤ǥ쥯ȥ򿷤
	ꡢ smb.conf ˤΥǥ쥯ȥѤ붦ͭޤ

	:
		[printer$]
   		  path=/usr/local/samba/printer
   		  public=yes
   		  writable=no
   		  browseable=yes

	ˡѤץ󥿤ɬפʥɥ饤ФΥꥹȤޤ
	줬ǤݤʻŻǤ 'msprint.inf'  'msprint2.inf' 
	ȤեꤷƲ¿ʬưƤ Windows 95 
	󤫤äƤΤִñǤ礦̾ 'c:\windows\inf' 
	ˤϤǤ򸫤ơȤΥץ󥿤õƲ
	 samba ˿Ƴ줿ץ 'make_printerdef' 	
	¹Ԥޤե̾ȥץ󥿤̾ѥ᡼˻ꤷƲ
	ǥեȤǥݡȤƤʤץ󥿤Υɥ饤Ф䡢
	줿ɥ饤ФϡޤΥɥ饤Ф Windows 95 
	ƥ˥󥹥ȡ뤷Ʋ inf ǥ쥯ȥ 
	'oem?.inf' (? ֹ)Ȥե뤬ǤϤǤΥե
	 msprint.inf Ѥޤ

	: (/usr/local/samba/lib ǥ쥯ȥǼ¹Ԥޤ)

	make_printerdef msprint.inf "Apple LaserWriter" >> printers.def
 	 
	ΥץɬפȤʤեΥꥹȤ stderr ɽ
	ꥹȤ줿ե쥹ƥåפǺǥ쥯ȥ
	ˤ٤ƥԡƲ smb.conf  "preserve case = yes" 
	ꤷƤϡե̾ʸ/ʸޤΤ
	פƤ뤫ɤǧƲ
	
	軰ˡ smb.conf Ĥοѥ᡼ɲäɬפ
	ޤĤ [global] ɲä 'printer driver file' 
	ǡ޺ץ󥿵ҥեꤷޤ⤦Ĥϥ
	󥿤ζͭɲä 'printer driver location' 
	ϥ饤Ȥɥ饤Фꤹꤷޤ
	 'printer driver' ѥ᡼ˡ Windows ǤΥץ̾
	ꤹɬפޤ

	:

		[global]
  		  printer driver file=/usr/local/samba/lib/printers.def

		[lp]
		   comment = My old printer laser
		   browseable = yes
		   printable = yes
		   public = yes
		   writable = no
		   create mode = 0700
		   printer driver=Apple LaserWriter
		   printer driver location=\\%h\PRINTER$

	%h ϥԥ塼̾Ÿޤ PRINTER$ 쥹ƥ
	פǺͭǤ


ʤΤȤǤޤʤƤ⡢ɤܤʤǲΤȤ
ǤϤưƤΤǤ顣ȥ֥뤬äϡsmb.conf 
 printers.def դơޤǵڤ˥᡼äƲ


******* herb@sgi.com ˤ­

ˤĤƾܤΤꤿͤΤˡ뤤ϻ伫ȤĤΥե
ɤ˴ؤƴְäƤǽ⤢Τ - ʲ printer.def ե
ΥȥΥեޥåȤǤʳƥȥϰĤιԤʤޤ
ǤϲΤ˹Ԥʬ䤷Ƥޤ

<Long Printer Name>:<Driver File Name>:<Data File Name>:<Help File Name>:
<Language Monitor Name>:<Default Data Type>:<Comma Separated list of Files>

<Help File Name>  <Language Monitor Name> ϶Ǥ⤫ޤޤ
<Driver File Name> ޤ <Data File Name>  inf ե˻ꤵ
ʤСϥǥեȤǤΥץ󥿤Υ̾ˤʤޤ

ʲ Win95 ޥˤä MSPRINT2.INF ե뤫ȴǤ
 "QMS ColorScript 100 Model 30" ץ󥿤˥󥹥ȡ뤹ɥ饤Ф
طƤʤԤϡ٤ƺƤޤΡ֥եפѤơ 
printers.def ɤΤ褦뤫ƤߤȻפޤ

make_printerdef ¹ԤޤˤϤΥե̾ʺ 
MSPRINT2.INFˡˤϥץ󥿤̾ʺ "QMS ColorScript
100 Model 30"ˤͿޤ

ޤץ̾ "Model section" ˸Ĥޤ "Installer
Section" ̾狼ޤθ̾Ǥˡ̵̾뤷ޤ

"Installer Section" ˤ "CopyFiles"  "DataSection" Ȥȥ꤬
ޤ "CopyFiles" ιԤˡΥץ󥿤ɬפʥե뤬٤Ϳ
ޤ @ ǻϤޤ̾ϤΤޤޥե̾@ ä
̾ˤʤޤˡʳξ "Copy Section" ̾򼨤ޤ
ԤϡɬפʥեΥꥹȤȤʤäƤޤΥץ󥿤 
"QCS30503.SPD" ȤեĤȡ "COLOR_QMS_100_30"  
"PSCRIPT" ȤĤΥɬפȤƤ뤳Ȥ狼ޤ 
"COLOR_QMS_100_30"  "[DestinationDirs]" ˤ⤢ꡢ23 ȤͤͿ
ƤޤϡΥ˥ꥹȤƤե뤬
ƥ֥ǥ쥯ȥ "color" ˹Ԥ٤Ǥ뤳Ȥ򼨤Ƥޤɡ
Υץ󥿤Τ˥ԡʤФʤʤեϡʲΤ褦ˤ
ޤ

QCS30503.SPD,color\QMS10030.ICM,PSCRIPT.DRV,PSCRIPT.HLP,PSCRIPT.INI,
TESTPS.TXT,APPLE380.SPD,FONTS.MFM,ICONLIB.DLL,PSMON.DLL

"Data Section" 顢 "DriverFile", "HelpFile", "LanguageMonitor" Ȥ
ͤޤ "LanguageMonitor" ͤξ¦ˤ % ϡ줬Ÿ
ǽʸǤ뤳Ȥ򼨤ƤꡢäƼºݤͤ "[Strings]" 
ޤ "Data Section" ˤ "DefaultDataType" ꤵ뤳
⤢ޤ

ξѤС printers.def եΥȥ뤳
Ǥޤ

<Long Printer Name>     -> QMS ColorScript 100 Model 30 
                           (ޥɥ饤Ϳ̾)
<Driver File Name>      -> PSCRIPT.DRV  (Data Section Ϳ̾)
<Data File Name>        -> QCS30503.SPD (Installer Section ̾)
<Help File Name>        -> PSCRIPT.HLP  (Data Section Ϳ)
<Language Monitor Name> -> PostScript Language Monitor 
                           (Data Section Ϳ)
<Default Data Type>     -> RAW (ꤵʤΥǥե)


... ɥȥϰʲΤ褦ˤʤǤ礦ϰԤˤʤޤ
ǤϲΤʬ䤷Ƥޤ:

QMS ColorScript 100 Model 30:PSCRIPT.DRV:QCS30503.SPD:
PSCRIPT.HLP:PostScript Language Monitor:RAW:
QCS30503.SPD,color\QMS10030.ICM,PSCRIPT.DRV,PSCRIPT.HLP,PSCRIPT.INI,
TESTPS.TXT,APPLE380.SPD,FONTS.MFM,ICONLIB.DLL,PSMON.DLL

---------------------- MSPRINT2.INF ȴ ------------------------

;
; The Manufacturer section lists all of the manufacturers that we will
; display in the Dialog box

[Manufacturer]
"QMS"


;
; 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.
;
[QMS]
"QMS ColorScript 100 Model 30"    = QCS30503.SPD,QMS_ColorScript_100_Model_30


;
; 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.
;
[QCS30503.SPD]
CopyFiles=@QCS30503.SPD,COLOR_QMS_100_30,PSCRIPT
DataSection=PSCRIPT_DATA

; Copy Sections
;
; Lists of files that are actually copied. These sections are referenced
; from the installer sections, above. Only create a section if it contains
; two or more files (if we only copy a single file, identify it in the
; installer section, using the @filename notation) or if it's a color
; profile (since the DestinationDirs can only handle sections, and not
; individual files).
;
[COLOR_QMS_100_30]
QMS10030.ICM

[PSCRIPT]
PSCRIPT.DRV
PSCRIPT.HLP
PSCRIPT.INI
TESTPS.TXT
APPLE380.SPD
FONTS.MFM
ICONLIB.DLL
PSMON.DLL


;
; Data Sections
;
; These sections contain data that is shared between devices.
;
[PSCRIPT_DATA]
DriverFile=PSCRIPT.DRV
HelpFile=PSCRIPT.HLP
LanguageMonitor=%PS_MONITOR%


;
; Color profiles go to the colors directory. All other files go to the
; system directory
;

[DestinationDirs]
DefaultDestDir=11
COLOR_QMS_100_30=23
COLOR_TEKTRONIX_200I=23
COLOR_TEKTRONIX_III_PXI=23


;
; Localizable Strings
;
[Strings]
MS="Microsoft"
PS_MONITOR="PostScript Language Monitor,PSMON.DLL"

