

mazetasdoubou έγραψε:Έχω διαγραψει [...] τον εκτυπωτή.
sudo apt-get -y install ubuntu-minimal ubuntu-standard ubuntu-desktop python-qt4 hplip-guisudo hp-setup
dim459 έγραψε:Αν από το synaptic επανεκγαταστήσεις το πακέτο cups, κάνει τίποτα ;

medigeek έγραψε:Ξανακάνε το. Διαγραψε τον εκτυπωτή από το System -> Administration -> Printing.
Για τα ακόλουθα βήματα, χρειάζεσαι διαδίκτυο:
(Ανάφερε τα αποτελέσματα των εντολων πιο κάτω όταν απαντήσεις.)
stathis@stathis-laptop:~$ sudo apt-get -y install ubuntu-minimal ubuntu-standard ubuntu-desktop python-qt4 hplip-gui
[sudo] password for stathis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntu-minimal is already the newest version.
ubuntu-standard is already the newest version.
python-qt4 is already the newest version.
python-qt4 set to manually installed.
The following extra packages will be installed:
foomatic-db foomatic-db-engine hpijs hplip hplip-cups hplip-data libhpmud0
Suggested packages:
m2300w openprinting-ppds-extra cjet foomatic-db-hpijs foomatic-db-gutenprint
foomatic-gui hpijs-ppds hplip-doc kdeprint gtklp xpp
The following NEW packages will be installed:
foomatic-db foomatic-db-engine hpijs hplip hplip-cups hplip-data hplip-gui
libhpmud0 ubuntu-desktop
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.5MB/13.9MB of archives.
After this operation, 61.5MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main foomatic-db 20100216-0ubuntu3 [755kB]
Get:2 http://archive.ubuntu.com/ubuntu/ lucid/main foomatic-db-engine 4.0.4-0ubuntu1 [304kB]
Get:3 http://archive.ubuntu.com/ubuntu/ lucid/main libhpmud0 3.10.2-2ubuntu2 [161kB]
Get:4 http://archive.ubuntu.com/ubuntu/ lucid/main hplip-data 3.10.2-2ubuntu2 [11.6MB]
Get:5 http://archive.ubuntu.com/ubuntu/ lucid/main hplip 3.10.2-2ubuntu2 [201kB]
Get:6 http://archive.ubuntu.com/ubuntu/ lucid/main hpijs 3.10.2-2ubuntu2 [426kB]
Get:7 http://archive.ubuntu.com/ubuntu/ lucid/main ubuntu-desktop 1.197 [31.9kB]
Fetched 13.5MB in 1min 2s (215kB/s)
Selecting previously deselected package foomatic-db.
(Reading database ... 191654 files and directories currently installed.)
Unpacking foomatic-db (from .../foomatic-db_20100216-0ubuntu3_all.deb) ...
Selecting previously deselected package foomatic-db-engine.
Unpacking foomatic-db-engine (from .../foomatic-db-engine_4.0.4-0ubuntu1_i386.deb) ...
Selecting previously deselected package libhpmud0.
Unpacking libhpmud0 (from .../libhpmud0_3.10.2-2ubuntu2_i386.deb) ...
Selecting previously deselected package hplip-data.
Unpacking hplip-data (from .../hplip-data_3.10.2-2ubuntu2_all.deb) ...
Selecting previously deselected package hplip.
Unpacking hplip (from .../hplip_3.10.2-2ubuntu2_i386.deb) ...
Selecting previously deselected package hpijs.
Unpacking hpijs (from .../hpijs_3.10.2-2ubuntu2_i386.deb) ...
Selecting previously deselected package hplip-cups.
Unpacking hplip-cups (from .../hplip-cups_3.10.2-2ubuntu2_i386.deb) ...
Selecting previously deselected package hplip-gui.
Unpacking hplip-gui (from .../hplip-gui_3.10.2-2ubuntu2_all.deb) ...
Selecting previously deselected package ubuntu-desktop.
Unpacking ubuntu-desktop (from .../ubuntu-desktop_1.197_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for python-support ...
Setting up libhpmud0 (3.10.2-2ubuntu2) ...
Setting up hplip-data (3.10.2-2ubuntu2) ...
Setting up hplip (3.10.2-2ubuntu2) ...
Creating/updating hplip user account...
Setting up hpijs (3.10.2-2ubuntu2) ...
Setting up hplip-cups (3.10.2-2ubuntu2) ...
Setting up hplip-gui (3.10.2-2ubuntu2) ...
Setting up foomatic-db-engine (4.0.4-0ubuntu1) ...
Setting up foomatic-db (20100216-0ubuntu3) ...
Setting up ubuntu-desktop (1.197) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
stathis@stathis-laptop:~$ sudo hp-setup
HP Linux Imaging and Printing System (ver. 3.10.5)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Searching... (bus=usb, search=(None), desc=0)
/
Done.
stathis@stathis-laptop:~$

medigeek έγραψε: Βάλε τα κατάλληλα προνόμια (privileges) στο System > Administration > Επέλεξε το χρήστη σου, μετά πιέζεις "Advanced settings" > "User privileges" > Επέλεξε τα όλα (έτσι κι αλλιώς είσαι ο χρήστης - adminstrator υποθέτω).
- Κάνεις log out και πάλι log in. Σβήσε και αναψε ξανά τον εκτυπωτή.
- Δοκίμασε να κάνεις print μέσω του gedit: Applications > Accessories > Text editor
γράψε κάτι και File > Print

hp-info -i
medigeek έγραψε:Είναι όντως περίεργο πρόβλημα..
1. άναψε τον εκτυπωτή, εκτέλεσε αυτή την εντολή:
ΚΏΔΙΚΑΣ: ΕΠΙΛΟΓΉ ΌΛΩΝ
hp-info -i
Στείλε το αποτέλεσμα
stathis@stathis-laptop:~$ hp-info -i
HP Linux Imaging and Printing System (ver. 3.10.5)
Device Information Utility ver. 5.2
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
error: Device busy: hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
error: Error opening device (Device not found).
Device Parameters (dynamic data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
back-end hp
cups-printers ['hp_LaserJet_1012']
cups-uri hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
dev-file
device-state -1
device-uri hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
deviceid
error-state 101
host
is-hp True
panel 0
panel-line1
panel-line2
port 1
serial 00CNFD057388
status-code 5002
status-desc
Model Parameters (static data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
align-type 0
clean-type 0
color-cal-type 0
copy-type 0
embedded-server-type 0
fax-type 0
fw-download False
icon HP_LaserJet_1012.png
io-mfp-mode 3
io-mode 1
io-support 2
job-storage 0
linefeed-cal-type 0
model hp_LaserJet_1012
model-ui HP LaserJet 1012
model1 HP LaserJet 1012 Printer
monitor-type 0
panel-check-type 0
pcard-type 0
plugin 0
plugin-reason 0
power-settings 0
pq-diag-type 0
r-type 0
r0-agent1-kind 4
r0-agent1-sku Q2612A
r0-agent1-type 1
scan-style 0
scan-type 0
status-battery-check 0
status-dynamic-counters 0
status-type 3
support-released True
support-subtype 14898
support-type 2
support-ver 0.9.5
tech-class ['LJFastRaster']
tech-subclass ['Normal']
tech-type 3
usb-pid 3095
usb-vid 1008
wifi-config 0
Status History (most recent first):
Date/Time Code Status Description User Job ID
-------------------- ----- ---------------------------------------- -------- --------
07/01/10 15:40:15 5021 Device is busy stathis 0
Done.
stathis@stathis-laptop:~$

έγραψε:error: Device busy: hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
error: Error opening device (Device not found).

medigeek έγραψε:εμ.. για ξανακανε την προηγούμενη εντολή, αλλά να το αφήσεις 1-2 λεπτά μεχρι να «ξεκινησει».
stathis@stathis-laptop:~$ hp-info -i
HP Linux Imaging and Printing System (ver. 3.10.5)
Device Information Utility ver. 5.2
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
error: Device busy: hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
error: Error opening device (Device not found).
Device Parameters (dynamic data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
back-end hp
cups-printers ['hp_LaserJet_1012']
cups-uri hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
dev-file
device-state -1
device-uri hp:/usb/hp_LaserJet_1012?serial=00CNFD057388
deviceid
error-state 101
host
is-hp True
panel 0
panel-line1
panel-line2
port 1
serial 00CNFD057388
status-code 5002
status-desc
Model Parameters (static data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
align-type 0
clean-type 0
color-cal-type 0
copy-type 0
embedded-server-type 0
fax-type 0
fw-download False
icon HP_LaserJet_1012.png
io-mfp-mode 3
io-mode 1
io-support 2
job-storage 0
linefeed-cal-type 0
model hp_LaserJet_1012
model-ui HP LaserJet 1012
model1 HP LaserJet 1012 Printer
monitor-type 0
panel-check-type 0
pcard-type 0
plugin 0
plugin-reason 0
power-settings 0
pq-diag-type 0
r-type 0
r0-agent1-kind 4
r0-agent1-sku Q2612A
r0-agent1-type 1
scan-style 0
scan-type 0
status-battery-check 0
status-dynamic-counters 0
status-type 3
support-released True
support-subtype 14898
support-type 2
support-ver 0.9.5
tech-class ['LJFastRaster']
tech-subclass ['Normal']
tech-type 3
usb-pid 3095
usb-vid 1008
wifi-config 0
Status History (most recent first):
Date/Time Code Status Description User Job ID
-------------------- ----- ---------------------------------------- -------- --------
07/02/10 16:34:00 5021 Device is busy stathis 0
Done.
stathis@stathis-laptop:~$
