[SOLVED] cups on current - can't print to cups printer on 14.1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cups on current - can't print to cups printer on 14.1
My 14.1/64 system has cups version 1.5.4, and has a Brother HL-L2320D printer attached. It has been working since I purchased it about a year ago. I can print to it form my net book also running 14.1/64 and cups 1.5.4. Other in the house have no problems printing to it from various Win flavours.
I have recently added another system to test current/64. Everything else I have tested works with out any problems.
Cups on current is at 2.1.3. I have updated to the latest level as of June 11th.
I followed the how-to on the slackware wiki on how to install the Brother drivers, that all went as expected, including the 32 bit libs. I do not have a full multi-lib install.
These are the files I installed:
Code:
ls
cups-compat32-2.1.3-x86_64-2compat32.txz hll2320dcupswrapper-3.2.0-i386-1.txz
glibc-solibs-2.23_multilib-x86_64-1alien.txz hll2320dlpr-3.2.0-1.i386.rpm
hll2320dcupswrapper-3.2.0-1.i386.rpm hll2320dlpr-3.2.0-i386-1.txz
The .rpm files I downloaded from Brother, and converted to .txz files to install.
On 14.1 client systems cups finds the printer definitions without any intervention, and I can print from a client to the server.
On current this never happens. I have tried many different URI's to try and get printing working. Cups on current reports it can no find the printer on my 14.1 server.
This is the most recent device URI I tried without success:
lpstat -t
scheduler is running
system default destination: HL-L2320D-2
device for HL-L2320D-2: ipp://duelie.cliffshome.org:631/printers/Brother_HL-L2320D_series
HL-L2320D-2 accepting requests since Sun 12 Jun 2016 01:35:09 PM EDT
printer HL-L2320D-2 is idle. enabled since Sun 12 Jun 2016 01:35:09 PM EDT
Unable to get printer status.
Here are the last lines of the log file. Not sure what to look for.
Quote:
Waiting for request.
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v2.1.3"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v2.1.3"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_is_accepting_jobs[0]="1"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_is_shared[0]="1"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_state[0]="4"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: admin_uri[0]="/admin/"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_uri_supported[0]="/printers/HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_name[0]="HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_location[0]="on duelie"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_info[0]="HL-L2320D"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_sheets_default[0]="none, none"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: device_uri[0]="ipp://duelie.cliffshome.org:631/printers/Brother_HL-L2320D_series"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: color_supported[0]="0"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_make_and_model[0]="Brother HL-L2320D for CUPS "
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: media_default[0]="na_letter_8.5x11in"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: sides_supported[0]="one-sided, two-sided-long-edge, two-sided-short-edge"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: sides_default[0]="one-sided"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: printer_commands[0]="AutoConfigure, Clean, PrintSelfTestPage"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: server_is_sharing_printers[0]="0"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: refresh_page="10;URL=/printers/HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: TITLE="HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v2.1.3"
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2147483647, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] Script header: Content-Type: text/html;charset=utf-8
D [12/Jun/2016:14:06:48 -0400] [Client 839] Script header:
D [12/Jun/2016:14:06:48 -0400] [Client 839] Sending status 200 for CGI.
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdSendHeader: code=200, type="(null)", auth_type=0
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [CGI] Regular expression ".*Clean.*"
D [12/Jun/2016:14:06:48 -0400] [CGI] matches[0].rm_so=0
D [12/Jun/2016:14:06:48 -0400] [CGI] matches[1].rm_so=-1
D [12/Jun/2016:14:06:48 -0400] [CGI] Regular expression ".*PrintSelfTestPage.*"
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [CGI] matches[0].rm_so=0
D [12/Jun/2016:14:06:48 -0400] [CGI] matches[1].rm_so=-1
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 846] POST / HTTP/1.1
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [12/Jun/2016:14:06:48 -0400] [Client 846] Read: status=200
D [12/Jun/2016:14:06:48 -0400] [Client 846] No authentication data provided.
D [12/Jun/2016:14:06:48 -0400] [Client 846] 2.0 Get-Jobs 3
D [12/Jun/2016:14:06:48 -0400] Get-Jobs ipp://localhost:631/printers/HL-L2320D-2
D [12/Jun/2016:14:06:48 -0400] [Client 846] Returning IPP successful-ok for Get-Jobs (ipp://localhost:631/printers/HL-L2320D-2) from localhost
D [12/Jun/2016:14:06:48 -0400] [Client 846] Content-Length: 415
D [12/Jun/2016:14:06:48 -0400] [Client 846] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [12/Jun/2016:14:06:48 -0400] [Client 846] con->http=0x55cf7c838410
D [12/Jun/2016:14:06:48 -0400] [Client 846] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=415, response=0x55cf7c81e220(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/Jun/2016:14:06:48 -0400] [Client 846] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/Jun/2016:14:06:48 -0400] [Client 846] bytes=0, http_state=0, data_remaining=415
D [12/Jun/2016:14:06:48 -0400] [Client 846] Flushing write buffer.
D [12/Jun/2016:14:06:48 -0400] [Client 846] New state is HTTP_STATE_WAITING
D [12/Jun/2016:14:06:48 -0400] [Client 846] Waiting for request.
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiClearVariables called.
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: ORDER="asc"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: SECTION="printers"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: TOTAL="1"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v2.1.3"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_printer_name[0]="HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_printer_uri[0]="/printers/HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_name[0]="Test Page"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_originating_user_name[0]="anonymous"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: time_at_completed[0]="novalue"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: time_at_creation[0]="Sun 12 Jun 2016 02:06:36 PM EDT"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: time_at_processing[0]="Sun 12 Jun 2016 02:06:36 PM EDT"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_id[0]="36"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_state[0]="5"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_media_sheets_completed[0]="0"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_k_octets[0]="1"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetArray: job_printer_state_message[0]="Unable to get printer status."
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: PRINTER_NAME="HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: PRINTER_URI_SUPPORTED="/printers/HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: THISURL="/printers/HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [CGI] cgiSetVariable: SEARCH_DEST="HL-L2320D-2"
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 846] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/Jun/2016:14:06:48 -0400] [Client 846] Closing connection.
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [12/Jun/2016:14:06:48 -0400] [Client 839] CGI data ready to be sent.
D [12/Jun/2016:14:06:48 -0400] [Client 839] con->http=0x55cf7c870180
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=4628, file=15
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for CGI data.
D [12/Jun/2016:14:06:48 -0400] [Client 839] Sending 0-length chunk.
D [12/Jun/2016:14:06:48 -0400] [Client 839] Flushing write buffer.
D [12/Jun/2016:14:06:48 -0400] [Client 839] New state is HTTP_STATE_WAITING
D [12/Jun/2016:14:06:48 -0400] [Client 839] Waiting for request.
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [12/Jun/2016:14:06:48 -0400] PID 4628 (/usr/lib64/cups/cgi-bin/printers.cgi) exited with no errors.
D [12/Jun/2016:14:06:48 -0400] [Client 839] GET /cups.css HTTP/1.1
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [12/Jun/2016:14:06:48 -0400] [Client 839] Read: status=200
D [12/Jun/2016:14:06:48 -0400] [Client 839] No authentication data provided.
D [12/Jun/2016:14:06:48 -0400] [Client 839] Processing GET /cups.css
D [12/Jun/2016:14:06:48 -0400] [Client 839] filename="/usr/share/doc/cups/cups.css", type=text/css
D [12/Jun/2016:14:06:48 -0400] [Client 839] cupsdSendHeader: code=304, type="(null)", auth_type=0
D [12/Jun/2016:14:06:48 -0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
I [12/Jun/2016:14:06:49 -0400] Expiring subscriptions...
D [12/Jun/2016:14:06:50 -0400] [Job 36] Getting supported attributes...
I [12/Jun/2016:14:06:50 -0400] Expiring subscriptions...
D [12/Jun/2016:14:06:50 -0400] [Job 36] Get-Printer-Attributes: client-error-bad-request (Bad Request)
D [12/Jun/2016:14:06:50 -0400] [Job 36] Get-Printer-Attributes returned client-error-bad-request.
E [12/Jun/2016:14:06:50 -0400] [Job 36] Unable to get printer status.
I [12/Jun/2016:14:06:51 -0400] Expiring subscriptions...
bash-4.3#
For a CUPS 1.6+ clients communicating with a legacy CUPS (1.5.4 or older) server, cups-browsed is required for CUPS browsing/sharing, as this protocol has been dropped in cupsd in recent releases.
For a CUPS 1.6+ clients communicating with a legacy CUPS (1.5.4 or older) server, cups-browsed is required for CUPS browsing/sharing, as this protocol has been dropped in cupsd in recent releases.
I have not configured a firewall on either the current system or the 14.1 system. I do have a hosts.deny All:All on the 14.1 system. I have added the IP address of the current system to the various services.
Here is what I see today in the access log on the server, duelie:
Note the Note on remote printers and cups >= 1.6 clients with cups <= 1.5 servers.
The good news: When I set up /etc/cups/client.conf the way they suggested, I could print via ipp or lpd to a remote USB Printer hosted on a CentOS 6.8 box ( cups v1.4.2 )
Up to now only smb:// protocol worked with that server.
The bad news: Other printers on the LAN disappeared
I obviously need to study the cups.client man pages
Good catch re the ArchWiki page and IPP version...
Quote:
Note: As of CUPS version 1.6, the client defaults to IPP 2.0. If the server uses CUPS <= 1.5 / IPP <= 1.1, the client does not downgrade the protocol automatically and thus cannot communicate with the server. A workaround (undocumented as of 2013-05-07, but see this bug report) is to put the following in /etc/cups/client.conf: ServerName HOSTNAME-OR-IP-ADDRESS[:PORT]/version=1.1
Also
Code:
man cups-browsed
The key configuration file is /etc/cups/cups-browsed.conf, so this man page too...
I have had some success. I configured current to print through samba, that works. For anyone seeing this in the future, the URI looks like this:
Quote:
smb://duelie/Brother_HL-L2320D_series
Some explanation, 'duelie' is the host name of my samba server and print server. The queue name is 'Brother_HL-L2320D_series'. This is the name I gave it, you can make your own names. You can also set your own host name.
I have not got this working yet with ipp. I have created a /etc/cups/client.conf file with the following line:
Quote:
ServerName 192.168.1.26:631/version=1.1
I am struggling to understand how to set up /etc/cups/cups-browsed.conf.
I'm not familiar with Slackware, but 'cups-browsed' needs to be installed and running on the client (when communicating with old CUPS servers), and with a minimal /etc/cups/cups-browsed.conf containing at least
Code:
BrowseRemoteProtocols CUPS
Then the client should be able receive the CUPS broadcasts...
Quote:
DESCRIPTION
cups-browsed has three independently switchable functions:
1. Browse Bonjour broadcasts of remote printers and create/remove local raw queues
pointing to these printers.
2. Browse CUPS broadcasts of remote printers and create/remove local raw queues
pointing to these printers.
3. Broadcast local queues with the CUPS protocol.
Note that 2. and 3. are only to allow communication with legacy CUPS servers (1.5.x or
older) on the remote machine(s). The standard method to broadcast for shared/network
printers to broadcast their presence is Bonjour. The CUPS broadcasting/browsing proto-
col is deprecated.
Well, this is a more than a little puzzling. I have finally got printing working from current to 14.1/64 bit.
I made the change ferrari suggested; changing /etc/cups/cups-browsed.conf to include the line BrowseRemoteProtocols CUPS. If I havn't mentioned it, you have to make /etc/rc.d/rc.cups-browsed executable also.
I had to change the printer I defined on current as RAW, not using the locally installed drivers from Brother. The correct driver is install on my 14.1 system. With this setup, I have printed test page, and printed from an application.
Other things I found confusing, the examples in cups for the URI's could be a lot better.
Of course, that is up to the CUPS developers to change; if they see fit.
I will be updating the 14.1/64 system to 14.2, when its ready. We will see what adventures that creates with printing. I'm marking this thread solved.
I've got a looming Programming Deadline but I'll return to this ASAP.
The raw queue on the server-side is good info and it makes sense since you're using the Brother Driver on the Client-Side ( all the server needs to do is pass-thru a pre-formatted job ).
It will be interesting to see if cups-browsed will 'play nice' with hplip which I seem to need to print to my Wife's Hp HP_Officejet_Pro_X476dn_MFP.
It didn't work yesterday but then I was also fooling with /etc/cups/client.conf ( a non-empty client.conf + /etc/rc.d/cups restart is what seemed to break hplip ).
Anyhow, I'll add any new info if I learn any more juicy tidbits.
I have my CUPS server configured with the drivers etc, and CUPS clients detect the remote CUPS printers and set up a local raw queue automatically without any configuration required. They're just available to print to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.