summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
Commit message (Collapse)AuthorAgeFilesLines
* - Automatic non-interactive installation of local print queues.Till Kamppeter2003-01-291-3/+1
| | | | | | | - Standard and advanced options selected by option groups in PPD. - Fixed bug of "CUPS + GIMP-Print" drivers being preferred against "Foomatic + gimp-print" drivers in beginners mode. - Foomatic package installation adapted to Foomatic 2.9.x.
* More stuff for non-interactive printer configuration:Till Kamppeter2003-01-281-0/+70
| | | | | | | | | | | - Added find_new_printer() function to find local printers which are not configured yet - Fixed Titi's bugs which messed up list of auto-detected printers - Corrected text in the dialog for changing the printer connection type (for local printer connections). - Allow switching to expert mode during installation (the installation has no global expert mode any more.
* Adapted printerdrake to Foomatic 2.9.x, bug fix for use of native PPDs in ↵Till Kamppeter2003-01-271-59/+44
| | | | recommended mode, bug fixes in association between detected printers and existing queues.
* - Support for manufacturer-supplied PostScript PPDs also in recommendedTill Kamppeter2003-01-211-5/+58
| | | | | | | | | | | | mode. - If "Foomatic + Postscript" is recommended driver for a printer and a manufacturer-supplied PPD file exists for it, the PPD file gets the recommended driver. - Tried to extract IEEE-1284 auto-detection info from the PPD files but this takes too long time (40 sec for 800 PPDs). - Fixed long-standing bug in activation of auto-load of the USB "printer" kernel module.
* Improved printer/driver list entries for PostScript PPD files.Till Kamppeter2003-01-201-95/+94
|
* Improve association of printers with database entries (preparation forTill Kamppeter2003-01-201-4/+55
| | | | | | | | | | | non-interactive print queue generation): - Make use of device ID strings in the Foomatic database - Association of generic printers when PDL (PCL, PCL-XL, PostScript) could be auto-detected - Cleaned up entries from manufacturer-supplied PPDs for PostScript printers to try to match model names of Foomatic entries - Bug fixes on previous association mechanism
* make get_descr_from_ppd() clearer by :Thierry Vignaud2003-01-131-11/+9
| | | | | | | - using cat_() instead of manual open or ... - using "$var = s/$regexp//" instead of "var=/regexp\(...\)/; var=$1;"
* simplify set_cups_autoconf()Thierry Vignaud2003-01-131-5/+2
|
* add_spooler_to_security_level(), configure_queue()Thierry Vignaud2003-01-131-12/+4
| | | | | | and config_sane() : factorize common code, aka resuse MDK::Common
* Avoid unnecessary restarts of the CUPS daemon.Till Kamppeter2003-01-131-1/+3
|
* New CUPS printer sharing configuration dialog.Till Kamppeter2003-01-131-7/+433
| | | | | Reverted broken printer::main::set_usermode() to version of Mandrake 9.0.
* Added cupsd.conf handling functions for a new printer sharing configuration ↵Till Kamppeter2003-01-091-0/+242
| | | | dialog.
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-2/+2
| | | | "every", "partition"
* printerdrake is back aliveThierry Vignaud2003-01-071-0/+4
|
* perl_checker fixThierry Vignaud2003-01-071-1/+1
|
* beautifyThierry Vignaud2003-01-071-4/+4
|
* simplif installed spoolers "detection"Thierry Vignaud2003-01-071-5/+1
|
* fix displaying list of availlable printer spoolersThierry Vignaud2003-01-061-1/+1
|
* - printer::main::read_cups_printer_list() is now ↵Pascal Rigaux2002-12-191-39/+0
| | | | | | | | printer::cups::read_printer_list() (but it is unused!) - printer::main::get_cups_remote_queues() is now printer::cups::get_formatted_remote_queues() - cleanup printer::cups::get_remote_queues() using printer::cups::lpstat_v()
* commit the real code, not the debug code :-(Pascal Rigaux2002-12-131-2/+1
|
* put back the commentPascal Rigaux2002-12-131-0/+3
|
* (read_cups_printer_list, get_cups_remote_queues): much cleanupPascal Rigaux2002-12-131-48/+27
|
* $_ was not localized, fixing (and cleanup)Pascal Rigaux2002-12-051-3/+2
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-2/+1
|
* use if_() where possible (as reported by perl_checker)Pascal Rigaux2002-12-041-9/+4
|
* simplifyPascal Rigaux2002-12-021-29/+25
|
* perl_checker adaptationsPascal Rigaux2002-11-281-8/+8
|
* perl_checker adaptationsPascal Rigaux2002-11-271-2/+2
|
* (configure_hpoj): functions dynamically loaded from /usr/sbin/ptal-init arePascal Rigaux2002-11-271-9/+10
| | | | | now loaded in printer::hpoj namespace (needs testing)
* simplify some stuffThierry Vignaud2002-11-261-15/+7
|
* make perl_checker happyPascal Rigaux2002-11-181-2/+2
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-44/+41
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* - printer::data : export all data structuresThierry Vignaud2002-11-141-11/+14
| | | | | | - cleanups - all code is now runnable in strict mode
* - final switch to $::prefixThierry Vignaud2002-11-131-115/+88
| | | | | | | - simplify main::get_copiable_queues(), main::setcupslink() - s/unless (X ne Y)/if (X eq Y)/ - set_usermode() : ensure we add the line if it didn't exists
* - set_usermode() : don't reinvent the wheel, use substInFileThierry Vignaud2002-11-131-29/+5
| | | | | - get_usermode() : ditto, use getVarsFromSh
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-62/+61
|
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-5/+5
|
* kill set_prefix()Thierry Vignaud2002-11-121-3/+1
|
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-18/+18
|
* printer related modules cleaning :Thierry Vignaud2002-11-121-0/+1704
- create the printer/ hierarchy - split services related stuff into services.pm & printer::services, - move things that've nothing to do with printers into common.pm (alternatives, permissions, ...) - move eveything related to cups, gimp-print, detection, {star,open}office to the corresponding splited printer:: module - big consolidation of printer::office (it was obvious there were tons of duplication between staroffice and openoffice managment) - move other stuff into printer::main, printer::common, status : print.pm has been heavily splited (now one can begin to understand the little bits). printerdrake still needs to be splited/cleaned and eventually removed since printer/printerdrake modules separation is not understandable by other people till, in printer::gimp, $lprcommand is neither declared nor setted nowhere. idem in mdk9.0 ...