summaryrefslogtreecommitdiff
path: root/probe.py
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2016-01-04 18:18:40 +0100
committerDidier Raboud <odyx@debian.org>2016-01-04 18:18:40 +0100
commit3bd33ae13460ba8d478257bbf931e1225f66db74 (patch)
tree81c84fcaf888edee43228e9e0d3b6e7eb6257985 /probe.py
parent9c780c43f3b6c8c45829c91b4bad8510e2e5ddd7 (diff)
Imported Upstream version 3.9.2
Diffstat (limited to 'probe.py')
-rwxr-xr-xprobe.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/probe.py b/probe.py
index db20fed30..8a85da3e8 100755
--- a/probe.py
+++ b/probe.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-# (c) Copyright 2003-2008 Hewlett-Packard Development Company, L.P.
+# (c) Copyright 2003-2009 Hewlett-Packard Development Company, L.P.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
__version__ = '4.1'
__mod__ = 'hp-probe'
__title__ = 'Printer Discovery Utility'
-__doc__ = "Discover USB, parallel, and network printers."
+__doc__ = "Discover HPLIP supported USB, parallel, and network attached printers."
# Std Lib
@@ -69,7 +69,7 @@ try:
opts, device_uri, printer_name, mode, ui_toolkit, loc = \
mod.parseStdOpts('b:t:o:e:s:m:',
- ['ttl=', 'filter=', 'search=', 'find=',
+ ['ttl=', 'filter=', 'search=', 'find=',
'method=', 'time-out=', 'timeout=', 'bus='],
handle_device_printer=False)
@@ -128,12 +128,12 @@ try:
if bus is None:
bus = tui.connection_table()
-
+
if bus is None:
sys.exit(0)
-
+
log.info("\nUsing connection type: %s" % bus[0])
-
+
log.info("")
tui.header("DEVICE DISCOVERY")
@@ -144,8 +144,8 @@ try:
FILTER_MAP = {'print' : None,
'none' : None,
- 'scan': 'scan-type',
- 'copy': 'copy-type',
+ 'scan': 'scan-type',
+ 'copy': 'copy-type',
'pcard': 'pcard-type',
'fax': 'fax-type',
}