summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
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-232-11/+39
| | | | | | | | | | | | | - "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-202-22/+19
| | | | | | | 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-182-3/+225
| | | | | | - Fixes on error message windows in the dialog for printer sharing destinations.
* - Fixed bug of HP DeskJetb 990C being automatically installed even ifTill Kamppeter2003-02-171-11/+21
| | | | | | there is already a queue for it - Fixed checking whether a device is known to CUPS
* - Restructured function "main()"Till Kamppeter2003-02-174-281/+295
| | | | | | | | | | - 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
|
* Corrected call for "tryWrite" function.Till Kamppeter2003-02-061-1/+2
|
* fix perl_checker errorPascal Rigaux2003-02-051-2/+2
|
* Removed debug helper line.Till Kamppeter2003-02-041-1/+0
|
* 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-042-176/+136
| | | | | | it is used by both printerdrake and scannerdrake. - Improvements and fixes on CUPS daemon configuration by printerdrake.
* move whatParport() to printer::detectPascal Rigaux2003-02-021-0/+21
|
* move whatPrinter(), whatUsbport() and whatPrinterPort() out of ↵Pascal Rigaux2003-02-022-4/+106
| | | | | | | | | | 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
* - Improved generation of printer list entries from manufacturer-supplied ↵Till Kamppeter2003-02-011-6/+15
| | | | PostScript PPDs.
* - Completed support for pre-compiled Foomatic PPDs.Till Kamppeter2003-02-013-53/+124
| | | | | | | | | - 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-312-19/+96
| | | | | | queues). - Prepared for working with pre-compiled Foomatic PPDs.
* - Conservation of option settings also for queues with PostScript PPD filesTill Kamppeter2003-01-303-173/+181
| | | | | | | 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-302-119/+82
| | | | | | | | | | | | | - 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-292-76/+156
| | | | | | | - 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-282-84/+185
| | | | | | | | | | | - 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-272-81/+122
| | | | 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-212-7/+60
| | | | | | | | | | | | 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-202-28/+176
| | | | | | | | | | | 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-142-55/+55
| | | | requested spooler.
* please perl_checkerPascal Rigaux2003-01-141-2/+2
|
* 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
|
* remove old bug referenceThierry Vignaud2003-01-131-4/+0
|
* print_testpages() : factorize and simplify options managmentThierry Vignaud2003-01-131-66/+26
| | | | | by using an options hash
* add_spooler_to_security_level(), configure_queue()Thierry Vignaud2003-01-131-12/+4
| | | | | | and config_sane() : factorize common code, aka resuse MDK::Common
* 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-132-3/+9
|
* Removed debug helper line.Till Kamppeter2003-01-131-2/+1
|
* New CUPS printer sharing configuration dialog.Till Kamppeter2003-01-133-75/+708
| | | | | 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.
* Fixed Titi's bugs in the auto-configuration of printers in OpenOffice.org.Till Kamppeter2003-01-081-44/+57
|
* once we identify the protocal, skip remaining testsThierry Vignaud2003-01-081-8/+7
|
* - typo fixThierry Vignaud2003-01-081-13/+9
| | | | | | - s/if !/unless/ - remove useless next
* - 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