
I am trying to configure a server printer with cups (over lubuntu)... that is done. I install a printer on the usb and make a test from the admin web page and works. The next step is to install on other pc (ubuntu), change the printer (the usb cable) from lubuntu to the new one, (this is only to make a test) and the test works fine, too. Now with the printer connected to lubuntu again, I install this printer as a remote printer on ubuntu. Cups doesn´t detect the printer automatically, but I write the address using http protocol (though I tried too with ipp, ipps and https). When I try then to make a printing test from the ubuntu using this recently installed printer, I see how the work is sent to the remote printer, but it remains there, and never finish. Now, if I see the tail of works on the lubuntu I see that the work has a "filter failed" (but the ppd are good installed). One thing I saw was that the weight of the work on the client is 1K and the weight on the server for this same work is 5K.
Here are the logs (the last log lines) of the server:
D [14/Jun/2016:18:15:38 +0200] [Client 969] POST /printers/EPSON-TM-T20II HTTP/1.1
D [14/Jun/2016:18:15:38 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=200
D [14/Jun/2016:18:15:38 +0200] [Client 969] No authentication data provided.
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] Read: status=100
D [14/Jun/2016:18:15:38 +0200] [Client 969] 2.0 Get-Job-Attributes 200
D [14/Jun/2016:18:15:38 +0200] Get-Job-Attributes ipps://192.168.1.90:631/printers/EPSON-TM-T20II
D [14/Jun/2016:18:15:38 +0200] [Client 969] Retuing IPP successful-ok for Get-Job-Attributes (ipps://192.168.1.90:631/printers/EPSON-TM-T20II) from 192.168.1.106
D [14/Jun/2016:18:15:38 +0200] [Client 969] Content-Length: 252
D [14/Jun/2016:18:15:38 +0200] [Client 969] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [14/Jun/2016:18:15:38 +0200] [Client 969] con->http=0x55f0084390f0
D [14/Jun/2016:18:15:38 +0200] [Client 969] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=252, response=0x55f008434900(IPP_STATE_DATA), pipe_pid=0, file=-1
D [14/Jun/2016:18:15:38 +0200] [Client 969] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [14/Jun/2016:18:15:38 +0200] [Client 969] bytes=0, http_state=0, data_remaining=252
D [14/Jun/2016:18:15:38 +0200] [Client 969] Flushing write buffer.
D [14/Jun/2016:18:15:38 +0200] [Client 969] New state is HTTP_STATE_WAITING
D [14/Jun/2016:18:15:38 +0200] [Client 969] Waiting for request.
D [14/Jun/2016:18:15:38 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [14/Jun/2016:18:15:38 +0200] [Client 970] Accepted from 192.168.1.106:55041 (IPv4)
D [14/Jun/2016:18:15:38 +0200] [Client 970] Waiting for request.
And here is the configuration for the server:
LogLevel debug
MaxLogSize 1m
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseLocalProtocols dnssd
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocls CUPS
BrowseAddress @LOCAL
DefaultAuthType Basic
WebInterface Yes
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin>
# Allow remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow all
</Location>
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Re$
# Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Resta$
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
# Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Re$
AuthType Default
# Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
# Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Resta$
AuthType Default
# Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
# Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
BrowseWebIF Yes
I hope it can help and finally find the solution.
Thank you.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 175
تاريخ: پنجشنبه
27 خرداد
1395 ساعت: 6:19