From 37a6f03f3550321f96200b1357078b308a45f6cd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 27 May 2003 13:20:26 +0000 Subject: Very large number of markup fixes, layout updates, etc. (This used to be commit 8dfbaafb843d17b865855ba1fef1e62cd38d3964) --- docs/docbook/projdoc/printer_driver2.xml | 179 ++++++++++++++----------------- 1 file changed, 79 insertions(+), 100 deletions(-) (limited to 'docs/docbook/projdoc/printer_driver2.xml') diff --git a/docs/docbook/projdoc/printer_driver2.xml b/docs/docbook/projdoc/printer_driver2.xml index 76f59c12ea..028c6cc1e6 100644 --- a/docs/docbook/projdoc/printer_driver2.xml +++ b/docs/docbook/projdoc/printer_driver2.xml @@ -60,12 +60,8 @@ spooled files. They are utilized entirely by the clients. The following MS KB article, may be of some help if you are dealing with -Windows 2000 clients: How to Add Printers with No User -Interaction in Windows 2000 - - - -http://support.microsoft.com/support/kb/articles/Q189/1/05.ASP +Windows 2000 clients: +How to Add Printers with No User Interaction in Windows 2000 @@ -141,8 +137,8 @@ level user accounts to have write access in order to update files on the share. See the smb.conf(5) man page for more information on configuring file shares. -The requirement for guest -ok = yes depends upon how your +The requirement for guest +ok = yes depends upon how your site is configured. If users will be guaranteed to have an account on the Samba host, then this is a non-issue. @@ -158,8 +154,8 @@ is not necessary. Of course, in a workgroup environment where you just want to be able to print without worrying about silly accounts and security, then configure the share for guest access. You'll probably want to add map to guest = Bad User - in the [global] section as well. Make sure +url="smb.conf.5.html#MAPTOGUEST">map to guest = Bad User + in the [global] section as well. Make sure you understand what this parameter does before using it though. --jerry @@ -210,12 +206,12 @@ that all file shares are set to 'read only' by default. -Once you have created the required [print$] service and +Once you have created the required [print$] service and associated subdirectories, simply log onto the Samba server using a root (or printer admin) account -from a Windows NT 4.0/2k client. Open "Network Neighbourhood" or -"My Network Places" and browse for the Samba host. Once you have located -the server, navigate to the "Printers..." folder. +from a Windows NT 4.0/2k client. Open Network Neighbourhood or +My Network Places and browse for the Samba host. Once you have located +the server, navigate to the Printers... folder. You should see an initial listing of printers that matches the printer shares defined on your Samba host. @@ -233,30 +229,30 @@ which has this default driver assigned will result in the error message: -Device settings cannot be displayed. The driver +Device settings cannot be displayed. The driver for the specified printer is not installed, only spooler properties will be displayed. Do you want to install the -driver now? +driver now? -Click "No" in the error dialog and you will be presented with +Click No in the error dialog and you will be presented with the printer properties window. The way to assign a driver to a printer is to either - - Use the "New Driver..." button to install - a new printer driver, or + + Use the New Driver... button to install + a new printer driver, or - Select a driver from the popup list of - installed drivers. Initially this list will be empty. - - + Select a driver from the popup list of + installed drivers. Initially this list will be empty. + + If you wish to install printer drivers for client operating systems other than "Windows NT x86", you will need -to use the "Sharing" tab of the printer properties dialog. +to use the Sharing tab of the printer properties dialog. Assuming you have connected with a root account, you will also be able modify other printer properties such as @@ -267,7 +263,7 @@ on a Windows NT print server to have printers listed in the Printers folder which are not shared. Samba does not make this distinction. By definition, the only printers of which Samba is aware are those which are specified as shares in -smb.conf. +&smb.conf;. Another interesting side note is that Windows NT clients do not use the SMB printer share, but rather can print directly @@ -287,15 +283,15 @@ permissions to the "Everyone" well-known group. One issue that has arisen during the development phase of Samba 2.2 is the need to support driver downloads for 100's of printers. Using the Windows NT APW is somewhat -awkward to say the list. If more than one printer are using the +awkward to say the least. If more than one printer are using the same driver, the rpcclient's setdriver command can be used to set the driver associated with an installed driver. The following is example of how this could be accomplished: -$ rpcclient pogo -U root%secret -c "enumdrivers" - + +$ rpcclient pogo -U root%secret -c "enumdrivers" Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] [Windows NT x86] @@ -307,21 +303,17 @@ Printer Driver Info 1: Printer Driver Info 1: Driver Name: [HP LaserJet 4Si/4SiMX PS] - -$ rpcclient pogo -U root%secret -c "enumprinters" - +$ rpcclient pogo -U root%secret -c "enumprinters" Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] flags:[0x800000] name:[\\POGO\hp-print] description:[POGO\\POGO\hp-print,NO DRIVER AVAILABLE FOR THIS PRINTER,] comment:[] - -$ rpcclient pogo -U root%secret -c "setdriver hp-print \"HP LaserJet 4000 Series PS\"" - +$ rpcclient pogo -U root%secret -c "setdriver hp-print \"HP LaserJet 4000 Series PS\" Domain=[NARNIA] OS=[Unix] Server=[Samba 2.2.0-alpha3] Successfully set hp-print to driver HP LaserJet 4000 Series PS. - + @@ -330,9 +322,9 @@ Successfully set hp-print to driver HP LaserJet 4000 Series PS. Adding New Printers via the Windows NT APW -By default, Samba offers all printer shares defined in smb.conf -in the "Printers..." folder. Also existing in this folder is the Windows NT -Add Printer Wizard icon. The APW will be show only if +By default, Samba offers all printer shares defined in &smb.conf; +in the Printers... folder. Also existing in this folder is the Windows NT +Add Printer Wizard icon. The APW will be show only if @@ -352,15 +344,15 @@ server, the add printer command must have a defined value. The program hook must successfully add the printer to the system (i.e. /etc/printcap or appropriate files) and -smb.conf if necessary. +&smb.conf; if necessary. When using the APW from a client, if the named printer share does -not exist, smbd will execute the add printer -command and reparse to the smb.conf +not exist, &smbd; will execute the add printer +command and reparse to the &smb.conf; to attempt to locate the new printer share. If the share is still not defined, -an error of "Access Denied" is returned to the client. Note that the +an error of Access Denied is returned to the client. Note that the add printer program is executed under the context of the connected user, not necessarily a root account. @@ -447,7 +439,7 @@ a form of load balancing or fail over. If you require that multiple ports be defined for some reason, -smb.conf possesses a enumports command which can be used to define an external program that generates a listing of ports on a system. @@ -588,6 +580,7 @@ foreach (supported architecture for a given driver)