Changeset 454 for trunk/server/source3/param/loadparm.c
- Timestamp:
- Jun 4, 2010, 3:11:43 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/server/source3/param/loadparm.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/param/loadparm.c
r414 r454 4665 4665 case PRINT_AIX: 4666 4666 case PRINT_LPRNT: 4667 4667 4668 case PRINT_LPROS2: 4669 4668 4670 string_set(&pService->szLpqcommand, "lpq -P'%p'"); 4669 4671 string_set(&pService->szLprmcommand, "lprm -P'%p' %j"); 4670 4672 string_set(&pService->szPrintcommand, "lpr -r -P'%p' %s"); 4671 4673 break; 4674 4675 4676 4677 4678 4679 4680 4672 4681 4673 4682 case PRINT_LPRNG: … … 4938 4947 string_set(&Globals.szGuestaccount, GUEST_ACCOUNT); 4939 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4940 4961 /* using UTF8 by default allows us to support all chars */ 4941 4962 string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET); 4963 4964 4965 4966 4967 4942 4968 4943 4969 #if defined(HAVE_NL_LANGINFO) && defined(CODESET) 4944 4970 /* If the system supports nl_langinfo(), try to grab the value 4945 4971 from the user's locale */ 4972 4946 4973 string_set(&Globals.display_charset, "LOCALE"); 4974 4975 4976 4977 4978 4979 4947 4980 #else 4948 4981 string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET); 4949 4982 #endif 4950 4983 4984 4951 4985 /* Use codepage 850 as a default for the dos character set */ 4952 4986 string_set(&Globals.dos_charset, DEFAULT_DOS_CHARSET); 4987 4988 4989 4990 4991 4953 4992 4954 4993 /*
Note:
See TracChangeset
for help on using the changeset viewer.
