Changeset 109

Show
Ignore:
Timestamp:
12/11/07 11:44:30 (12 months ago)
Author:
psmedley
Message:

Add support for undocumented 'printing = os2' parameter - patch from HerwigB

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/param/loadparm.c

    r71 r109  
    13121312                case PRINT_AIX: 
    13131313                case PRINT_LPRNT: 
     1314#ifndef __OS2__ 
    13141315                case PRINT_LPROS2: 
     1316#endif 
    13151317                        string_set(&pService->szLpqcommand, "lpq -P'%p'"); 
    13161318                        string_set(&pService->szLprmcommand, "lprm -P'%p' %j"); 
    13171319                        string_set(&pService->szPrintcommand, "lpr -r -P'%p' %s"); 
    13181320                        break; 
     1321#ifdef __OS2__ 
     1322                case PRINT_LPROS2: 
     1323                        string_set(&pService->szLpqcommand, "lpq.exe -s %i -p %p"); 
     1324                        string_set(&pService->szLprmcommand, "lprm.exe -s %i -p %p %j"); 
     1325                        string_set(&pService->szPrintcommand, "lpr.exe -b -s %i -p %p %s & cmd.exe /c del %s"); 
     1326                        break; 
     1327#endif           
    13191328 
    13201329                case PRINT_LPRNG: