summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Added button to switch to japanese text file printing.Till Kamppeter2003-03-111-0/+17
|
* Correction on reading the Foomatic overview.Till Kamppeter2003-03-021-12/+8
|
* Fixes on reading of Foomatic data overview ("foomatic-configure -O"):Till Kamppeter2003-03-021-14/+20
| | | | | | | - Removed usage of on-disk cache - Made new "<general>" and "<ieee1284>" tags for auto-detection info being recognized.
* Fixed bug #2171.Till Kamppeter2003-02-271-1/+1
|
* Prepared for LPRng and PDQ goint to Contribs or leaving the distro, "ChangeTill Kamppeter2003-02-251-1/+7
| | | | | | Printing System" button only appears if at least one of them is manually installed.
* Several bug fixes on printerdrakeTill Kamppeter2003-02-231-8/+20
| | | | | | | | | | | | | - "BrowsePoll <IP>:<Port>" needs "Browsing On" in /etc/cups/cupsd.conf. - If the same printer model is once on the parallel port and second on USB, there was a new USB queue created on every start of Printerdrake. - Now CUPS is restarted whenever a new USB print queue is set up so that CUPS can provide the model-related USB URI. - Made sure that the default printer is defined and that it is an existing queue so that during installation printerdrake does not show a line only containing " (Default)" in the list of installed printers. - Cleaned up data structure after automatic queue generation.
* - Improved/fixed generation of printer list entries fromTill Kamppeter2003-02-201-17/+15
| | | | | | | manufacturer-supplied PostScript PPD files - Removed forgotten debug mode - Disabled wizard-mode temporarily
* - "BrowsePoll" support in the CUPS configuration dialog.Till Kamppeter2003-02-181-1/+45
| | | | | | - Fixes on error message windows in the dialog for printer sharing destinations.
* - Fixed bug of HP DeskJetb 990C being automatically installed even ifTill Kamppeter2003-02-171-11/+21
| | | | | | there is already a queue for it - Fixed checking whether a device is known to CUPS
* - 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
* fix perl_checker errorPascal Rigaux2003-02-051-2/+2
|
* Removed debug helper line.Till Kamppeter2003-02-041-1/+0
|
* - "Out-sourced" functions for config file handling into handle_configs.pm,Till Kamppeter2003-02-041-168/+125
| | | | | | it is used by both printerdrake and scannerdrake. - Improvements and fixes on CUPS daemon configuration by printerdrake.
* - Improved generation of printer list entries from manufacturer-supplied ↵Till Kamppeter2003-02-011-6/+15
| | | | PostScript PPDs.
* - Completed support for pre-compiled Foomatic PPDs.Till Kamppeter2003-02-011-38/+110
| | | | | | | | | - Cleaning of mamufacturer names for menues and for comparing auto-dtected data against Foomatic centralized in one function. - Fixed file name in check for installed packages. - Fixed display of boolean options from native PostScript PPD files in the option setting dialog.
* - Faster switch between normal and expert mode (no re-read of the printTill Kamppeter2003-01-311-9/+74
| | | | | | queues). - Prepared for working with pre-compiled Foomatic PPDs.
* - Conservation of option settings also for queues with PostScript PPD filesTill Kamppeter2003-01-301-4/+4
| | | | | | | or when switching between PostScript PPD file and Foomatic. - Fixed tree structure of main window in expert mode. - Several smaller bug fixes.
* - Display options devided in the groups defined in the PPD file.Till Kamppeter2003-01-301-99/+24
| | | | | | | | | | | | | - For Foomatic PPDs the options in the "General" group are shown by default the rest when clicking "Advanced". When there ar no groups, the decision is done by a table of most commonly used option names. - Sort the displayed options of a queue with a non-Foomatic PPD file by the importance of the options. - Do not sort the values of an option, they are already conveniently sorted in the PPD files. - Removed some unnecessary re-reads of the printer option information. - Several fixes to run smoothly with Foomatic 2.9.x.
* - Automatic non-interactive installation of local print queues.Till Kamppeter2003-01-291-3/+1
| | | | | | | - Standard and advanced options selected by option groups in PPD. - Fixed bug of "CUPS + GIMP-Print" drivers being preferred against "Foomatic + gimp-print" drivers in beginners mode. - Foomatic package installation adapted to Foomatic 2.9.x.
* More stuff for non-interactive printer configuration:Till Kamppeter2003-01-281-0/+70
| | | | | | | | | | | - Added find_new_printer() function to find local printers which are not configured yet - Fixed Titi's bugs which messed up list of auto-detected printers - Corrected text in the dialog for changing the printer connection type (for local printer connections). - Allow switching to expert mode during installation (the installation has no global expert mode any more.
* Adapted printerdrake to Foomatic 2.9.x, bug fix for use of native PPDs in ↵Till Kamppeter2003-01-271-59/+44
| | | | recommended mode, bug fixes in association between detected printers and existing queues.
* - Support for manufacturer-supplied PostScript PPDs also in recommendedTill Kamppeter2003-01-211-5/+58
| | | | | | | | | | | | mode. - If "Foomatic + Postscript" is recommended driver for a printer and a manufacturer-supplied PPD file exists for it, the PPD file gets the recommended driver. - Tried to extract IEEE-1284 auto-detection info from the PPD files but this takes too long time (40 sec for 800 PPDs). - Fixed long-standing bug in activation of auto-load of the USB "printer" kernel module.