Newsgroup: it.comp.os.linux.iniziare
Titolo: CUPS non riesco a stampare con Lexmark Z24 (Z25 Z35)

Qualche mese fa riuscivo a stampare con la Z24 ma ora non mi stampa più.
E' compatibile a livello driver con la Z25 e Z35.
Mettendo i log di cups a livello debug ottengo in /var/log/cups/error.log
D [26/Aug/2005:12:29:06 +0200] AddLocation: added location
'CUPS_INTERNAL_BROWSE_ACL'
D [26/Aug/2005:12:29:06 +0200] AllowIP: CUPS_INTERNAL_BROWSE_ACL allow
7f000001/ffffffff
D [26/Aug/2005:12:29:06 +0200] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow
@LOCAL
I [26/Aug/2005:12:29:06 +0200] Loaded configuration file
"/etc/cups/cupsd.conf"
I [26/Aug/2005:12:29:06 +0200] Configured for up to 100 clients.
I [26/Aug/2005:12:29:06 +0200] Allowing up to 100 client connections per
host.
I [26/Aug/2005:12:29:06 +0200] Full reload is required.
D [26/Aug/2005:12:29:06 +0200] LoadAllPrinters: Loading printer Z35...
D [26/Aug/2005:12:29:06 +0200] LoadDevices: Added device
"z35:/dev/usb/lp0"...
D [26/Aug/2005:12:29:06 +0200] LoadDevices: Added device "smb"...
D [26/Aug/2005:12:29:06 +0200] LoadDevices: Added device "smb"...
D [26/Aug/2005:12:29:06 +0200] LoadDevices: Added device "http"...
D [26/Aug/2005:12:29:06 +0200] LoadDevices: Added device "ipp"...
D [26/Aug/2005:12:29:06 +0200] LoadDevices: Added device "lpd"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"parallel:/dev/lp0"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device "pdf"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device "scsi"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device "socket"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb://Lexmark/Z25-Z35"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp1"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp2"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp3"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp4"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp5"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp6"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp7"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp8"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp9"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp10"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp11"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp12"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp13"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp14"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device
"usb:/dev/usb/lp15"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device "canon:/dev/lp0"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device "epson:/dev/lp0"...
D [26/Aug/2005:12:29:07 +0200] LoadDevices: Added device "cups2pegg"...
I [26/Aug/2005:12:29:07 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 1497
PPDs...
I [26/Aug/2005:12:29:07 +0200] LoadPPDs: No new or changed PPDs...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Scanning /var/spool/cups...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 21...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 22...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 23...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 24...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 25...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 26...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 27...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 28...
D [26/Aug/2005:12:29:07 +0200] LoadAllJobs: Loading attributes for job 29...
I [26/Aug/2005:12:29:07 +0200] Full reload complete.
D [26/Aug/2005:12:29:07 +0200] StartListening: NumListeners=1
D [26/Aug/2005:12:29:07 +0200] StartListening: address=00000000 port=631
D [26/Aug/2005:12:29:07 +0200] ResumeListening: setting input bits...
D [26/Aug/2005:12:29:46 +0200] AcceptClient: 5 from localhost:631.
D [26/Aug/2005:12:29:46 +0200] AcceptClient: 6 from localhost:631.
D [26/Aug/2005:12:29:46 +0200] CloseClient: 5
D [26/Aug/2005:12:29:46 +0200] ReadClient: 6 POST /printers/ HTTP/1.1
D [26/Aug/2005:12:29:46 +0200] ProcessIPPRequest: 6 status_code=1
D [26/Aug/2005:12:29:46 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:46 +0200] CloseClient: 6
D [26/Aug/2005:12:29:46 +0200] ReadClient: 7 POST /printers/ HTTP/1.1
D [26/Aug/2005:12:29:46 +0200] ProcessIPPRequest: 7 status_code=1
D [26/Aug/2005:12:29:46 +0200] AcceptClient: 6 from localhost:631.
D [26/Aug/2005:12:29:46 +0200] CloseClient: 7
D [26/Aug/2005:12:29:46 +0200] ReadClient: 6 POST /classes/ HTTP/1.1
D [26/Aug/2005:12:29:46 +0200] ProcessIPPRequest: 6 status_code=1
D [26/Aug/2005:12:29:46 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:46 +0200] CloseClient: 6
D [26/Aug/2005:12:29:46 +0200] ReadClient: 7 POST /printers/ HTTP/1.1
D [26/Aug/2005:12:29:46 +0200] ProcessIPPRequest: 7 status_code=1
D [26/Aug/2005:12:29:46 +0200] AcceptClient: 6 from localhost:631.
D [26/Aug/2005:12:29:46 +0200] CloseClient: 7
D [26/Aug/2005:12:29:46 +0200] ReadClient: 6 POST /printers/ HTTP/1.1
D [26/Aug/2005:12:29:46 +0200] ProcessIPPRequest: 6 status_code=1
D [26/Aug/2005:12:29:46 +0200] CloseClient: 6
D [26/Aug/2005:12:29:47 +0200] AcceptClient: 6 from localhost:631.
D [26/Aug/2005:12:29:47 +0200] ReadClient: 6 POST / HTTP/1.1
D [26/Aug/2005:12:29:47 +0200] ProcessIPPRequest: 6 status_code=0
D [26/Aug/2005:12:29:47 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:47 +0200] ReadClient: 7 GET /printers/Z35.ppd HTTP/1.1
D [26/Aug/2005:12:29:47 +0200] SendFile: 7 file=8
D [26/Aug/2005:12:29:47 +0200] CloseClient: 7
D [26/Aug/2005:12:29:47 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:47 +0200] ReadClient: 7 POST /printers/Z35 HTTP/1.1
D [26/Aug/2005:12:29:47 +0200] print_job: auto-typing file...
D [26/Aug/2005:12:29:47 +0200] print_job: request file type is
application/postscript.
D [26/Aug/2005:12:29:47 +0200] check_quotas: requesting-user-name = 'root'
D [26/Aug/2005:12:29:47 +0200] print_job: requesting-user-name = 'root'
D [26/Aug/2005:12:29:47 +0200] Adding default job-sheets values
"none,none"...
I [26/Aug/2005:12:29:47 +0200] Adding start banner page "none" to job 30.
I [26/Aug/2005:12:29:47 +0200] Adding end banner page "none" to job 30.
I [26/Aug/2005:12:29:47 +0200] Job 30 queued on 'Z35' by 'root'.
D [26/Aug/2005:12:29:47 +0200] Job 30 hold_until = 0
D [26/Aug/2005:12:29:47 +0200] StartJob(30, 0x80993b0)
D [26/Aug/2005:12:29:47 +0200] StartJob() id = 30, file = 0/1
D [26/Aug/2005:12:29:47 +0200] job-sheets=none,none
D [26/Aug/2005:12:29:47 +0200] banner_page = 0
D [26/Aug/2005:12:29:47 +0200] StartJob: argv = "Z35","30","root","Senza
titolo","1","ColorModel=Black
multiple-document-handling=separate-documents-collated-copies
orientation-requested=3","/var/spool/cups/d00030-001"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[2]="USER=root"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[3]="CHARSET=iso-8859-15"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[4]="LANG=it"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[5]="PPD=/etc/cups/ppd/Z35.ppd"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[9]="CONTENT_TYPE=application/postscript"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[10]="DEVICE_URI=usb://Lexmark/Z25-Z35"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[11]="PRINTER=Z35"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[12]="CUPS_DATADIR=/usr/share/cups"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[14]="CUPS_SERVER=localhost"
D [26/Aug/2005:12:29:47 +0200] StartJob: envp[15]="IPP_PORT=631"
D [26/Aug/2005:12:29:47 +0200] StartJob:
envp[16]="NLSPATH=/usr/share/locale/%l/%N"
D [26/Aug/2005:12:29:47 +0200] StartJob: statusfds = [ 8 9 ]
D [26/Aug/2005:12:29:47 +0200] StartJob: filterfds[1] = [ 10 -1 ]
D [26/Aug/2005:12:29:47 +0200] StartJob: filter =
"/usr/lib/cups/filter/pstops"
D [26/Aug/2005:12:29:47 +0200] StartJob: filterfds[0] = [ 11 12 ]
D [26/Aug/2005:12:29:47 +0200] start_process("/usr/lib/cups/filter/pstops",
0xbffee2a0, 0xbffed610, 10, 12, 9)
I [26/Aug/2005:12:29:47 +0200] Started filter /usr/lib/cups/filter/pstops
(PID 7899) for job 30.
D [26/Aug/2005:12:29:47 +0200] StartJob: filter =
"/usr/lib/cups/filter/pstoraster"
D [26/Aug/2005:12:29:47 +0200] StartJob: filterfds[1] = [ 10 13 ]
D [26/Aug/2005:12:29:47 +0200]
start_process("/usr/lib/cups/filter/pstoraster", 0xbffee2a0, 0xbffed610,
11, 13, 9)
I [26/Aug/2005:12:29:47 +0200] Started
filter /usr/lib/cups/filter/pstoraster (PID 7900) for job 30.
D [26/Aug/2005:12:29:47 +0200] StartJob: filter =
"/usr/lib/cups/filter/rastertoz35"
D [26/Aug/2005:12:29:47 +0200] StartJob: filterfds[0] = [ 11 12 ]
D [26/Aug/2005:12:29:47 +0200]
start_process("/usr/lib/cups/filter/rastertoz35", 0xbffee2a0, 0xbffed610,
10, 12, 9)
I [26/Aug/2005:12:29:47 +0200] Started
filter /usr/lib/cups/filter/rastertoz35 (PID 7901) for job 30.
D [26/Aug/2005:12:29:47 +0200] StartJob: backend =
"/usr/lib/cups/backend/usb"
D [26/Aug/2005:12:29:47 +0200] StartJob: filterfds[1] = [ -1 10 ]
D [26/Aug/2005:12:29:47 +0200] start_process("/usr/lib/cups/backend/usb",
0xbffee2a0, 0xbffed610, 11, 10, 9)
I [26/Aug/2005:12:29:47 +0200] Started backend /usr/lib/cups/backend/usb
(PID 7902) for job 30.
D [26/Aug/2005:12:29:47 +0200] ProcessIPPRequest: 7 status_code=0
E [26/Aug/2005:12:29:47 +0200] PID 7899 stopped with status 22!
E [26/Aug/2005:12:29:47 +0200] PID 7900 stopped with status 22!
D [26/Aug/2005:12:29:47 +0200] [Job 30] /usr/lib/cups/filter/pstops:
Permission denied
D [26/Aug/2005:12:29:47 +0200] [Job 30] /usr/lib/cups/filter/pstoraster:
Permission denied
D [26/Aug/2005:12:29:47 +0200] [Job 30] /usr/lib/cups/filter/rastertoz35:
Permission denied
D [26/Aug/2005:12:29:47 +0200] CloseClient: 7
E [26/Aug/2005:12:29:47 +0200] PID 7901 stopped with status 22!
D [26/Aug/2005:12:29:47 +0200] [Job 30] Printer using device file
"/dev/usb/lp0"...
D [26/Aug/2005:12:29:47 +0200] [Job 30] LPGETSTATUS returned a port status
of 18...
D [26/Aug/2005:12:29:47 +0200] UpdateJob: job 30, file 0 is complete.
D [26/Aug/2005:12:29:47 +0200] CancelJob: id = 30
D [26/Aug/2005:12:29:47 +0200] StopJob: id = 30, force = 0
D [26/Aug/2005:12:29:47 +0200] StopJob: printer state is 3
D [26/Aug/2005:12:29:48 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:48 +0200] ReadClient: 7 POST /printers/ HTTP/1.1
D [26/Aug/2005:12:29:48 +0200] ProcessIPPRequest: 7 status_code=1
D [26/Aug/2005:12:29:48 +0200] CloseClient: 7
D [26/Aug/2005:12:29:48 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:48 +0200] ReadClient: 7 POST /classes/ HTTP/1.1
D [26/Aug/2005:12:29:48 +0200] ProcessIPPRequest: 7 status_code=1
D [26/Aug/2005:12:29:48 +0200] CloseClient: 7
D [26/Aug/2005:12:29:48 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:48 +0200] ReadClient: 7 POST /printers/ HTTP/1.1
D [26/Aug/2005:12:29:48 +0200] ProcessIPPRequest: 7 status_code=1
D [26/Aug/2005:12:29:48 +0200] CloseClient: 7
D [26/Aug/2005:12:29:48 +0200] AcceptClient: 7 from localhost:631.
D [26/Aug/2005:12:29:48 +0200] ReadClient: 7 POST / HTTP/1.1
D [26/Aug/2005:12:29:48 +0200] ProcessIPPRequest: 7 status_code=1
D [26/Aug/2005:12:29:48 +0200] CloseClient: 7
D [26/Aug/2005:12:34:48 +0200] Closing client 6 after 300 seconds of
inactivity...
D [26/Aug/2005:12:34:48 +0200] CloseClient: 6

Sembra che non dipenda dal driver della stampante bensì da cups.
lpstat: Unable to connect to server: Connection refused

Sembra si sia risolto tutto modificando l'utente e il gruppo da lp a root
con il configuratore di CUPS del kde.

 ha scritto nel messaggio 
news:fzGPe.84371$2U1.4...@news3.tin.it...
