Changeset 109 for branches


Ignore:
Timestamp:
Dec 11, 2007, 11:44:30 AM (18 years ago)
Author:
Paul Smedley
Message:

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

File:
1 edited

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:
Note: See TracChangeset for help on using the changeset viewer.