创建 Printer1 段

此段提供有关在 [Drivers] 段中被指定为 Printer1 的打印机的特定信息。

[Drivers] 段中定义的每个打印机驱动程序都必须有这些段中的一个相对应。下一个打印机的特定段应是 [Printer2],依次类推。

Sample [Printer1] section

[Printer1]
Model=Laser Printer yyyy
Stream=PS
   # Options are: PS or PCL
Name=yyyy
   # Can be anything
RealName=Laser Printer yyyy PS3
   # For more information, see the [Drivers] section.
Port=CPAPort
   # Must match an existing port or a port created in the port section
Share=1
   # Valid only for Windows XP or later
ShareName=Printer
   # Valid only for Windows XP or later
Alt2000Drv=1
   # To install alternate drivers for Windows XP or later, otherwise use 0 (default)
Published=0
   # Valid only for Windows XP or later
Default=0
   # A value of 1 would make this the default printer.
ScreenFonts=1
   # A value of 1 installs screen fonts, otherwise use 0 (default). 
   # For more information, see the [Tools] section.
CfgEntry=yyyy PostScript
Comment=Color printer with duplex option
		# Can be anything
Location=Main printer room
		# Can be anything