Thursday, January 24, 2013

CUPS Printer not printing after a cups power cycle: Unable to write print data: Broken pipe

Printer errors out upon printing a job. The error results from either an incompatible printing format or some other software related issue. To clear the error and resume printer operation it is necessary to power cycle the printing device.
Once the printer is back online and display a green status light it does not print any job. If the workstation sending the print jobs is rebooted the situation does not change and the printer remains in ready mode. Yet printing from other workstations to the same printer is possible.

On the workstation where print jobs never complete edit the file /etc/cups/printers.conf with a text editor like vi. Run the following command:

sudo vi /etc/cups/printers.conf

When prompted enter the administrative password for the system.
Vi will open the file for viewing and editing. At the top of the file you will note the text highlighted in red below.
You will need to edit the first line and change the string to State Idle.
You will need to delete the second line entirely

Below is what the printers.conf file looks like when the printer is not accepting jobs

# Printer configuration file for CUPS v1.3.9
# Written by cupsd on 2010-06-15 00:28

Info Brother HL-1470N BR-Script2
Location My office
DeviceURI socket://
State Stopped
StateMessage Unable to write print data: Broken pipe
StateTime 1276586906
Accepting Yes
Shared Yes

Below is what the printers.conf file should look like once the editing is complete.

# Printer configuration file for CUPS v1.3.9
# Written by cupsd on 2010-09-03 12:26

Info Brother HL-1470N BR-Script2
Location My office
DeviceURI socket://
State Idle
StateTime 1283541947
Accepting Yes
Shared Yes

Save your changes and exit vi.
You will need to restart CUPS on the workstation to reload the configuration information from printers.conf. Perform the following command to accomplish this:

sudo /etc/init.d/cups restart

Normal printing operations will resume once the CUPS daemon is restarted.


Fahad Naseer said...

Which Car you want..? Here is a best list of Cars and Vehicles, Hot Vehicles, Strange Cars, Super Cars Model, Funny Cars, Car Latest Models, Cars with Girls, Cars like helicopter and Most Speed and Expensive Cars

James Franklin said...

Free Social Media Marketing where Every thing will be Free, Facebook Likes, Twitter Followers, Twitter Tweets, Twitter Re-Tweets, Twitter Favorites, Google Plus Followers, StumbleUpon Followers, Youtube Views, Youtube Likes, Youtube Subsribes, Pinterest Followers, Pinterest Likes, Pinterest PinIt, Free Website Visitors."
Just Join now and Free Increase your Social Media Networks.

Manohar singh Jodhpur said...

the less tools you will be able to initially buy. The more you want to outsource, the more money that you will need to invest. Wedding sarees

Confer India said...

Thanks buddy for giving your precious the time to post this blog!!!Nice

Engineering CAD Drawing

Shahana Shafiuddin said...


Syed Kazim Ali said...

The Best Lol n Troll Network with the Name of Lols Gag... Troll Images, Prank Peoples, Funny Peoples, funny planet, funny facts, funny cartoons, funny movies pics, iphone funny, funny jokes, Prank Images, Fail Pictures, Epic Pictures, Lols and Gags, Lol Pictures, Funny Pictures, Lol is the Laugh out of Laugh where you can Fun Unlimited and Laughing Unlimited.

Kamao Poot said...

Find best Home based Business without any work, just invest and rest with your profit