summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
Commit message (Collapse)AuthorAgeFilesLines
* printer related modules cleaning :Thierry Vignaud2002-11-121-3647/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 ...
* - replace ... =~ 'foo' with ... =~ /foo/Pascal Rigaux2002-11-111-2/+1
| | | | | - remove unneeded parentheses for things like ... if (...)
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-22/+22
|
* - use "foreach" instead of "for" in list contextPascal Rigaux2002-11-111-5/+5
| | | | | - use "for" instead of "foreach" when used a la C
* - do not use "foreach $var (...) {...}" use "foreach my $var (...) {...}" ↵Pascal Rigaux2002-11-111-8/+5
| | | | | | | | instead (only pb are functions called in {...} that could use $var, none found except in commands.pm) - various small syntax enhancements to please perl_checker
* replace "for my ..." with "foreach my ..."Pascal Rigaux2002-11-061-14/+14
|
* replace complex "unless"s with "if"sPascal Rigaux2002-11-061-13/+11
|
* remove unneeded parentheses on the right side of infix if/foreach/unlessPascal Rigaux2002-11-061-2/+2
|
* please perl_checker:Pascal Rigaux2002-11-061-3/+3
| | | | | | | - local'ize $_ before doing while (<...>) - use "foreach" instead of "for" - remove unneeded parentheses on the right side of infix if/foreach/unless
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-394/+388
| | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous!
* perl_checker fixesThierry Vignaud2002-10-231-4/+5
|
* setup_common: consolidate regexpThierry Vignaud2002-10-171-11/+3
|
* - printerdrake::auto_detect(local, net, smb):Thierry Vignaud2002-10-171-24/+27
| | | | | | | o split into local_detect, net_detect, net_smb_detect o detect: return all printers - printer: consolidate all *help_output into help_output
* Do not try to install "webfetch" during installation.Till Kamppeter2002-09-161-5/+8
|
* Do not insist on "curl" to download PPDs from a CUPS server (for Star ↵Till Kamppeter2002-09-131-8/+14
| | | | | | | Office/OpenOffice.org/GIMP), take the one from "curl" and "wget" which is there. Install "webfetch" when none is there. Let "cups-drivers" be installed when switching from normal to expert mode.
* Entries in "auto-detected" field of SMB printer setup mask should not be ↵Till Kamppeter2002-09-131-1/+1
| | | | editable.
* When adding a local printer during an expert install without network,Till Kamppeter2002-09-121-16/+35
| | | | | | printerdrake insists on starting the network and does not enter the add printer procedure.
* Made the association of model names obtained by auto-detection and ofTill Kamppeter2002-09-121-4/+30
| | | | | the model names in the printer database much more reliable.
* - Made printer::assure_device_is_available_for_cups() more reliable byTill Kamppeter2002-09-111-0/+3
| | | | | | checking and retrying. - Do not start the network when it is not configured.
* - Tell users of the HP LaserJet 1000 that they have to upload firmware to ↵Till Kamppeter2002-09-011-2/+22
| | | | | | | | the printer. - Updated instructions to get Lexmark's inkjet drivers. - Suppressed the display of the "Refresh printer list" and "Specify CUPS server" buttons in recommended mode when there is no local network.
* Added automatical configuration of the printers in the GIMP.Till Kamppeter2002-08-281-14/+14
|
* Printerdrake remembers now whether it was in normal mode or in expertTill Kamppeter2002-08-281-1/+5
| | | | | mode last time.
* - Bug fix: s/detect_devices::getSNMPModel/printer::getSNMPModel/Till Kamppeter2002-08-271-5/+6
| | | | | - Added support for the photo card reader in the HP PSC 2200 series.
* Make number of MB to install in first time dialog changeable withoutTill Kamppeter2002-08-271-1/+1
| | | | | breaking the translations.
* Button to close Printerdrake shows "Done" during installation and in MCC and ↵Till Kamppeter2002-08-261-1/+2
| | | | "Quit" in standalone mode.
* - Ask user whether he really wants to set up printing when he starts ↵Till Kamppeter2002-08-261-34/+148
| | | | | | | Printerdrake for the first time. - Added titles ("Printerdrake") to all wait messages.
* Dialog for printing test pages: Unmark all test pages when "No testTill Kamppeter2002-08-261-5/+66
| | | | | | | pages" is marked. Accelerated printing of the photo test page when CUPS is the spooler, the internal image converter of CUPS is faster than ImageMagick.
* Hide buttons to choose network printer auto-detection in the add printer ↵Till Kamppeter2002-08-261-27/+55
| | | | | | | wizard when there is no local network (recommended mode). Let "samba-client" only be installed when really needed.
* Let command line tools for network scanning run under "chroot $refix", ↵Till Kamppeter2002-08-241-1/+3
| | | | | | | otherwise they take ages during installation. Moved network scanning functions from "detect_devices.pm" to "printer.pm" so that they have access to the "$prefix" variable.
* s/drakconnet/drakconnect/ (Thank you for adding this bug, Titi)Till Kamppeter2002-08-191-3/+3
|
* Fixed HP multi-function device configuration during the installation:Till Kamppeter2002-08-181-1/+1
| | | | | | - Fixed mistyped package name for "mtoolsfm" - Set links for photo card reader auto-detection to work
* Setup of HP MF devices on parallel port did not work. Fixed.Till Kamppeter2002-08-111-1/+6
| | | | | | | Allow setup of MF device if device file name "/dev/printer/<number>" was entered. If auto-detection of model name fails, ask user always whether he has an MF device. If SNMP or local auto-detection fails but HPOJ auto-detection succeeds, use model name found by HPOJ.
* Removed HP multi-function device configuration from SMB and remote LPD ↵Till Kamppeter2002-08-101-10/+13
| | | | | | | | printer setup. Let the Sony IJP-V100 being treated as an HP multi-function device. Taken into account that the HP PhotoSmart 7150 has no photo card reader.
* Use any::get_secure_level() instead of printer::get_security_level().Till Kamppeter2002-08-101-1/+1
|
* Make/Model/Driver list in expert mode: Fixed bug of "recommended" driver ↵Till Kamppeter2002-08-051-3/+3
| | | | entries getting a duplicate entry without "recommended" when entering the list via double-click on existing queue / "Printer manufacturer, model, driver".
* Finished auto-detection of network and SMB printers.Till Kamppeter2002-08-051-168/+309
| | | | | Added automatic configuration of HP's multi-function devices when connected via HP JetDirect (network).
* Accelerated network scanning for printers by applying "nmap" only to ↵Till Kamppeter2002-08-041-92/+203
| | | | | | | | machines which answered to a broadcast ping before. Completed network/SMB printer auto-detection for recommended mode. Started network/SMB printer auto-detection for expert mode.
* Added stuff for scanning network for SMB printer shares.Till Kamppeter2002-08-011-4/+18
|
* - the old $o->{keyboard} is now $o->{keyboard}{KEYBOARD}Pascal Rigaux2002-08-011-1/+1
| | | | | | | | - KBCHARSET is $o->{keyboard}{KBCHARSET} - isNotDelete is $o->{keyboard}{BACKSPACE} (as written in sysconfig/keyboard) - add GRP_TOGGLE which gives XkbOptions "grp:GRP_TOGGLE" - add dialog box to choose GRP_TOGGLE
* Let packages "nmap" and "scli" get installed by printerdrake.Till Kamppeter2002-08-011-1/+3
|
* Printer model auto-detection for ethernet-connected printers when setting up ↵Till Kamppeter2002-08-011-177/+285
| | | | | | | | | | TCP/Socket, remote LPD, IPP, or HTTP printers. Continued work on scanning the local network for printers. In "setup_local()": Renamed variable "@parport" to "@autodetected". Do not let list of auto-detected printers get sorted alphabetically, it should stay sorted by ports. Fixed typo in file name in "check_network()".
* Started working on network printer auto-detection.Till Kamppeter2002-07-311-1/+5
|
* make new perl_checker happyPascal Rigaux2002-07-311-3/+3
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-25/+25
|
* Better placement for waiting message.Till Kamppeter2002-07-301-1/+1
|
* Completed implementation of the support for HPOJ 0.9: Automatic photo card ↵Till Kamppeter2002-07-271-39/+88
| | | | reader configuration, bugfixes.
* - Big Move 1: interactive::* hierarchyThierry Vignaud2002-07-231-22/+6
|
* Adapted printerdrake to CUPS 1.1.15 and Perl 5.8.0 (for Foomatic).Till Kamppeter2002-07-221-3/+27
| | | | | Let network also be started during installation when LPRng or PDQ is the spooler, so that the user can install queues to remote printers.
* use {XXX} instead of {'XXX'} (as detected by new perl_checker)Pascal Rigaux2002-07-171-141/+141
|
* remove "$_ =~ " (as detected by new perl_checker)Pascal Rigaux2002-07-171-1/+1
|