summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
Commit message (Collapse)AuthorAgeFilesLines
* - 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
|
* Fixed bug of installer crashing when an HP multi-function device is detected ↵Till Kamppeter2004-03-011-1/+4
| | | | and set up.
* Removed spurious quotes ('"') from HPOJ config file.Till Kamppeter2004-03-011-2/+3
|
* Fixes for HPOJ setup during installation.Till Kamppeter2004-02-261-0/+9
|
* (set_usermode) do not die when run with --testing as userThierry Vignaud2004-02-191-1/+1
|
* Let printerdrake load the "usblp" instead of the "printer" kernel module if ↵Till Kamppeter2004-02-141-4/+5
| | | | kernel 2.6.x is used.
* Removed occurences of "Mandrake" from translateable strings.Till Kamppeter2004-01-211-4/+5
|
* Added functionality to configure a PostScript printer with aTill Kamppeter2004-01-121-3/+41
| | | | | manufacturer-supplied PPD file.
* escaped strings fixesThierry Vignaud2003-11-061-26/+27
|
* check_prog will check first arg, specifying parameters must henceGuillaume Cottenceau2003-11-031-1/+1
| | | | | be done with other args
* fixed an involuntary typoPablo Saratxaga2003-10-021-1/+1
|
* fixed parameters for LPD printer information linePablo Saratxaga2003-10-021-2/+2
|
* corrected parameters of LPD info linePablo Saratxaga2003-10-021-1/+1
|
* Fixed "Configure CUPS" function of printerdrake adding a secondTill Kamppeter2003-09-171-2/+2
| | | | | | | "<Location />...</Location>" in /etc/cups/cupsd.conf instead of replacing the existing one (fix of Titi's newly introduced bug from May 19 14:17:58 2003 UTC).
* Small fix on LIDIL workaround.Till Kamppeter2003-09-151-2/+2
|
* Put device identity info into the HPOJ config file also when HPOJTill Kamppeter2003-09-151-0/+5
| | | | | configuration was not verified (LIDIL devices).
* Added workaround to make HP PSC 1xxx and OfficeJet 4xxx really working.Till Kamppeter2003-09-151-0/+11
|
* perl_checker fix.Till Kamppeter2003-09-151-2/+2
|
* Added support for user-mode-only HPOJ devices (HP PSC 1xxx andTill Kamppeter2003-09-151-43/+127
| | | | | OfficeJet 4xxx). Fixes bug #5641.
* - Use a field in the $printer data structure and no a global variableTill Kamppeter2003-09-081-13/+14
| | | | | | | for the expert mode. - Fixed bug of database not being re-read when switching between normal and expert mode with the new GTK2 main window.
* Determine default printer already when reading in the queue data,Till Kamppeter2003-08-271-4/+11
| | | | | this is much faster than running "foomatic-configure" a second time.
* If an HPOJ-controlled HP MF device on a parallel port has an URI withTill Kamppeter2003-08-261-0/+4
| | | | | | model reference (and not port number) tell at least in the menues that it is on a parallel port.
* Distinguish between printers "Configured on this machine" andTill Kamppeter2003-08-251-8/+1
| | | | | | | "Configured on other machines", not any more "Local Printers" and "Remote Printers", so the current dialog is compatible to the new GTK2 dialog.
* Fixed recognition of installed parallel HPOJ-driven MF devices.Till Kamppeter2003-08-251-1/+1
|
* Adapted version mark in HPOJ config files to the current HPOJ.Till Kamppeter2003-08-241-1/+1
|
* - Fixed expert/normal mode switch (it will perhaps be removed, but aTill Kamppeter2003-08-241-3/+49
| | | | | | | | working switch makes the further development easier). - Added connectionstr() function which produces a human-readable string for the connection type, needed for new main window. - Added missing parantheses (there was a warning complaining about this).
* Support for the new "ptal://..." (two slashes) URIs of the new HPOJ.Till Kamppeter2003-08-221-4/+4
|
* perl_checker fixesThierry Vignaud2003-05-231-3/+3
|
* perl_checker fixesThierry Vignaud2003-05-201-11/+10
| | | | | | | | 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
* prevent set_usermode() vs set_cups_autoconf() conflictThierry Vignaud2003-05-201-1/+2
|
* restore service restartThierry Vignaud2003-05-201-0/+2
|
* - (read_location, rip_location): simplify loop condition since once we getThierry Vignaud2003-05-191-5/+3
| | | | | | | $location_end, we exit it - (rip_location): simplify @location build when no existing one
* - (get_cups_autoconf, set_cups_autoconf, get_usermode, set_usermode): simplifyThierry Vignaud2003-05-191-72/+13
| | | | | | | | | | a lot through getVarsFromSh() and setVarsInSh() - (set_jap_textmode) simplify a lot through substInFile() now all /etc/sysconfig/printing accesses get done by MDK::Common::File (until shell template from libconf is used)
* perl_checker fixesThierry Vignaud2003-05-191-148/+141
|
* Fixed bug #417: '$' character in printer URI not correctly handled.Till Kamppeter2003-03-131-1/+3
|
* Made sure that all IP addresses of the local machine are in 'AllowTill Kamppeter2003-03-111-8/+22
| | | | | | | 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).