{"id":227,"date":"2008-11-25T12:34:20","date_gmt":"2008-11-25T00:34:20","guid":{"rendered":"http:\/\/p-s.co.nz\/wordpress\/?p=227"},"modified":"2008-11-25T13:09:32","modified_gmt":"2008-11-25T01:09:32","slug":"solving-ubuntu-printer-broken-pipe-problem-docuprint-c525a","status":"publish","type":"post","link":"http:\/\/p-s.co.nz\/wordpress\/solving-ubuntu-printer-broken-pipe-problem-docuprint-c525a\/","title":{"rendered":"Solving Ubuntu printer &#8220;broken pipe&#8221; problem (DocuPrint C525A)"},"content":{"rendered":"<p>Are you having a problem with your printer under the latest versions of Ubuntu (perhaps it worked under an older version)?  Are you able to print short documents, but not longer, or more graphics-intensive, documents? (e.g. the unfortunate people at <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=625493\">http:\/\/ubuntuforums.org\/showthread.php?t=625493<\/a>).  Do they sit there as Processing for ages and then switch to Held?  If you have the same problem I had the solution I tried may work for you too.  Firstly, check your cups error log: <\/p>\n<p><code>sudo gedit \/var\/log\/cups\/error_lo<\/code>g<\/p>\n<p>If you see anything like the following, the solution may be simple:<\/p>\n<p><code>[Job 201] Unable to write print data: Broken pipe<br \/>\nPID 13359 (\/usr\/lib\/cups\/backend\/socket) stopped with status 1!<\/code><\/p>\n<p>System > Administration > Printing and right click on your printer, selecting Properties.  Settings > Device URI<br \/>\nIf you see something like socket:\/\/your_printer_ip_address:9100 just change socket to lpd and remove the :9100 off the end.  Then click on apply.<\/p>\n<p>Apparently lpd is a more modern protocol which works with most printers whereas socket is more raw (and potentially faster but riskier in a network situation). Somewhere along the line, the default Ubuntu\/Gnome setup for networked printers shifted from lpd to socket.  Some primitive printers will have benefited whereas a larger number of more modern printers will have suffered.<\/p>\n<p>Please correct me if I am wrong (which is highly possible) but the underlying problem could be that socket may make the printer wait a long time for a large file to be processed ready for printing.  Some printers, such as the Fuji Xerox DocuPrint C525A, may drop the socket if things take too long to start coming through.<\/p>\n<p>Changing timeout settings might work but lpd is better than socket so it is the preferred solution in any case.<\/p>\n<p>If this works for you, please leave a comment to let others know (ideally with a description of the printer and Ubuntu version).  Printer may be relevant if it doesn&#8217;t support the direct stream protocol properly. NB I may take a while to let your comment through because of the volume of spam.  Sorry about that.<\/p>\n<p>Finally, thanks to sphilli8 for the steer in the right direction at <a href=\"http:\/\/ubuntuforums.org\/showthread.php?p=6245626\">http:\/\/ubuntuforums.org\/showthread.php?p=6245626<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you having a problem with your printer under the latest versions of Ubuntu (perhaps it worked under an older version)? Are you able to print short documents, but not longer, or more graphics-intensive, documents? (e.g. the unfortunate people at &hellip; <a href=\"http:\/\/p-s.co.nz\/wordpress\/solving-ubuntu-printer-broken-pipe-problem-docuprint-c525a\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-227","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/227"}],"collection":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/comments?post=227"}],"version-history":[{"count":7,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/227\/revisions"}],"predecessor-version":[{"id":229,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/227\/revisions\/229"}],"wp:attachment":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/categories?post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/tags?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}