Brother printer shows "not connected"

I cannot print using my Brother HL 2240. It shows “not connected.”

Here is the troubleshooting log.

Page 1 (Scheduler not running?):
{‘cups_connection_failure’: False}
Page 2 (Is local server publishing?):
{‘local_server_exporting_printers’: False}
Page 3 (Choose printer):
{‘cups_dest’: <cups.Dest Brother-HL-2240-series>,
‘cups_instance’: None,
‘cups_queue’: ‘Brother-HL-2240-series’,
‘cups_queue_listed’: True}
Page 4 (Check printer sanity):
{‘cups_device_uri_scheme’: u’usb’,
‘cups_printer_dict’: {‘device-uri’: u’usb://Brother/HL-2240%20series’,
‘printer-info’: u’Brother HL-2240 series’,
‘printer-is-shared’: True,
‘printer-location’: u’linux.site’,
‘printer-make-and-model’: u’Brother HL-2460 BR-Script3’,
‘printer-state’: 4,
‘printer-state-message’: u’’,
‘printer-state-reasons’: ,
‘printer-type’: 8425540,
‘printer-uri-supported’: u’ipp://localhost:631/printers/Brother-HL-2240-series’},

(continued)
ocument-format-default’: u’application/octet-stream’,
‘document-format-supported’: ,
‘finishings-default’: 3,
‘finishings-supported’: [3],
‘generated-natural-language-supported’: ,
‘ipp-versions-supported’: ,
‘ippget-event-life’: 15,
‘job-creation-attributes-supported’: ,
‘job-hold-until-default’: u’no-hold’,
‘job-hold-until-supported’: ,
‘job-k-limit’: 0,
‘job-page-limit’: 0,
‘job-priority-default’: 50,
‘job-priority-supported’: [100],
‘job-quota-period’: 0,
‘job-settable-attributes-supported’: ,
‘job-sheets-default’: (u’none’, u’none’),
‘job-sheets-supported’: ,
‘marker-change-time’: 0,
‘media-bottom-margin-supported’: [427,
431,
419,
444,
440],
‘media-col-supported’: ,
‘media-default’: u’na_letter_8.5x11in’,
‘media-left-margin-supported’: [423],
‘media-right-margin-supported’: [427,
423,
420,
444,
406,
431,
364,
433,
419,
461],
‘media-source-supported’: ,
‘media-supported’: ,
‘media-top-margin-supported’: [423,
426,
424,
355,
458,
495],
‘multiple-document-handling-supported’: ,
‘multiple-document-jobs-supported’: True,
‘multiple-operation-time-out’: 300,
‘natural-language-configured’: u’en’,
‘notify-attributes-supported’: ,

‘notify-events-default’: ,
‘notify-events-supported’: ,
‘notify-lease-duration-default’: 86400,
‘notify-lease-duration-supported’: (0,
2147483647),
‘notify-max-events-supported’: [100],
‘notify-pull-method-supported’: ,
‘notify-schemes-supported’: ,
‘number-up-default’: 1,
‘number-up-supported’: [1, 2, 4, 6, 9, 16],
‘operations-supported’: [2,
4,
5,
6,
8,
9,
10,
11,
12,
13,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
34,
35,
37,
38,
16385,
16386,
16387,
16388,
16389,
16390,
16391,
16392,
16393,
16394,
16395,
16396,
16397,
16398,
16399,
16423],
‘orientation-requested-default’: None,
‘orientation-requested-supported’: [3,
4,
5,
6],
‘output-bin-default’: u’standard’,
‘output-bin-supported’: ,
‘output-mode-default’: u’monochrome’,
‘output-mode-supported’: ,
‘page-ranges-supported’: True,
‘pages-per-minute’: 24,
‘pdl-override-supported’: ,
‘port-monitor’: u’none’,
‘port-monitor-supported’: ,
‘print-quality-default’: 4,
‘print-quality-supported’: [4],
‘printer-commands’: ,
‘printer-current-time’: ‘(IPP_TAG_DATE)’,
‘printer-error-policy’: u’stop-printer’,
‘printer-error-policy-supported’: ,
‘printer-icons’: u’http://localhost:631/icons/Brother-HL-2240-series.png’,
‘printer-info’: u’Brother HL-2240 series’,
‘printer-is-accepting-jobs’: True,
‘printer-is-shared’: True,
‘printer-location’: u’linux.site’,
‘printer-make-and-model’: u’Brother HL-2460 BR-Script3’,
‘printer-more-info’: u’http://localhost:631/printers/Brother-HL-2240-series’,
‘printer-name’: u’Brother-HL-2240-series’,
‘printer-op-policy’: u’default’,
‘printer-op-policy-supported’: ,
‘printer-resolution-default’: ‘(unknown IPP tag)’,
‘printer-resolution-supported’: ‘(unknown IPP tag)’,
‘(unknown IPP tag)’,
‘(unknown IPP tag)’],
‘printer-settable-attributes-supported’: ,
‘printer-state’: 4,
‘printer-state-change-time’: 1306369260,
‘printer-state-message’: u’’,
‘printer-state-reasons’: ,
‘printer-type’: 8425540,
‘printer-up-time’: 1306369358,
‘printer-uri-supported’: ,
‘queued-job-count’: 1,
‘server-is-sharing-printers’: False,
‘sides-default’: u’one-sided’,
‘sides-supported’: ,
‘uri-authentication-supported’: ,
‘uri-security-supported’: }}
Page 5 (Check PPD sanity):
{‘cups_printer_ppd_defaults’: {u’General’: {u’APT’: u’Off’,
u’BRCollate’: u’False’,
u’BRJobHold’: u’None’,
u’BRJobHoldKey’: u’HoldKey0’,
u’BRJobName’: u’JobNameSystem’,
u’BRLanguageLevel’: u’L3’,
u’BRMediaType’: u’Plain’,
u’BRUser’: u’UserSystem’,
u’Duplex’: u’None’,
u’InputSlot’: u’AutoSelect’,
u’ManualFeed’: u’False’,
u’OutputBin’: u’Standard’,
u’PageRegion’: u’Letter’,
u’PageSize’: u’Letter’,
u’Resolution’: u’600dpi’,
u’Smoothing’: u’PrinterDefault’},
u’InstallableOptions’: {u’Option100’: u’False’,
u’Option11’: u’None’,
u’Option12’: u’True’,
u’OptionDuplex’: u’False’,
u’OptionTrays’: u’1Trays’},
u’JCL’: {u’JCLSleep’: u’PrinterDefault’,
u’JCLTonerSaveMode’: u’Off’}},
‘cups_printer_ppd_valid’: True,
‘missing_pkgs_and_exes’: (], ])}
Page 6 (Local or remote?):
{‘printer_is_remote’: False}
Page 7 (Error log checkpoint):
{‘cups_server_settings’: {‘BrowseLocalProtocols’: ‘CUPS’,
‘DefaultAuthType’: ‘Basic’,
‘DefaultPolicy’: ‘default’,
‘SystemGroup’: ‘sys root’,
‘_debug_logging’: ‘0’,
‘_remote_admin’: ‘0’,
‘_remote_any’: ‘0’,
‘_remote_printers’: ‘1’,

There is even more, but I do not have room to post everything.

(continued) remote_any’: ‘0’,
‘_remote_printers’: ‘1’,
‘_share_printers’: ‘0’,
‘_user_cancel_any’: ‘0’},
‘error_log_checkpoint’: 3717L,
‘error_log_debug_logging_set’: True}
Page 8 (Print test page):
{‘test_page_attempted’: ‘25/May/2011:20:23:11 +0000’,
‘test_page_job_id’: [2],
‘test_page_job_status’: (True,
1,
‘Brother-HL-2240-series’,
‘Test Page’,
‘Processing’,
{‘attributes-charset’: u’utf-8’,
‘attributes-natural-language’: u’en-us’,
‘document-count’: 1,
‘document-format’: u’application/vnd.cups-banner’,
‘job-hold-until’: u’no-hold’,
‘job-id’: 1,
‘job-k-octets’: 1,
‘job-media-progress’: 0,
‘job-media-sheets-completed’: 1,
‘job-more-info’: u’ipp://localhost:631/jobs/1’,
‘job-name’: u’Test Page’,
‘job-originating-host-name’: u’localhost’,
‘job-originating-user-name’: u’laura’,
‘job-printer-state-message’: u’’,
‘job-printer-state-reasons’: ,
‘job-printer-up-time’: 1306369400,
‘job-printer-uri’: u’ipp://linux-tkem/printers/Brother-HL-2240-series’,
‘job-priority’: 50,
‘job-sheets’: ,
‘job-state’: 5,
‘job-state-reasons’: u’job-printing’,
‘job-uri’: u’ipp://localhost:631/jobs/1’,
‘job-uuid’: u’urn:uuid:91c4e683-5bc6-3bd9-7248-58f1345e3bcc’,
‘printer-uri’: u’ipp://localhost/printers/Brother-HL-2240-series’,
‘time-at-completed’: None,
‘time-at-creation’: 1306369260,
‘time-at-processing’: 1306369260}),
(True,
2,
‘Brother-HL-2240-series’,
‘Test Page’,
‘Pending’,
{‘attributes-charset’: u’utf-8’,
‘attributes-natural-language’: u’en-us’,
‘document-count’: 1,
‘document-format’: u’application/vnd.cups-banner’,
‘job-hold-until’: u’no-hold’,
‘job-id’: 2,
‘job-k-octets’: 1,
‘job-media-progress’: 0,
‘job-media-sheets-completed’: 0,
‘job-more-info’: u’ipp://localhost:631/jobs/2’,
‘job-name’: u’Test Page’,
‘job-originating-host-name’: u’localhost’,
‘job-originating-user-name’: u’laura’,
‘job-printer-up-time’: 1306369400,
‘job-printer-uri’: u’ipp://linux-tkem/printers/Brother-HL-2240-series’,
‘job-priority’: 50,
‘job-sheets’: ,
‘job-state’: 3,
‘job-state-reasons’: u’none’,
‘job-uri’: u’ipp://localhost:631/jobs/2’,
‘job-uuid’: u’urn:uuid:cbc4bf3c-8ec2-3106-7472-03d6f7dec597’,
‘printer-uri’: u’ipp://localhost/printers/Brother-HL-2240-series’,
‘time-at-completed’: None,
‘time-at-creation’: 1306369391,
‘time-at-processing’: None})],
‘test_page_successful’: False}
Page 9 (Error log fetch):
{‘error_log’: ‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Printing jobs and dirty files’,
‘D [25/May/2011:20:23:05 -0400] cupsdReadClient: 10 POST / HTTP/1.1’,
‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Active clients, printing jobs, and dirty files’,
‘D [25/May/2011:20:23:05 -0400] cupsdAuthorize: No authentication data provided.’,
‘D [25/May/2011:20:23:05 -0400] cupsdReadClient: 10 1.1 Get-Jobs 1’,
‘D [25/May/2011:20:23:05 -0400] Get-Jobs ipp://localhost/printers/’,
‘D [25/May/2011:20:23:05 -0400] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost’,
‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Printing jobs and dirty files’,
‘D [25/May/2011:20:23:05 -0400] cupsdReadClient: 10 POST / HTTP/1.1’,
‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Active clients, printing jobs, and dirty files’,
‘D [25/May/2011:20:23:05 -0400] cupsdAuthorize: No authentication data provided.’,
‘D [25/May/2011:20:23:05 -0400] cupsdReadClient: 10 1.1 Get-Jobs 1’,
‘D [25/May/2011:20:23:05 -0400] Get-Jobs ipp://localhost/printers/’,
‘D [25/May/2011:20:23:05 -0400] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost’,
‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Printing jobs and dirty files’,
‘D [25/May/2011:20:23:05 -0400] cupsdReadClient: 10 POST / HTTP/1.1’,
‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Active clients, printing jobs, and dirty files’,
‘D [25/May/2011:20:23:05 -0400] cupsdAuthorize: No authentication data provided.’,
‘D [25/May/2011:20:23:05 -0400] cupsdReadClient: 10 1.1 Create-Printer-Subscription 1’,
‘D [25/May/2011:20:23:05 -0400] Create-Printer-Subscription /’,
‘D [25/May/2011:20:23:05 -0400] cupsdCreateSubscription(con=0xb7747f90(10), uri="/")’,
‘D [25/May/2011:20:23:05 -0400] pullmethod=“ippget”’,
‘D [25/May/2011:20:23:05 -0400] notify-lease-duration=86400’,
‘D [25/May/2011:20:23:05 -0400] notify-time-interval=0’,
‘D [25/May/2011:20:23:05 -0400] cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")’,
‘D [25/May/2011:20:23:05 -0400] Added subscription 6 for server’,
‘D [25/May/2011:20:23:05 -0400] cupsdMarkDirty(-----S)’,
‘D [25/May/2011:20:23:05 -0400] Returning IPP successful-ok for Create-Printer-Subscription (/) from localhost’,
‘D [25/May/2011:20:23:05 -0400] cupsdSetBusyState: Printing jobs and dirty files’,
‘D [25/May/2011:20:23:07 -0400] cupsdReadClient: 10 POST / HTTP/1.1’,
‘D [25/May/2011:20:23:07 -0400] cupsdSetBusyState: Active clients, printing jobs, and dirty files’,
‘D [25/May/2011:20:23:07 -0400] cupsdAuthorize: No authentication data provided.’,
‘D [25/May/2011:20:23:07 -0400] cupsdReadClient: 10 1.1 Get-Notifications 1’,
‘D [25/May/2011:20:23:07 -0400] Get-Notifications /’,
‘D [25/May/2011:20:23:07 -0400] cupsdIsAuthorized: requesting-user-name=“laura”’,
‘D [25/May/2011:20:23:07 -0400] Returning IPP successful-ok for Get-Notifications (/) from localhost’,
‘D [25/May/2011:20:23:07 -0400] cupsdSetBusyState: Printing jobs and dirty files’,
‘D [25/May/2011:20:23:11 -0400] cupsdAcceptClient: 12 from localhost (Domain)’,
‘D [25/May/2011:20:23:11 -0400] cupsdReadClient: 12 POST /printers/Brother-HL-2240-series HTTP/1.1’,
‘D [25/May/2011:20:23:11 -0400] cupsdSetBusyState: Active clients, printing jobs, and dirty files’,
‘D [25/May/2011:20:23:11 -0400] cupsdAuthorize: No authentication data provided.’,
‘D [25/May/2011:20:23:11 -0400] cupsdReadClient: 12 1.1 Print-Job 1’,
‘D [25/May/2011:20:23:11 -0400] Print-Job ipp://localhost/printers/Brother-HL-2240-series’,

With long output like that, (if you’re not sure which entries are relevant), please upload to

SUSE Paste

then just post the link to it here. (Saves screeds of useless output appearing here and makes the thread easier to read).

Did you try configuring via the CUPS web interface (using your browser):

http://localhost:631/admin

You might want to start over. (Delete any existing printer config for the Brother printer). If it is usb-connected, it should be detected via ‘Find New Printers’.

Thanks. Here is my paste.

I will try starting over or configuring in my browser if someone determines the error.

I previously had no problems with that printer running Ubuntu 11.04.

  1. Which file did you upload? Errors are logged in /var/log/cups/error_log
cat /var/log/cups/error_log
  1. What status is reported via

http://localhost:631/printers

  1. If it is ‘Idle’, all is ok, otherwise try resuming it (Click on printer>>Maintenance>>Resume Printer)

  2. Can you test print ok from the CUPS interface?

I will probably try again tomorrow. Right now I cannot even connect to http://localhost:631. The site is too busy.

I will probably try again tomorrow. Right now I cannot even connect to http://localhost:631. The site is too busy.

It is not an external website - its a CUPS http server residing in your system. If its not working, then maybe CUPS is not running. What does the following command return

rccups status

*You’ll need to be root first with ‘su -’ command.

“running” 10 characters.

I think I will try again tomorrow using the CLI to add the printer rather than the GUI. I will post again tomorrow if I have any further issues.

Hi,

Maybe installing the driver from brother can help the situation.

If I were you, I’ll download it here : Brother Solutions Center : Brother Driver for Linux Distributions

Then, you have to install these packages in the following order :

  1. the lpr driver
  2. the cups driver

After that, unplug the usb cable of the printer and plug it again to make openSUSE detect it.

Thank you so much. :slight_smile: You solved my issue. The driver was what I needed.

Nice work DaaX. I’ve connected to several network-connected Brother printers without issue, but always use the drivers from the Brother site. Hopefully, this thread will prompt others looking for a solution to make sure they install the required drivers first.

Brother as HP does have really good linux driver.

IMO, they are the best suited printer for linux system.

Glad it help solve your problem. :slight_smile:

Thanks, again. I was running Ubuntu and had no issues with the Brother printer. I recently switched to openSUSE.

Brother as HP does have really good linux driver.

IMO, they are the best suited printer for linux system.

I agree. :slight_smile:

How did you install the printer? Is it the HL-2240D?
I do have that printer and no problems. You would need the brother drivers and it should work.
One thing i would recommend, is to use the text yast and adjust the settings there. Over the gui version of yast, it may not change the adjustments. Happened to me at least.
Check here

Mine is the HL-2240, not the HL-2240D. I got the drivers from the link that DaaX posted, and the printer works now.