summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #2171.Till Kamppeter2003-02-271-1/+1
|
* Prepared for LPRng and PDQ goint to Contribs or leaving the distro, "ChangeTill Kamppeter2003-02-251-1/+7
| | | | | | Printing System" button only appears if at least one of them is manually installed.
* Several bug fixes on printerdrakeTill Kamppeter2003-02-231-8/+20
| | | | | | | | | | | | | - "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.
* - Improved/fixed generation of printer list entries fromTill Kamppeter2003-02-201-17/+15
| | | | | | | manufacturer-supplied PostScript PPD files - Removed forgotten debug mode - Disabled wizard-mode temporarily
* - "BrowsePoll" support in the CUPS configuration dialog.Till Kamppeter2003-02-181-1/+45
| | | | | | - 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-171-1/+2
| | | | | | | | | | - 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
* fix perl_checker errorPascal Rigaux2003-02-051-2/+2
|
* Removed debug helper line.Till Kamppeter2003-02-041-1/+0
|
* - "Out-sourced" functions for config file handling into handle_configs.pm,Till Kamppeter2003-02-041-168/+125
| | | | | | it is used by both printerdrake and scannerdrake. - Improvements and fixes on CUPS daemon configuration by printerdrake.
* - 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-011-38/+110
| | | | | | | | | - 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-9/+74
| | | | | | queues). - Prepared for working with pre-compiled Foomatic PPDs.
* - Conservation of option settings also for queues with PostScript PPD filesTill Kamppeter2003-01-301-4/+4
| | | | | | | 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-99/+24
| | | | | | | | | | | | | - 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-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