summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
Commit message (Collapse)AuthorAgeFilesLines
* first attempt at making printerdrake to behave smoother when embedded in theThierry Vignaud2003-02-241-3/+2
| | | | | mcc
* Several bug fixes on printerdrakeTill Kamppeter2003-02-231-3/+19
| | | | | | | | | | | | | - "BrowsePoll <IP>:<Port>" needs "Browsing On" in /etc/cups/cupsd.conf. - If the same printer model is once on the parallel port and second on USB, there was a new USB queue created on every start of Printerdrake. - Now CUPS is restarted whenever a new USB print queue is set up so that CUPS can provide the model-related USB URI. - Made sure that the default printer is defined and that it is an existing queue so that during installation printerdrake does not show a line only containing " (Default)" in the list of installed printers. - Cleaned up data structure after automatic queue generation.
* Fixed bug of printerdrake loosing the printer queue info during theTill Kamppeter2003-02-231-50/+81
| | | | | | | preparation of the "Summary" window (only if there are local printers). No the printer queue entries should not be empty when clicking on "Configure" in the "Printer" part of the "Summary" window.
* - Fixed text of "Refresh printer list" button when list is empty.Till Kamppeter2003-02-211-454/+458
| | | | | | - Let printerdrake clean up its datastructure after auto-installing printers in the beginning of the "Summary" installation step.
* - Improved/fixed generation of printer list entries fromTill Kamppeter2003-02-201-5/+4
| | | | | | | manufacturer-supplied PostScript PPD files - Removed forgotten debug mode - Disabled wizard-mode temporarily
* Show description of the printer when an unknown printer is found during ↵Till Kamppeter2003-02-181-1/+5
| | | | automatic queue setup an it is asked for the model.
* Removed N( ) around IP numbers, there is no point in "translating" themPablo Saratxaga2003-02-181-7/+7
|
* - "BrowsePoll" support in the CUPS configuration dialog.Till Kamppeter2003-02-181-2/+180
| | | | | | - Fixes on error message windows in the dialog for printer sharing destinations.
* - Restructured function "main()"Till Kamppeter2003-02-171-273/+285
| | | | | | | | | | - Made automatic queue setup being done during installation - Support for unknown printers in auto-detection and in automatic queue setup - Fixed determination of default printer - Fixed printer help page display - Fixed wait message in /usr/sbin/printerdrake
* - try to workaround #1581Guillaume Cottenceau2003-02-151-15/+13
| | | | | - fix the most code style-independant perl checker things
* - set_help is deprecatedPascal Rigaux2003-02-131-26/+27
| | | | | | | - it is replaced by interactive_help_id on each ask_* - many set_help do not have any correspondance in help.pm (drakxid-*), those are commented for now
* Fixed English typoPablo Saratxaga2003-02-071-1/+1
|
* Fixed auto-detection of a configured (but not started) network.Till Kamppeter2003-02-041-7/+15
|
* - "Out-sourced" functions for config file handling into handle_configs.pm,Till Kamppeter2003-02-041-8/+11
| | | | | | it is used by both printerdrake and scannerdrake. - Improvements and fixes on CUPS daemon configuration by printerdrake.
* 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
|