summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/detect.pm
Commit message (Collapse)AuthorAgeFilesLines
* - Let parallel HP printers be set up with HPLIP.Till Kamppeter2005-09-281-11/+22
| | | | | | | | | | | | | | | | | | | | | | - 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.
* - On USB printer hot-plugging sometimes parallel printers are alsoTill Kamppeter2005-09-171-2/+4
| | | | | | | shown in the window popping up to ask whether the printer should be set up. Even sometimes parallel printers which are not connected or turned on any more were shown. Fixed.
* - When auto-detecting network printer models via SNMP, guessTill Kamppeter2005-09-061-1/+37
| | | | | manufacturer name from model name
* - Made reloading of parallel port kernel modules (for auto-detection)Till Kamppeter2005-09-021-2/+2
| | | | | also working if "ppdev" module is loaded.
* - Let also network printers be found which do not answer to aTill Kamppeter2005-09-021-30/+63
| | | | | | broadcast ping (most newer HP). This is done only in class C and smaller networks, to not scan too many machines.
* - Fixed retrieval of parallel port base address.Till Kamppeter2005-08-311-1/+11
|
* - Fixed parallel printer auto-detection and registered IEEE-1284 IDTill Kamppeter2005-08-311-4/+14
| | | | | | string for Mandriva hardware database. - Fixed USB IEEE-1284 ID string output.
* - Added recording of IEEE-1284 device ID string, for USB printers.Till Kamppeter2005-08-311-1/+2
|
* - Started implementation of configurable, partially interactive printTill Kamppeter2005-07-271-3/+3
| | | | | queue auto setup.
* - Let IOCTL detection of an USB printer not get accepted if there is noTill Kamppeter2005-03-291-2/+5
| | | | | | relevant item at all in the ID string, to avoid mis-detection of some USB keyboards as printers.
* - Allow setting the network printer auto-detection timeout in expert modeTill Kamppeter2005-02-141-4/+4
| | | | | | - Let network not be scanned by default during printer auto-detection in beginner's mode
* - Fixed bug of network printers without DNS hostname entry not detectedTill Kamppeter2005-02-141-12/+17
| | | | | | - Longer timeouts for "ping", as some network printers were missed - Suppressed stderr output of called command line tools
* - Prevented restarting of HPOJ and reloading the parallel port kernel modulesTill Kamppeter2005-02-081-2/+6
| | | | | when printerdrake's queue generator is called by the hotplug script.
* (local_detect) fix modules conf parsingOlivier Blin2004-08-241-1/+1
|
* Fix problem of the "usblp" kernel module not loaded before local printer ↵Till Kamppeter2004-08-191-1/+1
| | | | auto-detection.
* - %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
* perl_checker compliancePascal Rigaux2004-05-111-1/+2
|
* Fixed problem that not used parallel ports were detected as printers.Till Kamppeter2004-02-171-1/+4
|
* Recognize parallel printers also when they miss the "CLASS:PRINTER;" in ↵Till Kamppeter2004-02-161-0/+2
| | | | their device ID string (ex: Brother HL-720, bug #7753).
* Recognize also "SN:" as serial number field in printer ID string (HP ↵Till Kamppeter2004-02-141-1/+2
| | | | PhotoSmart 7760, bug #6534).
* Let printerdrake load the "usblp" instead of the "printer" kernel module if ↵Till Kamppeter2004-02-141-1/+2
| | | | kernel 2.6.x is used.
* escaped strings fixesThierry Vignaud2003-11-061-10/+10
|
* perl_checker fixesPascal Rigaux2003-09-291-2/+1
|
* Removed use of "parport_probe", we do not need to support kernel 2.2.xTill Kamppeter2003-08-251-3/+2
| | | | | any more.
* Adapted to scli 0.2.12.Till Kamppeter2003-08-221-1/+1
|
* perl_checker fixesThierry Vignaud2003-05-201-9/+9
| | | | | | | | printer::printerdrake::{setup_smb,setup_socket}(): do not use undef values, but reuse those we just calculate printer::printerdrake::main(): fix printer::default::printer_type() callee
* perl_checker fixesThierry Vignaud2003-05-191-5/+5
|
* Made sure that all IP addresses of the local machine are in 'AllowTill Kamppeter2003-03-111-0/+42
| | | | | | | From' lines in the /etc/cups/cupsd.conf, otherwise one can have certain configurations with which one cannot access to the options of the local printer(s).
* Fixed bug of USB printers which do not report back an IEEE-1284 ID string afterTill Kamppeter2003-03-031-1/+3
| | | | | three attempts being invisible instead of being listed as an "Unknown device".
* Read device ID string for a USB printer up to three times when it does not ↵Till Kamppeter2003-03-021-67/+80
| | | | contain information.
* - 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
* Corrected call for "tryWrite" function.Till Kamppeter2003-02-061-1/+2
|
* move whatParport() to printer::detectPascal Rigaux2003-02-021-0/+21
|
* move whatPrinter(), whatUsbport() and whatPrinterPort() out of ↵Pascal Rigaux2003-02-021-2/+105
| | | | | | | | | | 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
* New CUPS printer sharing configuration dialog.Till Kamppeter2003-01-131-0/+27
| | | | | Reverted broken printer::main::set_usermode() to version of Mandrake 9.0.
* (detect): don't use net_smb_detect() and net_detect(), callPascal Rigaux2003-01-071-1/+1
| | | | | whatNetPrinter() directly asking for both network & smb (faster)
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-2/+2
|
* perl_checker adaptationsPascal Rigaux2002-11-281-3/+3
|
* perl_checker adaptationsPascal Rigaux2002-11-271-1/+1
|
* perl_checker fixesThierry Vignaud2002-11-261-1/+1
|
* make perl_checker happyPascal Rigaux2002-11-181-1/+1
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-8/+8
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-1/+1
|
* printer related modules cleaning :Thierry Vignaud2002-11-121-0/+306
- create the printer/ hierarchy - split services related stuff into services.pm & printer::services, - move things that've nothing to do with printers into common.pm (alternatives, permissions, ...) - move eveything related to cups, gimp-print, detection, {star,open}office to the corresponding splited printer:: module - big consolidation of printer::office (it was obvious there were tons of duplication between staroffice and openoffice managment) - move other stuff into printer::main, printer::common, status : print.pm has been heavily splited (now one can begin to understand the little bits). printerdrake still needs to be splited/cleaned and eventually removed since printer/printerdrake modules separation is not understandable by other people till, in printer::gimp, $lprcommand is neither declared nor setted nowhere. idem in mdk9.0 ...