printop is a Tcl/Tk program that gives you a graphical interface to control the printers and queues for UNIX-like systems using the lpd daemon from the LPRng print system. It uses the commands lpq, lpc and lprm to get information and control the printers and you just have to click with your mouse. In a large network it shows you all the printers and gives you the full functionality of the LPRng commands, so you have a good overview of what is happening.
printop uses two files to defines which printers are shown in printop. You can create printer entries with the command:
printer button {printer-name} {menu-name}
printer-name
can be a tcl-regexp, so that
"^d.*"
would mean: Create a button for all the printers that
begin with the letter d. {menu-name}
can be empty
{}
, so that the buttons are created directly in the
choose-main-menu
, or it can be the name of a submenu (or the
path to a subsubmenu etc).
You can create new submenus in the main-menu with the command:
printer menu "Menu-Name" {widget-name}
Menu-Name
is the name that is displayed in the menus,
widget-name
is the name of the created widget. If you create
a submenu {menu_a}
, then you can create a subsubmenu with
the command:
printer menu "MySubSubMenu" {submen} {men_a}
and adding the menu-names to a path you can have subsubsubmenus:
printer menu "SubSubSubmenu" {subsubmen} {men_a.submen}
With the button command you can then insert buttons to your menu.
~/.printop.conf
printop is written by Olaf Gellert. Modified by Jean Pierre LeJacq as part of packaging for the Debian GNU/Linux distribution. Manual page also added by Jean Pierre LeJacq.