summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/printing/lpqcommand.xml
Commit message (Collapse)AuthorAgeFilesLines
* docs-xml: remove explicit "constant"Ralph Boehme2019-11-271-1/+0
| | | | | | | | | | | | | | | | | The constant mark applied to types "string" and "ustring". The previous patches in this patchset already markes all string options as either constant or substituted, but it's still possible to add options or change existing ones to be neither constant nor substituted. In order to enforce strings to be either constant or substitued, remove the explicit constant marker. Instead, any option that is not marked as substituted is implicitly made constant. This patch doesn't change behaviour and all generated files are the same before and after this change. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:printing: Fix %J substitionRalph Boehme2019-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | print_run_command() uses lp_print_command() which internally performs basic substition by calling talloc_sub_basic(). As a result. any of the variables in the "basic set", including "%J" are already substituted. To prevent the unwanted subtitution, we declare all affected configuration options as const, which disabled the basic substition. As a result print_run_command() can run manual substitution on all characters, including %J, in the variadic argument list *before* calling lp_string() to run basic substition which we had disabled before with the const. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13745 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Nov 7 16:01:21 UTC 2019 on sn-devel-184
* docs:smbdotconf: make formatting of headers uniform.Michael Adam2015-07-311-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* docs:smbdotconf: remove swat-specific flags.Michael Adam2015-05-021-1/+0
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* docs: explain where the defaults for these printing parameters comes fromAndrew Bartlett2014-01-281-1/+1
| | | | | | | The use of <comment> allows the XML parser in the tests to skip the descriptive text. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* Moving docs tree to docs-xml to make room for generated docs in the release ↵Gerald W. Carter2008-04-231-0/+42
tarball. (This used to be commit 9f672c26d63955f613088489c6efbdc08b5b2d14)