
klpc [-H<server>] [-P<printer>] [-U<user>] <options>

The klpc program controls print queues.

Command line arguments:
-----------------------

<server>      Connect to the specified server.
              This option is used only if there is no server
	      part contained in the printer.
	      If the printer does not contain a print server
	      host name and the -S option is not used the print
	      server name is looked up in the following places:
	      - environment variable "PRINTHOST"
	      - preference "/yalc/print-host" in the user preference scope
	      - registry entry "/print-host" in HKCU/Software/DKrause/Yalc
	      - preference "/yalc/print-host" in the system pref scope
	      - registry entry "/print-host" in HKLM/Software/DKrause/Yalc
<printer>     Print to the specified printer.
	      The printer may be specified as short alias, queue name,
	      queue@host or host%port.
	      If this option is omitted the printer name is looked
	      up in the following places:
	      - environment variables "NGPRINTER", "NPRINTER",
	        "LPDEST" and PRINTER,
	      - preference "/yalc/default-printer" in the
	        user preference scope
	      - registry entry "/default-printer" in
	        HKCU/Software/DKrause/Yalc
	      - preference "/yalc/default-printer" in the
	        system preference scope
	      - registry entry "/default-printer" in
	        HKLM/Software/DKrause/Yalc
	      If the short alias can not be resolved or a simple
	      queue name is given the program tries to obtain the host
	      name from the -S option or the fallbacks.
<user>        Operate as the specified user.
	      The username can be given as simple login name
	      or as user@host.
	      Only privileged user mentioned in an "xusers" section
	      are able to use this option.
<options>     start   <printer>
	        restarts the printer.
              stop    <printer>
		stops printing after the current job.
              enable  <printer>
		causes the printer to accept jobs.
              disable <printer>
		forbids the print queue to accept jobs.
              abort   <printer>
		kills the active job and disables printing.
              kill    <printer>
		stops and restarts a print queue.
              topq    <printer> <job-ids>
		places the selected jobs at the top of the print queue.
              status  <printer>
		displays the status of daemons and queues.
              hold    <printer> <job-ids>
		holds the specified job(s).
              holdall <printer>
		holds all jobs on the printer.
              release <printer> <job-ids>
		releases a holded job.
              move    <job-id> <printer>
		moves print jobs to another print queue.
              redirect [ <printer> [ <destination> | off ] ]
		redirects one queue to another.
              lpd     <printer>
		printes the process ID for the process serving the queue.
              reread
		re-reads the configuration file.

The options may differ between print systems.
Some print systems may provide additional options.

