From 49fcb300de40d6da8682b485fd2c51236bcbb3dd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 31 Jul 2000 20:41:51 +0000 Subject: Added John Reilly's enumports/addprinter/delprinter scripting code plus the fix for the Win9x printer drivers. Changed command names to add "command" string on the end for some consistancy with the other scripting commands. Added '%P' option to tdbpack/unpack to store long comment string. Made port name be "Samba Printer Port" if no enum port script given. Fixed prs_uint32_pre code to cope with null args. Jeremy. (This used to be commit 902ada63799cf27924c72e24e7593a8c9fb5eba9) --- source3/printing/load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing/load.c') diff --git a/source3/printing/load.c b/source3/printing/load.c index 3d50f6d42a..fbf10d22b8 100644 --- a/source3/printing/load.c +++ b/source3/printing/load.c @@ -25,7 +25,7 @@ /*************************************************************************** auto-load printer services ***************************************************************************/ -static void add_all_printers(void) +void add_all_printers(void) { int printers = lp_servicenumber(PRINTERS_NAME); -- cgit