View previous topic :: View next topic |
Author |
Message |
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Tue Mar 07, 2006 5:23 pm Post subject: Problemi Stampante Samsung ML-4500 |
|
|
Mi tocca a postare perchè non ne vengo a capo, sono quasi 2 anni che ho questo problema, a intermittenza..
ho una stampante Samsung ML-4500 (in teoria linux-compatibile), ho configurato cups seguendo scrupolosamente la guida di gentoo, il problema è che non sempre funziona, certe mattine accendo il pc, e non c'è preghiera (si fa per dire) che la faccia funzionare. altre mattine la accendo, e và tutto che è una meraviglia. Questi problemi non c'erano quando era collegata a windows o ad una vecchia suse 8.2.
qualche info:
la stampante è collegata su porta parallela.
Code: | # cat /etc/cups/cupsd.conf | grep -ve "#"
DocumentRoot /usr/share/cups/docs
LogLevel error
User lp
Group lp
Port 631
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From All
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1 192.168.2.9
</Location>
|
Code: | # dmesg | grep -i print
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
|
qui per esempio non mi vede la stampante (giusta, ne ho due attaccate), ma invece è collegata ed accesa e dall'interfaccia web di cups la stampante risulta pronta.
Code: | ML-4500 Samsung ML-4500 Foomatic/gdi (recommended)
Description: ML-4500
Location:
Printer State: processing, accepting jobs.
Device URI: parallel:/dev/lp0 |
ma non và.
Code: | * net-print/cups
Latest version available: 1.1.23-r7
Latest version installed: 1.1.23-r7
Size of downloaded files: 25,504 kB
Homepage: http://www.cups.org/
Description: The Common Unix Printing System
License: GPL-2
|
qualche idea? |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Mar 10, 2006 3:13 pm Post subject: |
|
|
up! |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Mon Mar 27, 2006 11:10 am Post subject: |
|
|
il fastidio è diventato un vero e proprio problema....
allora, ho capito che se stampo da openoffice và tutto bene, se non ci sono precedenti file in coda da stampare, invece il 99% delle volte che stampo da evince o gthumb si blocca tutta la stampa costringendomi a cancellare da terminale i processi in coda e riavviare il pc (se riavvio solo cups non và).
grazie |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Wed Mar 29, 2006 10:39 am Post subject: |
|
|
in attesa di scoprire una soluzione, sto installando acroread per vedere se cambia la faccenda dei pdf.
[EDIT] con acrobat reader il problema non si presenta.... per i pdf. se invece stampo da gthumb un'immagine, di nuovo tutto in blocco! |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Mon Apr 03, 2006 12:11 pm Post subject: |
|
|
umm... non ci siamo, ora anche da open office ho svariati problemi... cioè non stampa nel 20-30% dei casi... pensavo dipendesse dalla coda di stampa di evince, ma nulla...
cos'altro protrebbe essere?
grazie |
|
Back to top |
|
|
federico Advocate
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
Posted: Mon Apr 03, 2006 12:44 pm Post subject: |
|
|
Ciao io ho una samsung ml1710p acquistata proprio perche' la samsung lavora anche con linux.
La mia configurazione di cups e' piuttosto standard:
Code: |
ServerAdmin fede@sideralis.org
Classification none
DefaultCharset UTF-8
DefaultLanguage it
Printcap /etc/printcap
PrintcapFormat BSD
RemoteRoot remroot
SystemGroup lp
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key
<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.15.0/24
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.15.0/24
</Location>
HostnameLookups On
KeepAlive On
KeepAliveTimeout 60
MaxClients 100
MaxRequestSize 0m
Timeout 300
Listen *:631
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
PageLog /var/log/cups/page_log
MaxLogSize 1m
LogLevel warn
PreserveJobHistory On
PreserveJobFiles Off
AutoPurgeJobs No
MaxJobs 0
MaxJobsPerPrinter 0
MaxJobsPerUser 0
User lp
Group lp
RIPCache 8m
FilterLimit 0
DataDir /usr/share/cups
DocumentRoot /usr/share/cups/docs
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
TempDir /var/spool/cups/tmp
Browsing On
BrowseProtocols CUPS
BrowsePort 631
BrowseInterval 30
BrowseTimeout 300
BrowseOrder allow,deny
ImplicitClasses On
ImplicitAnyClasses Off
HideImplicitMembers Yes
BrowseShortNames Yes
|
e il driver nel kernel e' come il tuo:
Code: |
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x323A
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
|
Utilizzo cups coi driver foomatic gdi scaricati dal sito linuxprinting.org
Code: |
* net-print/cups
Available versions: 1.1.23-r1 1.1.23-r2 1.1.23-r3 1.1.23-r4
Installed: 1.1.23-r4
Homepage: http://www.cups.org/
Description: The Common Unix Printing System
|
Code: |
* net-print/foomatic
Available versions: 3.0.2
Installed: 3.0.2
Homepage: http://www.linuxprinting.org/foomatic.html
Description: The Foomatic printing meta package
* net-print/foomatic-db
Available versions: 20041220 20050606 ~20050910
Installed: 20040302
Homepage: http://www.linuxprinting.org/foomatic.html
Description: Foomatic printer database
* net-print/foomatic-db-engine
Available versions: 3.0.2
Installed: 3.0.2
Homepage: http://www.linuxprinting.org/foomatic.html
Description: Foomatic printer database engine
* net-print/foomatic-filters
Available versions: 3.0.2
Installed: 3.0.2
Homepage: http://www.linuxprinting.org/foomatic.html
Description: Foomatic wrapper scripts
|
Code: |
* app-text/ghostscript
Available versions: 7.07.1-r7 7.07.1-r8 ~7.07.1-r10
Installed: 7.07.1-r8
Homepage: http://www.cups.org/ghostscript.php
Description: ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support
|
I problemi maggiori li ho avuti durante un periodo di strana congiunzione astrale tra cups foomatic e ghostscript che faceva in modo che non funzionasse nulla.
In aggiunta gia' che ci siamo, questa stamapante risiede nel server di lan, e la condivito tramite samba in qualche modo (io e samba ci odiamo)
Code: |
[global]
workgroup = MATRIX
server string = Sideralis Samba Server %v
printcap name = cups
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
dns proxy = no
domain master = Yes
local master = Yes
preferred master = Yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
hosts allow = 192.168.15. 192.168.0. 192.168.17.
map to guest = bad password
guest account = guest
invalid users = root
[printers]
comment = All Printer
path = /var/spool/samba
browseable = no
guest ok = yes
public = yes
|
_________________ Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Mon Apr 03, 2006 3:10 pm Post subject: |
|
|
non ho idea... ho ricontrollato il file di cups conforntatando con il tuo, ma non ho trovato differenze che possano aiutarmi..., comunque sia ho fatto così:
Code: | DefaultCharset utf-8
DefaultLanguage it
DocumentRoot /usr/share/cups/docs
ErrorLog /var/log/cups/error_log
LogLevel error
User lp
Group lp
Port 631
MaxClients 10
Timeout 300
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.0/254
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.0/254
</Location>
|
ma non va... ho provato anche adesso a stampare un file di odt di due pagine e mi stampa solo la prima.....
ho provato a fermare riavviare il job ma web-cups mi dice:
Code: | Description: ML-4500
Location:
Printer State: processing, accepting jobs.
"Parallel port busy; will retry in 30 seconds..."
Device URI: parallel:/dev/lp0 |
stampante rotta? ho provato a collegarla ad un altro pc con win e sembra non avere problemi con open office... ma non l'ho taestao a fondo...
i dirver li ho scaricati anche io da linuxprinting, questi:
http://www.linuxprinting.org/show_printer.cgi?recnum=Samsung-ML-4500
[/code] |
|
Back to top |
|
|
|