
credit magicfilter


printconf-tui [--X<command>] [<options>]
 options are:
  -h, --help	show usage

  --box=box_name
		set the edit box name. defaults to "local"
  
 available commands:
  tui		run the normal tui mode. this is the default

  export	export the local printing settings
		Ex: printconf-tui --Xexport > settings.xml

  import	import the local printing settings
		Ex: printconf-tui --Ximport < settings.xml

  clear		clear all settings from the edit box

    import options:
    --force	overide the current settings with the imported settings,
		this is the default.
    --merge	merge the current settings with the imported settings.


How-to hijack a printconf spool:

1) layout the spool you want in printconf.
2) restart lpd, causing the spool to take effect.
3) stop lpd.
4) move the spool's printcap stanza from /etc/printcap to /etc/printcap.local;
and delete the VOLATILE file in the spool's directory.
5) run printconf, and delete the spool.
6) restart lpd. printconf no longer knows about the spool, and will not delete
it, it is your's to modify.

And, with LPRng, the proper way to send output to a delivery script is:
 lp=|pathtoscript
This prints to a command, not a file.


