summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
Commit message (Collapse)AuthorAgeFilesLines
* printer related modules cleaning :Thierry Vignaud2002-11-121-3306/+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-1/+1
| | | | | - remove unneeded parentheses for things like ... if (...)
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-3/+2
|
* - use "foreach" instead of "for" in list contextPascal Rigaux2002-11-111-7/+7
| | | | | - use "for" instead of "foreach" when used a la C
* - do not use "foreach $var (...) {...}" use "foreach my $var (...) {...}" ↵Pascal Rigaux2002-11-111-14/+9
| | | | | | | | 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
* fix my typosPascal Rigaux2002-11-081-2/+2
|
* - have "local *FILEHANDLE" before each "open FILEHANDLE, ..."Pascal Rigaux2002-11-061-66/+23
| | | | | - use some "cat_" and "output" where possible
* replace "for my ..." with "foreach my ..."Pascal Rigaux2002-11-061-19/+19
|
* remove unneeded parentheses on the right side of infix if/foreach/unlessPascal Rigaux2002-11-061-15/+15
|
* please perl_checker:Pascal Rigaux2002-11-061-38/+32
| | | | | | | - 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-47/+47
| | | | | | | | | | | | | | | | | | | 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!
* typo fixesThierry Vignaud2002-11-041-4/+8
|
* perl_checker fixesThierry Vignaud2002-10-231-6/+6
|
* consolidate more stuff into %spoolersThierry Vignaud2002-10-171-28/+21
|
* start to consolidate %spoolers as a data structureThierry Vignaud2002-10-171-20/+21
|
* - printerdrake::auto_detect(local, net, smb):Thierry Vignaud2002-10-171-19/+11
| | | | | | | o split into local_detect, net_detect, net_smb_detect o detect: return all printers - printer: consolidate all *help_output into help_output
* Fixed bug of printerdrake installing LPRng when it is started for theTill Kamppeter2002-09-191-3/+35
| | | | | | first time and CUPS is already installed without local queues but with remote CUPS servers broadcasting in their printer info.
* Made "LPRng" show up in the spooler menu when LPRng is installed.Till Kamppeter2002-09-141-5/+10
|
* Do not insist on "curl" to download PPDs from a CUPS server (for Star ↵Till Kamppeter2002-09-131-23/+60
| | | | | | | 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.
* Added timeouts to network scan with "nmap" so that scan does not takeTill Kamppeter2002-09-131-4/+14
| | | | | | | | too long when there are machines running a firewall. To find running machines in the network, do not only a broadcast ping but also an "nmblookup" to also catch Windows machines which do not answer to ping.
* - Made printer::assure_device_is_available_for_cups() more reliable byTill Kamppeter2002-09-111-10/+19
| | | | | | checking and retrying. - Do not start the network when it is not configured.
* - Fixed bugs in automatic GIMP printer configuration during installation.Till Kamppeter2002-08-301-33/+59
| | | | | - Worked around a bug of "ls -r xxx*" returning "xxx*" instead of nothing when "xxx*" does not exist ("ls" of "busybox" during installation).
* s/||/or/ between commands, the high-precedence "||" lead to problems sometimes.Till Kamppeter2002-08-291-35/+35
|
* Added automatical configuration of the printers in the GIMP.Till Kamppeter2002-08-281-3/+410
|
* Printerdrake remembers now whether it was in normal mode or in expertTill Kamppeter2002-08-281-2/+49
| | | | | mode last time.
* OpenOffice.org: Remove default printer tag from the "Generic Printer"Till Kamppeter2002-08-281-0/+6
| | | | | when Printerdrake adds an entry for the system's default printer.
* Set default text margins to half an inch and default size for imagesTill Kamppeter2002-08-271-0/+32
| | | | | to be printed to the full page.
* Dialog for printing test pages: Unmark all test pages when "No testTill Kamppeter2002-08-261-4/+13
| | | | | | | 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.
* Let command line tools for network scanning run under "chroot $refix", ↵Till Kamppeter2002-08-241-0/+247
| | | | | | | 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.
* Taken LPRng from spooler menu in printerdrake.Till Kamppeter2002-08-201-2/+3
|
* Fixed HP multi-function device configuration during the installation:Till Kamppeter2002-08-181-0/+6
| | | | | | - Fixed mistyped package name for "mtoolsfm" - Set links for photo card reader auto-detection to work
* Fixes to make it possible toinstall HP's multi-function devices during ↵Till Kamppeter2002-08-171-1/+10
| | | | installation.
* Setup of HP MF devices on parallel port did not work. Fixed.Till Kamppeter2002-08-111-5/+27
| | | | | | | 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.
* Use any::get_secure_level() instead of printer::get_security_level().Till Kamppeter2002-08-101-20/+0
|
* s/__END__/1;Thierry Vignaud2002-08-051-1/+1
|
* kill "wonderful perl"Thierry Vignaud2002-08-051-4/+1
|
* Finished auto-detection of network and SMB printers.Till Kamppeter2002-08-051-25/+50
| | | | | Added automatic configuration of HP's multi-function devices when connected via HP JetDirect (network).
* Corrected strings for printer queue list in main window.Till Kamppeter2002-08-021-3/+3
|
* make perl_checker happy again (replacing "{xx}->{yy}" by "{xx}{yy}")Pascal Rigaux2002-07-311-21/+21
|
* replace "$foo" with $fooPascal Rigaux2002-07-311-31/+31
|
* make new perl_checker happyPascal Rigaux2002-07-311-9/+9
|
* "cp -a" doesn't need "echo yes|"Thierry Vignaud2002-07-311-3/+1
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-9/+9
|
* Fixed a typo and a comment in the "SIGHUP_daemon()" function.Till Kamppeter2002-07-301-2/+2
|
* Fixed some "$prefix" issues in the HPOJ auto-configuration and in the Star ↵Till Kamppeter2002-07-291-5/+15
| | | | Office/OpenOffice.org auto-configuration.
* make perl_checker happyPascal Rigaux2002-07-291-1/+1
|
* Completed implementation of the support for HPOJ 0.9: Automatic photo card ↵Till Kamppeter2002-07-271-41/+118
| | | | reader configuration, bugfixes.
* First step of automatic HP multi-function device configuration with HPOJ 0.9.Till Kamppeter2002-07-261-90/+203
|
* Adapted printerdrake to CUPS 1.1.15 and Perl 5.8.0 (for Foomatic).Till Kamppeter2002-07-221-8/+33
| | | | | 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-66/+66
|