summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
Commit message (Collapse)AuthorAgeFilesLines
* move whatPrinter(), whatUsbport() and whatPrinterPort() out of ↵Pascal Rigaux2003-02-021-2/+1
| | | | | | | | | | detect_devices to printer::detect (it cleans up detect_devices, and won't hurt eyes anymore :) this change, together with .perl_checker skipping printer::* marks the style disagreement between printer/* and the rest of install
* - Completed support for pre-compiled Foomatic PPDs.Till Kamppeter2003-02-011-14/+13
| | | | | | | | | - Cleaning of mamufacturer names for menues and for comparing auto-dtected data against Foomatic centralized in one function. - Fixed file name in check for installed packages. - Fixed display of boolean options from native PostScript PPD files in the option setting dialog.
* - Faster switch between normal and expert mode (no re-read of the printTill Kamppeter2003-01-311-10/+22
| | | | | | queues). - Prepared for working with pre-compiled Foomatic PPDs.
* - Conservation of option settings also for queues with PostScript PPD filesTill Kamppeter2003-01-301-166/+174
| | | | | | | or when switching between PostScript PPD file and Foomatic. - Fixed tree structure of main window in expert mode. - Several smaller bug fixes.
* - Display options devided in the groups defined in the PPD file.Till Kamppeter2003-01-301-20/+58
| | | | | | | | | | | | | - For Foomatic PPDs the options in the "General" group are shown by default the rest when clicking "Advanced". When there ar no groups, the decision is done by a table of most commonly used option names. - Sort the displayed options of a queue with a non-Foomatic PPD file by the importance of the options. - Do not sort the values of an option, they are already conveniently sorted in the PPD files. - Removed some unnecessary re-reads of the printer option information. - Several fixes to run smoothly with Foomatic 2.9.x.
* - Automatic non-interactive installation of local print queues.Till Kamppeter2003-01-291-73/+155
| | | | | | | - 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-84/+115
| | | | | | | | | | | - 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-22/+78
| | | | recommended mode, bug fixes in association between detected printers and existing queues.
* perl_checker fixesThierry Vignaud2003-01-221-8/+8
|
* English proofreading (first pass)Pablo Saratxaga2003-01-211-13/+13
|
* - Support for manufacturer-supplied PostScript PPDs also in recommendedTill Kamppeter2003-01-211-2/+2
| | | | | | | | | | | | 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.
* Improve association of printers with database entries (preparation forTill Kamppeter2003-01-201-24/+121
| | | | | | | | | | | 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
* Removed bugs from Titi which prevented printerdrake from installing the ↵Till Kamppeter2003-01-141-6/+6
| | | | requested spooler.
* please perl_checkerPascal Rigaux2003-01-141-2/+2
|
* print_testpages() : factorize and simplify options managmentThierry Vignaud2003-01-131-66/+26
| | | | | by using an options hash
* setup_local_autoscan():Thierry Vignaud2003-01-131-21/+3
| | | | | | - don't reinvent the wheel, reverse is faster - remove doble $device initialization in one path
* setup_local_autoscan() : simplify loop of loopThierry Vignaud2003-01-131-7/+2
| | | | | and optimize away useless $alreadyfound
* Avoid unnecessary restarts of the CUPS daemon.Till Kamppeter2003-01-131-2/+6
|
* Removed debug helper line.Till Kamppeter2003-01-131-2/+1
|
* New CUPS printer sharing configuration dialog.Till Kamppeter2003-01-131-68/+248
| | | | | Reverted broken printer::main::set_usermode() to version of Mandrake 9.0.
* once we identify the protocal, skip remaining testsThierry Vignaud2003-01-081-8/+7
|
* - fix autodetection code (remember me to teach titi that "and" in list ↵Pascal Rigaux2003-01-071-3/+4
| | | | | | | | context is bad) - use printer::detect::whatNetPrinter directly (instead of net_detect() + net_smb_detect()), it is faster when one wants both
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-3/+1
| | | | "every", "partition"
* printerdrake is back aliveThierry Vignaud2003-01-071-4/+4
|
* fix displaying of spooler listThierry Vignaud2003-01-061-5/+6
|
* (first_time_dialog): much cleanup (but not tested)Pascal Rigaux2003-01-031-40/+33
|
* help perl_checker (interactive is used even if the constructor is not there)Pascal Rigaux2002-12-231-0/+1
|
* - printer::main::read_cups_printer_list() is now ↵Pascal Rigaux2002-12-191-2/+2
| | | | | | | | 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()
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-44/+42
|
* use if_() where possible (as reported by perl_checker)Pascal Rigaux2002-12-041-62/+50
|
* perl_checker adaptationsPascal Rigaux2002-11-281-37/+37
|
* perl_checker adaptationsPascal Rigaux2002-11-281-1/+1
|
* perl_checker adaptationsPascal Rigaux2002-11-271-14/+12
|
* miaouhThierry Vignaud2002-11-261-17/+8
|
* simplifyThierry Vignaud2002-11-261-34/+23
|
* cleanupsThierry Vignaud2002-11-201-12/+8
|
* update to new security::level schemeThierry Vignaud2002-11-201-2/+2
|
* make perl_checker happyPascal Rigaux2002-11-181-22/+21
|
* update copyright yearsThierry Vignaud2002-11-181-4/+2
|
* - more cleanupsThierry Vignaud2002-11-151-22/+13
| | | | | | - don't display messages if we're not going to remove/install some packages
* cleanupsThierry Vignaud2002-11-151-34/+20
|
* cleanupsThierry Vignaud2002-11-151-22/+9
|
* printerdrake::install_spooler() : fix heavy duplication of codeThierry Vignaud2002-11-151-144/+59
| | | | | by using %spoolers data structure (function shrunked by 66%)
* consolidate some stuff into printer::data::spoolers{XXX}{alternatives}Thierry Vignaud2002-11-151-21/+12
| | | | | so that all alternatives get centralized in one data structure
* cleanupsThierry Vignaud2002-11-151-37/+15
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-255/+250
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* simplify install_spooler() but there's still lot of duplication thereThierry Vignaud2002-11-131-3/+1
| | | | | (some work for tomorow)
* - final switch to $::prefixThierry Vignaud2002-11-131-17/+7
| | | | | | | - 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
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-5/+4
|
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-82/+78
|