From 6cb4575b12ebb495883a6bf081ed17eccf641df4 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 8 Apr 2003 05:44:49 +0000 Subject: Finish conversion of Printing parameters (This used to be commit 6515b0cff8b0fec25010e5b33b6e7009356146fa) --- .../smbdotconf/printing/addprintercommand.xml | 107 +++++++++++---------- 1 file changed, 55 insertions(+), 52 deletions(-) (limited to 'docs/docbook/smbdotconf/printing/addprintercommand.xml') diff --git a/docs/docbook/smbdotconf/printing/addprintercommand.xml b/docs/docbook/smbdotconf/printing/addprintercommand.xml index abff09cda4..63b3f567b1 100644 --- a/docs/docbook/smbdotconf/printing/addprintercommand.xml +++ b/docs/docbook/smbdotconf/printing/addprintercommand.xml @@ -1,60 +1,63 @@ - - addprinter command (G) - With the introduction of MS-RPC based printing - support for Windows NT/2000 clients in Samba 2.2, The MS Add - Printer Wizard (APW) icon is now also available in the - "Printers..." folder displayed a share listing. The APW - allows for printers to be add remotely to a Samba or Windows - NT/2000 print server. + + + With the introduction of MS-RPC based printing + support for Windows NT/2000 clients in Samba 2.2, The MS Add + Printer Wizard (APW) icon is now also available in the + "Printers..." folder displayed a share listing. The APW + allows for printers to be add remotely to a Samba or Windows + NT/2000 print server. - For a Samba host this means that the printer must be - physically added to the underlying printing system. The add - printer command defines a script to be run which - will perform the necessary operations for adding the printer - to the print system and to add the appropriate service definition - to the smb.conf file in order that it can be - shared by smbd - 8. + For a Samba host this means that the printer must be + physically added to the underlying printing system. The add + printer command defines a script to be run which + will perform the necessary operations for adding the printer + to the print system and to add the appropriate service definition + to the smb.conf file in order that it can be + shared by smbd + 8. - The addprinter command is - automatically invoked with the following parameter (in - order): + The addprinter command is + automatically invoked with the following parameter (in + order): - - printer name - share name - port name - driver name - location - Windows 9x driver location - - + + printer name + share name + port name + driver name + location + Windows 9x driver location + - All parameters are filled in from the PRINTER_INFO_2 structure sent - by the Windows NT/2000 client with one exception. The "Windows 9x - driver location" parameter is included for backwards compatibility - only. The remaining fields in the structure are generated from answers - to the APW questions. + All parameters are filled in from the PRINTER_INFO_2 structure sent + by the Windows NT/2000 client with one exception. The "Windows 9x + driver location" parameter is included for backwards compatibility + only. The remaining fields in the structure are generated from answers + to the APW questions. - Once the addprinter command has - been executed, smbd will reparse the - smb.conf to determine if the share defined by the APW - exists. If the sharename is still invalid, then smbd - will return an ACCESS_DENIED error to the client. + Once the addprinter command has + been executed, smbd will reparse the + smb.conf to determine if the share defined by the APW + exists. If the sharename is still invalid, then smbd + will return an ACCESS_DENIED error to the client. - - The "add printer command" program can output a single line of text, - which Samba will set as the port the new printer is connected to. - If this line isn't output, Samba won't reload its printer shares. - + + The "add printer command" program can output a single line of text, + which Samba will set as the port the new printer is connected to. + If this line isn't output, Samba won't reload its printer shares. + - See also - deleteprinter command, printing, - show add - printer wizard + See also + deleteprinter command, + printing, + show add + printer wizard - Default: none - Example: addprinter command = /usr/bin/addprinter - - - + Default: none + + Example: addprinter command = /usr/bin/addprinter + + -- cgit