Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CONF] CUPS... [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Dec 05, 2004 5:40 pm    Post subject: [CONF] CUPS... [SOLVED] Reply with quote

Ciao a tutti.
Scusatemi se posto con un problema del genere, ma nn so + dove sbattere la testa.
Vi spiego, CUPS nn stampa.
O meglio, il server sembra UP, la stampante (Epson Stylus CX5200) sembra ben configurata, ma nn stampa.
Ho seguito la guida per configurare CUPS, poi (avendo installato KDE) ho usato l'utility di KDE per cercar di configurarlo meglio, ma continua a non stampare.
Vi posto cupsd.conf (senza le linee commentate), sperando che possiate aiutarmi.

Code:

FileDevice Yes

Classification none
DefaultCharset UTF-8
Printcap /etc/printcap
PrintcapFormat BSD

#security
RemoteRoot remroot
SystemGroup lp
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key

#Access Permission
<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From *.PingOne
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>

#Network
HostnameLookups Off
KeepAlive On
KeepAliveTimeout 60
MaxClients 100
MaxRequestSize 0m
Timeout 300
Listen *:631

#log
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
PageLog /var/log/cups/page_log
MaxLogSize 1m
LogLevel info
#jobs
PreserveJobHistory On
AutoPurgeJobs No
MaxJobs 0 #(0 = no limit)
MaxJobsPerPrinter 0 #(0 = no limit)
MaxJobsPerUser 0 #(0 = no limit)

#filter
User lp
Group lp
RIPCache 8m
FilterLimit 0 #(0 = no limit)

#directories
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
Browsing Off

_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>


Last edited by stefanonafets on Sun Dec 05, 2004 11:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
gaffiere
Guru
Guru


Joined: 13 Nov 2003
Posts: 406
Location: Provincia Milano

PostPosted: Sun Dec 05, 2004 5:50 pm    Post subject: Reply with quote

che errori ti dà?
io ho notato che non stampa niente, senza dare per altro errori, se provo a lanciare una stampa ad esempio da xpdf o altri programmi, esempio firefox.

se faccio stampare il documento su file .ps poi da consolle lancio lpr nomefile.ps allora tutto funziona.

visto che non stampo molto non mi sono messo a cercare una soluzione... :oops:
see ya
_________________
Thomaz "Gaffiere"
Middle-Earth XP2200+, 1Gb Ram, 80Gb + 160Gb Hd, SbLive!, Nvidia 6800GT AGP8x
Gentoo Gnu/Linux 2.6.12-gentoo-r10
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Dec 05, 2004 5:54 pm    Post subject: Reply with quote

Ps, vi posto anche qualche riga di /var/log/cups/error_log dopo che ho messo il livello di info su debug2...
Quote:

d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x80928b0[charset-supported,4,47])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092c20[natural-language-configured,4,48])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092c78[generated-natural-language-supported,4,48])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092ce0[document-format-default,4,49])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092d48[document-format-supported,4,80000049])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092ee0[compression-supported,4,44])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092f50[job-priority-supported,4,21])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092f98[job-priority-default,4,21])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8092fe0[copies-supported,4,33])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093020[copies-default,4,21])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093060[page-ranges-supported,4,22])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x80930a8[number-up-supported,4,21])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093120[number-up-default,4,21])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093160[orientation-requested-supported,4,23])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x80931d0[orientation-requested-default,4,23])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093220[job-hold-until-supported,4,44])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093340[job-hold-until-default,4,44])
d [05/Dec/2004:18:52:05 +0100] copy_attribute(0x816d0f0, 0x8093398[job-sheets-supported,4,42])
D [05/Dec/2004:18:52:05 +0100] ProcessIPPRequest: 6 status_code=0
d [05/Dec/2004:18:52:05 +0100] ProcessIPPRequest: Adding fd 6 to OutputSet...
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
D [05/Dec/2004:18:52:05 +0100] CloseClient() 4
d [05/Dec/2004:18:52:05 +0100] CloseClient: Removing fd 4 from InputSet and OutputSet...
d [05/Dec/2004:18:52:05 +0100] WriteClient: Removing fd 6 from OutputSet...
d [05/Dec/2004:18:52:05 +0100] ReadClient() 6, used=0
D [05/Dec/2004:18:52:05 +0100] ReadClient() 6 GET /printers/CX5200.ppd HTTP/1.1
d [05/Dec/2004:18:52:05 +0100] decode_auth(0xb79c7008): Authorization string = ""
d [05/Dec/2004:18:52:05 +0100] decode_auth() 6 username=""
d [05/Dec/2004:18:52:05 +0100] IsAuthorized: con->uri = "/printers/CX5200.ppd"
d [05/Dec/2004:18:52:05 +0100] FindBest: uri = "/printers/CX5200"...
d [05/Dec/2004:18:52:05 +0100] FindBest: Location / Limit 7f
d [05/Dec/2004:18:52:05 +0100] FindBest: Location /admin Limit 7f
d [05/Dec/2004:18:52:05 +0100] FindBest: best = "/"
d [05/Dec/2004:18:52:05 +0100] IsAuthorized: auth = 0, satisfy=0...
d [05/Dec/2004:18:52:05 +0100] get_file() 6 filename=/etc/cups/ppd/CX5200.ppd size=5483
d [05/Dec/2004:18:52:05 +0100] IsCGI(con=0xb79c7008, filename="/etc/cups/ppd/CX5200.ppd", filestats=0xbfff2f00, type=text/plain)
d [05/Dec/2004:18:52:05 +0100] IsCGI: Returning 0...
D [05/Dec/2004:18:52:05 +0100] SendFile() 6 file=4
d [05/Dec/2004:18:52:05 +0100] SendFile: Adding fd 6 to OutputSet...
d [05/Dec/2004:18:52:05 +0100] WriteClient() 6 2048 bytes
d [05/Dec/2004:18:52:05 +0100] WriteClient() 6 2048 bytes
d [05/Dec/2004:18:52:05 +0100] WriteClient() 6 1387 bytes
d [05/Dec/2004:18:52:05 +0100] WriteClient: Removing fd 6 from OutputSet...
d [05/Dec/2004:18:52:05 +0100] WriteClient: Removing fd 4 from InputSet...
d [05/Dec/2004:18:52:05 +0100] WriteClient: 6 Closing data file 4.
d [05/Dec/2004:18:52:05 +0100] AcceptClient(0x8088450) 1 NumClients = 1
D [05/Dec/2004:18:52:05 +0100] AcceptClient() 4 from localhost:631.
d [05/Dec/2004:18:52:05 +0100] AcceptClient: Adding fd 4 to InputSet...
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
D [05/Dec/2004:18:52:05 +0100] ReadClient() 4 POST / HTTP/1.1
d [05/Dec/2004:18:52:05 +0100] decode_auth(0xb79c9c38): Authorization string = ""
d [05/Dec/2004:18:52:05 +0100] decode_auth() 4 username=""
d [05/Dec/2004:18:52:05 +0100] IsAuthorized: con->uri = "/"
d [05/Dec/2004:18:52:05 +0100] FindBest: uri = "/"...
d [05/Dec/2004:18:52:05 +0100] FindBest: Location / Limit 7f
d [05/Dec/2004:18:52:05 +0100] FindBest: Location /admin Limit 7f
d [05/Dec/2004:18:52:05 +0100] FindBest: best = "/"
d [05/Dec/2004:18:52:05 +0100] IsAuthorized: auth = 0, satisfy=0...
d [05/Dec/2004:18:52:05 +0100] POST /
d [05/Dec/2004:18:52:05 +0100] CONTENT_TYPE = application/ipp
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4 con->data_encoding = length, con->data_remaining = 375, con->file = 0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4 con->data_encoding = length, con->data_remaining = 367, con->file = 0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4 con->data_encoding = length, con->data_remaining = 338, con->file = 0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4 con->data_encoding = length, con->data_remaining = 304, con->file = 0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4 con->data_encoding = length, con->data_remaining = 250, con->file = 0
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=218
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4 con->data_encoding = length, con->data_remaining = 219, con->file = 0
d [05/Dec/2004:18:52:05 +0100] ProcessIPPRequest(0xb79c9c38[4]): operation_id = 000a
d [05/Dec/2004:18:52:05 +0100] get_jobs(0xb79c9c38[4], ipp://workstatione:631/printers/CX5200)
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 18
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 12
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 13
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 14
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 15
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 16
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 17
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 19
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 20
d [05/Dec/2004:18:52:05 +0100] get_jobs: job->id = 21
D [05/Dec/2004:18:52:05 +0100] ProcessIPPRequest: 4 status_code=1
d [05/Dec/2004:18:52:05 +0100] ProcessIPPRequest: Adding fd 4 to OutputSet...
d [05/Dec/2004:18:52:05 +0100] WriteClient: Removing fd 4 from OutputSet...
d [05/Dec/2004:18:52:05 +0100] ReadClient() 4, used=0
D [05/Dec/2004:18:52:05 +0100] CloseClient() 4
d [05/Dec/2004:18:52:05 +0100] CloseClient: Removing fd 4 from InputSet and OutputSet...

(bastano un 100inaio di righe?)
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Sun Dec 05, 2004 6:00 pm    Post subject: Reply with quote

prova a usare webmin
Code:
*  app-admin/webmin
      Latest version available: 1.170-r1
      Latest version installed: 1.170-r1
      Size of downloaded files: 8,810 kB
      Homepage:    http://www.webmin.com/
      Description: Webmin, a web-based system administration interface
      License:     BSD
Per configurare cups
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Dec 05, 2004 6:30 pm    Post subject: Reply with quote

Anche con lpr non stampa niente...
Idem se faccio (per dire) echo "pippo" > /dev/usb/lp0 ...
Bo..?
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Sun Dec 05, 2004 6:52 pm    Post subject: Reply with quote

domande ingenue,
ma ti sei aggiunto al gruppo lp?
hai provato a stampare da root?
il percorso che porta alla stampante esiste?
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Dec 05, 2004 7:21 pm    Post subject: Reply with quote

Code:
#whoami
root
#ls /dev/usb/
lp0

E' tutto abbastanza apposto...
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
unz
l33t
l33t


Joined: 28 Jul 2004
Posts: 819
Location: Roma, Italia

PostPosted: Sun Dec 05, 2004 10:46 pm    Post subject: Reply with quote

Una volta entrato in
localhost:631-->manage printers -->tuastampante-->modify printer
nel percorso del driver hai qualcosa del genere ...
/usr/share/cups/model/tuastampante.ppd ?
anche io avevo problemozzi per stampare, ma inserendo questo percorso ho risolto
_________________
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Dec 05, 2004 11:33 pm    Post subject: Reply with quote

E' stata la prima volta che ho configurato CUPS...
Ho aggiunto il percorso del PPD (nel mio caso /etc/foomatic/cups/CX5200.ppd), e con mio grande stupore la stampante ha iniziato a stampare...
Grazie..
VI AMO!!!!
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum