summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
Commit message (Collapse)AuthorAgeFilesLines
* - Improvements and fixes on printer model/driver listing inTill Kamppeter2006-01-211-13/+16
| | | | | | | | | | | | | | | | | printerdrake o Corrected handling of PPD links in Foomatic printer XML files, no the prinyer list entries have the correct model names of the Foomatic printer XML files and so PPDs linked to multiple printers appear with each linked printer in printerdrake. This also avoids duplicate "(Recommended)" tags for one printer (problem occured with HP LaserJet 1200). o Avoid duplicate PPD entries for Foomatic-generated PPDs and identical pre-generated Foomatic PPDs in /usr/share/cups/model. This problem occured when the hplip-hpijs-ppds package is installed. o Some polishing of list entries. o Reduced Perl warnings.
* - Give priority to custom PPD file if printer queue record inTill Kamppeter2006-01-201-9/+11
| | | | | | printerdrake is broken, use "Postscript" if Foomatic driver is wrongly set to "PPD", should fix bug #20028.
* - Make sure that when a user supplies an updated PPD file, the newTill Kamppeter2006-01-091-0/+28
| | | | | file and not the old one from the system gets used.
* adapt to new cat_() only accepting files, ie not doing popen anymorePascal Rigaux2005-11-151-6/+2
|
* - Fixed setting up printers with pre-made Foomatic PPD inTill Kamppeter2005-10-311-1/+3
| | | | | /usr/share/cups/model (bug #19524).
* - Let parallel HP printers be set up with HPLIP.Till Kamppeter2005-09-281-459/+49
| | | | | | | | | | | | | | | | | | | | | | - Removed HPOJ support (HPOJ obsolete, now completely replaced by HPLIP). - Warn the user if an HP printer is connected via a port which is not supported by HPLIP. - Fixed printerdrake freezing when choosing a machine as remote CUPS server (for daemon-less client) which does not exist or does not run CUPS. - Let network printer detection also work if the DNS is misconfigured. - Let "Printer options" entry in printer editing menu only disapppear if there are really no options (entry disappeared also for Sagem MF3625 with empty manufacturer name in the PPD). - Fixed raw queue being shown with "driver: PPD" and not "driver: raw". - Do not use "Unknown model" and "Unknown Model", this somtimes broke identifying a print queue as being for an unknown printer. - Do not die if /usr/share/hplip/data/xml/models.xml (HPLIP printer database) is missing, this allows creation of live distros without HPLIP. - Fixed loop of determining the HPLIP device URI for local printers in the "printer::main::start_hplip()" function.
* - Made printerdrake working on 64-bit systems, with /usr/lib64.Till Kamppeter2005-09-061-5/+5
|
* - Do not set margins in CUPS when HPIJS is the driver, for this driverTill Kamppeter2005-09-061-7/+15
| | | | | | the margins are already well set. - Also match model name with added lower-case "hp" with HPLIP XML database.
* - When having added one's own PPD file now it gets pre-selected in theTill Kamppeter2005-08-311-9/+28
| | | | | printer/driver list.
* - Fixed recognition of alredy set up queues for auto queue setup, forTill Kamppeter2005-08-311-1/+1
| | | | | | several Xerox Phaser printers the user was asked again and again to set up a print queue.
* - Support for HPLIP URIs with "?device=...", possible fix for bugTill Kamppeter2005-08-301-4/+15
| | | | | #18041 and bug #18053.
* - Gutenprint does not print correctly when margins are set in the CUPSTill Kamppeter2005-08-261-19/+45
| | | | | | | configuration, so do not set margins when creating a queue with Gutenprint, or remove the margins when switching the driver of an existing queue to Gutenprint.
* - Support for one pre-built PPD being linked from multiple printerTill Kamppeter2005-08-241-19/+55
| | | | | database entries.
* - Added support for pre-built PPDs for non-PostScript drivers,Till Kamppeter2005-08-241-15/+109
| | | | | especially PCL-XL PPDs from Ricoh.
* - Removed stuff for automatic print queue setup when starting CUPS.Till Kamppeter2005-08-181-6/+0
| | | | | - Small menu text improvement.
* - Added automatic setup of Ethernet-connected HP printers with HPLIP.Till Kamppeter2005-08-171-18/+51
| | | | | | | | | | | | | | | | | | | - Taken into account that HPLIP sometimes uses model names with "HP" in the beginning and sometimes not. - Fixed problem of cursor in printer model list pointing to random, completely unrelated printer when no model name was auto-detected. - For setting the cursor onto the correct model in the printer model list also taken into account a model name detected only by HPLIP. - When one chooses "Printer Connection Type" in the "Edit" menu of an Ethernet-connected printer which is under the control of HPLIP or HPOJ, "LOCAL" was pre-selected as connection type and not "SOCKET". Fixed. - Replaced "Windows 95/98/NT" by simply "Windows" in the connection type menu. There are many more Windows versions than 95, 98, and NT currently. - Made matching of detected printer model name with HPLIP database more reliable.
* - Improved the auto queue setup pop-up window display on the user'sTill Kamppeter2005-08-161-4/+4
| | | | | | | | | | | | | | | | | desktop according to the suggestions in bug #17370. - Ask the user whether he wants really have a new printer set up before doing the auto queue setup. - Do always a fully non-interactive auto queue setup when X is not installed - First-time dialog could show garbage as printer model name for some models. Fixed. - Separated "Print no test pages" entry on the wizard page for printing test pages. - Changed the defaults for automatic re-enabling of disabled queues to "no", due to the new CUPS backend wrapper queues should not get disabled automatically any more. - Typo corrections.
* - Added per-printer configurable handling of CUPS backend errors. ThisTill Kamppeter2005-08-151-2/+10
| | | | | | way CUPS does not disable print queues automatically any more (for example if printer not turned on).
* - Added dialog to configure automatic queue creating and automatic queue ↵Till Kamppeter2005-07-271-2/+48
| | | | re-enabling
* - Fixed "config_sane()" function, it did not add the backend name toTill Kamppeter2005-07-271-1/+1
| | | | | /etc/sane.d/dll.conf
* reduce the overall perl_checker warningsThierry Vignaud2005-07-081-14/+14
|
* - Support for PPD file names with spaces (bug #16172).Till Kamppeter2005-05-291-2/+2
|
* replace non ascii charPascal Rigaux2005-04-051-1/+1
|
* - Fixed bug #4319: Printer options cannot be set after renaming the printer ↵Till Kamppeter2005-04-041-2/+2
| | | | | | | | | | | | | or changing the connection type - Fixed bug of PostScript printers with manufacturer-supplied PPD cannot be renamed at all - Fixed bug of print queue being deleted when renaming fails - Fixed bug of printerdrake trying to open a message window when non-interactive queue generation fails - Fixed pre-definition of $printer->{ARGS}, this bug made printerdrake crashing sometimes
* - Made the "(recommended)" in the printer/driver lists translateable (bugTill Kamppeter2005-03-021-13/+20
| | | | | 10651)
* - Made possible modifying the options on a non-Foomatic queue not set upTill Kamppeter2005-02-231-7/+14
| | | | | with printerdrake.
* - If a printer is set up with HPLIP and has still an old HPOJ configuration,Till Kamppeter2005-02-161-2/+49
| | | | | it will be automatically removed now.
* Allow HPLIP setup also when setting up the print queue manually.Till Kamppeter2005-02-131-0/+17
|
* - Added help text for printers used with HPLIP.Till Kamppeter2005-02-101-0/+21
| | | | | - Let "ask_warn()" messages not embed in the wizard, this breaks the "Cancel" button (help texts when MF device queue is added).
* Added reading the printing technology type in the HPLIP model database.Till Kamppeter2005-02-091-0/+3
|
* Added automatic setup of HP printers with HPLIP.Till Kamppeter2005-02-091-7/+160
|
* Added subroutine to parse HPLIP device database XML file.Till Kamppeter2005-02-091-0/+115
|
* Fixed (worked around?) bug of parallel HP MF devices not being set up ↵Till Kamppeter2005-02-081-3/+6
| | | | correctly with HPOJ (probably bad interaction with udev).
* - Corrected recognition of driver name in Foomatic-generated PPDs.Till Kamppeter2005-02-081-2/+13
| | | | | | - Conserve auto-detection data when a Foomatic printer entry is replaced by an entry from a native PostScript PPD.
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-7/+7
|
* - make printer::printerdrake::install_spooler() work with an optional $inPascal Rigaux2004-09-281-5/+3
| | | | | | | | | | - many functions now take $security (which used to be taken from $in during install) - fix some functions with empty prototype but still using a parameter - remove some unused variable - rename some $_foo vars to $foo since those vars are used - add some undef to some function calls to be minimally perl_checker compliant - perl_checker compliant optional parameters in start_spooler_on_boot(), install_spooler()
* (write_client_conf) fix drakxtools buildThierry Vignaud2004-09-021-1/+1
|
* - If cupsd.conf is read but does not exist, use default settings for all ↵Till Kamppeter2004-09-011-1/+41
| | | | | | | | | | settings which are required. This prevents from writing a corrupt cupsd.conf - Write cupsd.conf only if it exists already (cups package installed). - Create /etc/cups directory if it does not exist when client.conf is written - Return something reasonable if client.conf is tried to be read but does not exist. - Write mime.convs only if it exists already (cups package installed).
* - Added column to show whether the printers are enabled or disables to the ↵Till Kamppeter2004-08-301-1/+12
| | | | | | | | list of available print queues in the main window. - Added command to the edit-printer window to enable and disable print queues. - Fixed bug of "--expert" command line option of printerdrake not working.
* - Inform the user on first-time setup, both during or after installation, ↵Till Kamppeter2004-08-291-2/+2
| | | | | | | | | | that he can set up a daemon-less CUPS client. - Warn the user when printerdrake is set to daemon-less CUPS client but no server is specified. - Fixed bug of local queues not being recognized when the spooler daemon is not running during printerdrake startup. - Do not try to copy print queues when switchung from daemon-less CUPS to normal CUPS. - Remove the client.conf when switching from daemon-less CUPS to normal CUPS.
* - Made support for daemon-less CUPS client working.Till Kamppeter2004-08-271-28/+80
| | | | | - Fixed graying out of buttons/menu entries in the main window.
* - Added fully automatic, non-interactive, X-less print queue set up by the ↵Till Kamppeter2004-08-211-0/+1
| | | | | | | | "autosetupprintqueues" command, preferrably to be started by hotplug. - Typo correction. - Correction of file check for package installation.
* workaround not to call c::upgrade_utf8 on read-only variablesOlivier Blin2004-08-191-11/+22
|
* perl_checker fixesOlivier Blin2004-08-191-140/+125
|
* - Removed installation of "gimpprint" package, it is part of GIMP 2.0.x now.Till Kamppeter2004-08-191-44/+3
| | | | | | - Removed configuration of applications, GIMP and OpenOffice.org are patched now so that they do not need configuration of print queues any more. - Text fix for scanners in HP's multi-function devices.
* (connectionstr) workaround perl bugThierry Vignaud2004-08-191-1/+2
|
* - %modules::conf is no more a global, so many functions need passing ↵Pascal Rigaux2004-07-211-1/+1
| | | | | | | | | | | | | | | $modules_conf - $modules_conf is a class choosing modules.conf or modprobe.conf (esp. useful after install) (but not working yet!) - modules::load() doesn't use $modules_conf, use modules::load_and_configure() - modules::load() doesn't allow options, use either modules::load_raw() or modules::load_and_configure() - some functions used to want an array ref for modules options and some a string, now every functions use a string - many functions (like modules::get_alias()) are now methods on $modules_conf - some functions in mouse.pm needed a $in where a $do_pkgs is enough - some perl_checker compliance - small fixes
* use lang::analyse_locale_name() and lang::analyse_locale_name()Pascal Rigaux2004-05-111-1/+2
|
* Let HPOJ device entry be created with the correct printer model name.Till Kamppeter2004-03-031-0/+2
|
* Fixed HPOJ configuration when manually setting up a device.Till Kamppeter2004-03-021-0/+10
|