Index: doc/help/ref-printers-conf.html
===================================================================
--- doc/help/ref-printers-conf.html	(revision 10563)
+++ doc/help/ref-printers-conf.html	(working copy)
@@ -90,7 +90,7 @@
 <PRE CLASS="command">
 &lt;DefaultPrinter name&gt;
   ...
-&lt;/Printer&gt;
+&lt;/DefaultPrinter&gt;
 </PRE>
 
 <H3>Description</H3>
Index: man/printers.conf.man
===================================================================
--- man/printers.conf.man	(revision 10563)
+++ man/printers.conf.man	(working copy)
@@ -29,7 +29,7 @@
 .br
 Defines a specific printer.
 .TP 5
-<DefaultPrinter name> ... </Printer>
+<DefaultPrinter name> ... </DefaultPrinter>
 .br
 Defines a default printer.
 .TP 5
Index: scheduler/printers.c
===================================================================
--- scheduler/printers.c	(revision 10563)
+++ scheduler/printers.c	(working copy)
@@ -957,7 +957,8 @@
         cupsdLogMessage(CUPSD_LOG_ERROR,
 	                "Syntax error on line %d of printers.conf.", linenum);
     }
-    else if (!_cups_strcasecmp(line, "</Printer>"))
+    else if (!_cups_strcasecmp(line, "</Printer>") ||
+             !_cups_strcasecmp(line, "</DefaultPrinter"))
     {
       if (p != NULL)
       {
@@ -1656,7 +1657,10 @@
       cupsFilePrintf(fp, "Attribute marker-change-time %ld\n",
                      (long)printer->marker_time);
 
-    cupsFilePuts(fp, "</Printer>\n");
+    if (printer == DefaultPrinter)
+      cupsFilePrintf(fp, "</DefaultPrinter>\n");
+    else
+      cupsFilePrintf(fp, "</Printer>\n");
 
 #ifdef __sgi
     /*
