diff --git a/docs-xml/smbdotconf/printing/printername.xml b/docs-xml/smbdotconf/printing/printername.xml
index b5a41acf386..0e3a11a8f13 100644
--- a/docs-xml/smbdotconf/printing/printername.xml
+++ b/docs-xml/smbdotconf/printing/printername.xml
@@ -2,6 +2,7 @@
context="S"
print="1"
type="string"
+ function="_printername"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
printer