| 8447 | */ |
| 8448 | |
| 8449 | static void |
| 8450 | usage(int status) /* O - Exit status */ |
| 8451 | { |
| 8452 | _cupsLangPuts(stdout, _("Usage: ippeveprinter [options] \"name\"")); |
| 8453 | _cupsLangPuts(stdout, _("Options:")); |
| 8454 | _cupsLangPuts(stdout, _("--help Show program help")); |
| 8455 | _cupsLangPuts(stdout, _("--no-web-forms Disable web forms for media and supplies")); |
| 8456 | _cupsLangPuts(stdout, _("--pam-service service Use the named PAM service")); |
| 8457 | _cupsLangPuts(stdout, _("--version Show program version")); |
| 8458 | _cupsLangPuts(stdout, _("-2 Set 2-sided printing support (default=1-sided)")); |
| 8459 | _cupsLangPuts(stdout, _("-A Enable authentication")); |
| 8460 | _cupsLangPuts(stdout, _("-D device-uri Set the device URI for the printer")); |
| 8461 | _cupsLangPuts(stdout, _("-F output-type/subtype Set the output format for the printer")); |
| 8462 | #ifdef HAVE_TLS |
| 8463 | _cupsLangPuts(stdout, _("-K keypath Set location of server X.509 certificates and keys.")); |
| 8464 | #endif /* HAVE_TLS */ |
| 8465 | _cupsLangPuts(stdout, _("-M manufacturer Set manufacturer name (default=Test)")); |
| 8466 | #if !CUPS_LITE |
| 8467 | _cupsLangPuts(stdout, _("-P filename.ppd Load printer attributes from PPD file")); |
| 8468 | #endif /* !CUPS_LITE */ |
| 8469 | _cupsLangPuts(stdout, _("-S filename.strings Set strings file")); |
| 8470 | _cupsLangPuts(stdout, _("-V version Set default IPP version")); |
| 8471 | _cupsLangPuts(stdout, _("-a filename.conf Load printer attributes from conf file")); |
| 8472 | _cupsLangPuts(stdout, _("-c command Set print command")); |
| 8473 | _cupsLangPuts(stdout, _("-d spool-directory Set spool directory")); |
| 8474 | _cupsLangPuts(stdout, _("-f type/subtype[,...] Set supported file types")); |
| 8475 | _cupsLangPuts(stdout, _("-i iconfile.png[,...] Set icon file(s)")); |
| 8476 | _cupsLangPuts(stdout, _("-k Keep job spool files")); |
| 8477 | _cupsLangPuts(stdout, _("-l location Set location of printer")); |
| 8478 | _cupsLangPuts(stdout, _("-m model Set model name (default=Printer)")); |
| 8479 | _cupsLangPuts(stdout, _("-n hostname Set hostname for printer")); |
| 8480 | _cupsLangPuts(stdout, _("-p port Set port number for printer")); |
| 8481 | _cupsLangPuts(stdout, _("-r subtype,[subtype] Set DNS-SD service subtype")); |
| 8482 | _cupsLangPuts(stdout, _("-s speed[,color-speed] Set speed in pages per minute")); |
| 8483 | _cupsLangPuts(stdout, _("-v Be verbose")); |
| 8484 | |
| 8485 | exit(status); |
| 8486 | } |
| 8487 | |
| 8488 | |
| 8489 | /* |