summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-07 00:48:27 +0000
committerJeremy Allison <jra@samba.org>2000-10-07 00:48:27 +0000
commit5d4f5cdddc23819bfab0961a013ed5593b2b2d30 (patch)
tree60a0169988a581868d1701c259bd223777475c3a /source3/param
parentf601ecdda2dd229effb32b53cb99dbb67c6bd43e (diff)
downloadsamba-5d4f5cdddc23819bfab0961a013ed5593b2b2d30.tar.gz
samba-5d4f5cdddc23819bfab0961a013ed5593b2b2d30.tar.bz2
samba-5d4f5cdddc23819bfab0961a013ed5593b2b2d30.zip
Integrated support for NT and OS/2 lpq parsing. Code from
Jim McDonough Infoprint Manager Development Linux Technology Center IBM Boulder Jeremy. (This used to be commit d9eedd5db1728be8e23d73c954db13bbbcadf3fb)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 452c207dfb..09ecdf83fa 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -549,6 +549,8 @@ static struct enum_list enum_printing[] = {
{PRINT_LPRNG, "lprng"},
{PRINT_SOFTQ, "softq"},
{PRINT_CUPS, "cups"},
+ {PRINT_LPRNT, "nt"},
+ {PRINT_LPROS2, "os2"},
{-1, NULL}
};
@@ -1005,6 +1007,8 @@ static void init_printer_values(void)
{
case PRINT_BSD:
case PRINT_AIX:
+ case PRINT_LPRNT:
+ case PRINT_LPROS2:
string_set(&sDefault.szLpqcommand, "lpq -P%p");
string_set(&sDefault.szLprmcommand, "lprm -P%p %j");
string_set(&sDefault.szPrintcommand,