Esmith::FormMagick::Panel::printers

From SME Server
Jump to navigation Jump to search

NAME

esmith::FormMagick::Panel::printers - useful panel functions In a root terminal you can do the command below if you want to display the up-to-date content

perldoc esmith::FormMagick::Panel::printers

SYNOPSIS

use esmith::FormMagick::Panel::printers; 
my $panel = esmith::FormMagick::Panel::printers->new();
$panel->display();

DESCRIPTION

new

Exactly as for esmith::FormMagick.

hostname_or_ip

Validation routine for the remote address field for network printers.

show_printers

Reads the list of printers from accounts database and shows it as a table.

create_printer

Process the output of the Add page, validate the data and create the printer if all is well.

print_hidden_fields

Print hidden fields needed by the AddNetwork page.

show_delete_confirmation

Display the delete printer confirmation page contents.

delete_printer

Remove a printer from the accounts database