Page 1 of 1

[ SOLVED ]Brother MFC J5330DW

PostPosted: Jul 21st, '18, 13:57
by floppy
I recently bought a Brother MFC J5330DW and I installed it on out home network as a network printer
we have a win 7 and a win 10 computer both of which can see and print to the printer
however my Magiea 6 computer cannot

I downloaded the official Brother install program
I ran it as root in terminal as instructed
all the drivers and Magiea utilities appeared to download and install correctly
and the Printer shows up in the Mageia Control Centre Printer section
the printer now appears in the various program print options
( Libre Office for example )
but clicking on print does nothing


any help much appreciated
floppy

Re: Brother MFC J5330DW

PostPosted: Jul 22nd, '18, 13:56
by doktor5000
If you go to cups web frontend http://127.0.0.1:631 > printers > modify printer, which device URI is the printer using currently?
Please also show the output as root of
Code: Select all
systemctl status cups -al -n150

Re: Brother MFC J5330DW

PostPosted: Jul 23rd, '18, 09:38
by floppy
the first batch of the output is
Code: Select all
● cups.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2018-07-23 06:27:20 AWST; 9h ago
     Docs: man:cupsd(8)
 Main PID: 1811 (cupsd)
   Status: "Scheduler is running..."
   CGroup: /system.slice/cups.service
           ├─ 1811 /usr/sbin/cupsd -l
           └─22121 /usr/lib/cups/notifier/dbus dbus://

Jul 23 06:27:17 localhost systemd[1]: Starting CUPS Scheduler...
Jul 23 06:27:20 localhost cupsd[1811]: Loading from cache...
Jul 23 06:27:20 localhost cupsd[1811]: Loading from cache...
Jul 23 06:27:20 localhost cupsd[1811]: Loading from cache...
Jul 23 06:27:20 localhost cupsd[1811]: Loading from cache...
Jul 23 06:27:20 localhost systemd[1]: Started CUPS Scheduler.
Jul 23 06:27:22 localhost cupsd[1811]: REQUEST localhost - - "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
Jul 23 06:27:22 localhost cupsd[1811]: REQUEST localhost - - "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
Jul 23 15:26:41 localhost cupsd[1811]: PID 21953 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Jul 23 15:27:07 localhost cupsd[1811]: PID 21993 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
Jul 23 15:27:45 localhost cupsd[1811]: PID 22025 (/usr/lib/cups/cgi-bin/classes.cgi) exited with no errors.
Jul 23 15:27:46 localhost cupsd[1811]: PID 22027 (/usr/lib/cups/cgi-bin/help.cgi) exited with no errors.
Jul 23 15:27:48 localhost cupsd[1811]: PID 22029 (/usr/lib/cups/cgi-bin/jobs.cgi) exited with no errors.
Jul 23 15:27:51 localhost cupsd[1811]: PID 22032 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Jul 23 15:27:59 localhost cupsd[1811]: PID 22040 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Jul 23 15:28:48 localhost cupsd[1811]: PID 22078 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
Jul 23 15:28:53 localhost cupsd[1811]: REQUEST localhost - - "POST /admin/ HTTP/1.1" 200 66 - -
Jul 23 15:28:53 localhost cupsd[1811]: REQUEST localhost - - "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
Jul 23 15:28:53 localhost cupsd[1811]: REQUEST localhost - - "POST /admin/ HTTP/1.1" 200 1884 - -
Jul 23 15:28:53 localhost cupsd[1811]: PID 22082 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
Jul 23 15:29:08 localhost cupsd[1811]: PID 22094 (/usr/lib/cups/cgi-bin/classes.cgi) exited with no errors.
Jul 23 15:29:11 localhost cupsd[1811]: PID 22096 (/usr/lib/cups/cgi-bin/help.cgi) exited with no errors.
Jul 23 15:29:15 localhost cupsd[1811]: PID 22100 (/usr/lib/cups/cgi-bin/jobs.cgi) exited with no errors.
Jul 23 15:29:17 localhost cupsd[1811]: PID 22106 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Jul 23 15:29:24 localhost cupsd[1811]: PID 22114 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Jul 23 15:29:29 localhost cupsd[1811]: Applying default options...
Jul 23 15:29:29 localhost cupsd[1811]: Adding start banner page "none".
Jul 23 15:29:29 localhost cupsd[1811]: Adding end banner page "none".
Jul 23 15:29:29 localhost cupsd[1811]: File of type application/vnd.cups-pdf-banner queued by "anonymous".
Jul 23 15:29:29 localhost cupsd[1811]: hold_until=0
Jul 23 15:29:29 localhost cupsd[1811]: Queued on "MFCJ5330DW" by "anonymous".
Jul 23 15:29:29 localhost cupsd[1811]: time-at-processing=1532330969
Jul 23 15:29:29 localhost cupsd[1811]: Sending job to queue tagged as raw...
Jul 23 15:29:29 localhost cupsd[1811]: job-sheets=none,none
Jul 23 15:29:29 localhost cupsd[1811]: argv[0]="MFCJ5330DW"
Jul 23 15:29:29 localhost cupsd[1811]: argv[1]="5"
Jul 23 15:29:29 localhost cupsd[1811]: argv[2]="anonymous"

Re: Brother MFC J5330DW

PostPosted: Jul 23rd, '18, 09:52
by floppy
went to http://127.0.0.1:631/ cannot find modifyprinter
so digging around to find device uri

Re: Brother MFC J5330DW

PostPosted: Jul 23rd, '18, 09:55
by floppy
went to MCC, add printer
clicked on properties and found - device uri
socket://192.168.0.16
is that it ?

Re: Brother MFC J5330DW

PostPosted: Jul 23rd, '18, 10:02
by floppy
screenshot
Screenshot_20180723_155900.png
Screenshot_20180723_155900.png (125.42 KiB) Viewed 5464 times

Re: Brother MFC J5330DW

PostPosted: Jul 23rd, '18, 13:31
by doktor5000
floppy wrote:went to http://127.0.0.1:631/ cannot find modifyprinter

You need to go to administration => printer => modify printer and see which device URI's it offers.

This is also described in the Brother printer driver install documentation, see step 5:
http://support.brother.com/g/s/id/linux ... prn1a.html

Re: Brother MFC J5330DW

PostPosted: Jul 23rd, '18, 13:54
by floppy
the nearest thing I can find is
Connection: socket://192.168.0.16

I simply cannot find any thing that says Device URI
except in the printer section of the control centre
where it is the same as above
sorry

Re: Brother MFC J5330DW

PostPosted: Aug 3rd, '18, 01:45
by floppy
I ran cups debugger, this is the output
Code: Select all
Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7fa4a53beba8>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7fa4a53be6d8>):
{'cups_dest': <cups.Dest MFCJ5330DW (default)>,
 'cups_instance': None,
 'cups_queue': 'MFCJ5330DW',
 'cups_queue_listed': True}
Page 3 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7fa4a4d4cda0>):
{'cups_device_uri_scheme': 'socket',
 'cups_printer_dict': {'device-uri': 'socket://192.168.0.16',
                       'printer-info': 'MFCJ5330DW',
                       'printer-is-shared': True,
                       'printer-location': 'local network',
                       'printer-make-and-model': 'Local Raw Printer',
                       'printer-state': 3,
                       'printer-state-message': '',
                       'printer-state-reasons': ['none'],
                       'printer-type': 131076,
                       'printer-uri-supported': 'ipp://localhost/printers/MFCJ5330DW'},
 'cups_printer_remote': False,
 'is_cups_class': False,
 'local_cups_queue_attributes': {'charset-configured': 'utf-8',
                                 'charset-supported': ['us-ascii', 'utf-8'],
                                 'compression-supported': ['none', 'gzip'],
                                 'copies-default': 1,
                                 'copies-supported': (1, 9999),
                                 'cups-version': '2.2.6',
                                 'device-uri': 'socket://192.168.0.16',
                                 'document-format-default': 'application/octet-stream',
                                 'document-format-supported': ['application/msword',
                                                               'application/octet-stream',
                                                               'application/pdf',
                                                               'application/postscript',
                                                               'application/rss+xml',
                                                               'application/vnd.adobe-reader-postscript',
                                                               'application/vnd.cups-banner',
                                                               'application/vnd.cups-command',
                                                               'application/vnd.cups-pdf',
                                                               'application/vnd.cups-pdf-banner',
                                                               'application/vnd.cups-postscript',
                                                               'application/vnd.cups-ppd',
                                                               'application/vnd.cups-raster',
                                                               'application/vnd.cups-raw',
                                                               'application/x-cshell',
                                                               'application/x-csource',
                                                               'application/x-perl',
                                                               'application/x-shell',
                                                               'image/gif',
                                                               'image/jpeg',
                                                               'image/png',
                                                               'image/pwg-raster',
                                                               'image/tiff',
                                                               'image/urf',
                                                               'image/vnd.cups-brf',
                                                               'image/vnd.cups-ubrl',
                                                               'image/x-alias',
                                                               'image/x-bitmap',
                                                               'image/x-icon',
                                                               'image/x-photocd',
                                                               'image/x-portable-anymap',
                                                               'image/x-portable-bitmap',
                                                               'image/x-portable-graymap',
                                                               'image/x-portable-pixmap',
                                                               'image/x-sgi-rgb',
                                                               'image/x-sun-raster',
                                                               'image/x-xbitmap',
                                                               'image/x-xpixmap',
                                                               'image/x-xwindowdump',
                                                               'text/css',
                                                               'text/html',
                                                               'text/plain',
                                                               'text/vnd.cups-brf',
                                                               'text/vnd.cups-ubrl'],
                                 'finishings-default': 3,
                                 'finishings-supported': [3],
                                 'generated-natural-language-supported': ['en-au'],
                                 'ipp-features-supported': ['subscription-object'],
                                 'ipp-versions-supported': ['1.0',
                                                            '1.1',
                                                            '2.0',
                                                            '2.1'],
                                 'ippget-event-life': 15,
                                 'job-cancel-after-default': 10800,
                                 'job-cancel-after-supported': (0, 2147483647),
                                 'job-creation-attributes-supported': ['copies',
                                                                       'finishings',
                                                                       'ipp-attribute-fidelity',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'job-sheets',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'output-bin',
                                                                       'orientation-requested',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       'printer-resolution',
                                                                       'sides'],
                                 'job-hold-until-default': 'no-hold',
                                 'job-hold-until-supported': ['no-hold',
                                                              'indefinite',
                                                              'day-time',
                                                              'evening',
                                                              'night',
                                                              'second-shift',
                                                              'third-shift',
                                                              'weekend'],
                                 'job-ids-supported': True,
                                 'job-k-limit': 0,
                                 'job-k-octets-supported': (0, 443052216),
                                 'job-page-limit': 0,
                                 'job-priority-default': 50,
                                 'job-priority-supported': [100],
                                 'job-quota-period': 0,
                                 'job-settable-attributes-supported': ['copies',
                                                                       'finishings',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'output-bin',
                                                                       'orientation-requested',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       'printer-resolution',
                                                                       'sides'],
                                 'job-sheets-default': ('none', 'none'),
                                 'job-sheets-supported': ['none',
                                                          'classified',
                                                          'confidential',
                                                          'form',
                                                          'secret',
                                                          'standard',
                                                          'topsecret',
                                                          'unclassified'],
                                 'jpeg-k-octets-supported': (0, 443052216),
                                 'jpeg-x-dimension-supported': (0, 65535),
                                 'jpeg-y-dimension-supported': (1, 65535),
                                 'marker-change-time': 0,
                                 'media-col-supported': ['media-bottom-margin',
                                                         'media-left-margin',
                                                         'media-right-margin',
                                                         'media-size',
                                                         'media-source',
                                                         'media-top-margin',
                                                         'media-type'],
                                 'multiple-document-handling-supported': ['separate-documents-uncollated-copies',
                                                                          'separate-documents-collated-copies'],
                                 'multiple-document-jobs-supported': True,
                                 'multiple-operation-time-out': 300,
                                 'multiple-operation-time-out-action': 'process-job',
                                 'natural-language-configured': 'en-au',
                                 'notify-attributes-supported': ['printer-state-change-time',
                                                                 'notify-lease-expiration-time',
                                                                 'notify-subscriber-user-name'],
                                 'notify-events-default': ['job-completed'],
                                 'notify-events-supported': ['job-completed',
                                                             'job-config-changed',
                                                             'job-created',
                                                             'job-progress',
                                                             'job-state-changed',
                                                             'job-stopped',
                                                             'printer-added',
                                                             'printer-changed',
                                                             'printer-config-changed',
                                                             'printer-deleted',
                                                             'printer-finishings-changed',
                                                             'printer-media-changed',
                                                             'printer-modified',
                                                             'printer-restarted',
                                                             'printer-shutdown',
                                                             'printer-state-changed',
                                                             'printer-stopped',
                                                             'server-audit',
                                                             'server-restarted',
                                                             'server-started',
                                                             'server-stopped'],
                                 'notify-lease-duration-default': 86400,
                                 'notify-lease-duration-supported': (0,
                                                                     2147483647),
                                 'notify-max-events-supported': [100],
                                 'notify-pull-method-supported': ['ippget'],
                                 'notify-schemes-supported': ['dbus',
                                                              'mailto',
                                                              'rss'],
                                 '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,
                                                          56,
                                                          57,
                                                          59,
                                                          16385,
                                                          16386,
                                                          16387,
                                                          16388,
                                                          16389,
                                                          16390,
                                                          16391,
                                                          16392,
                                                          16393,
                                                          16394,
                                                          16395,
                                                          16396,
                                                          16397,
                                                          16398,
                                                          16399,
                                                          16423,
                                                          14],
                                 'orientation-requested-default': None,
                                 'orientation-requested-supported': [3,
                                                                     4,
                                                                     5,
                                                                     6],
                                 'page-ranges-supported': True,
                                 'pdf-k-octets-supported': (0, 443052216),
                                 'pdf-versions-supported': ['adobe-1.2',
                                                            'adobe-1.3',
                                                            'adobe-1.4',
                                                            'adobe-1.5',
                                                            'adobe-1.6',
                                                            'adobe-1.7',
                                                            'iso-19005-1_2005',
                                                            'iso-32000-1_2008',
                                                            'pwg-5102.3'],
                                 'pdl-override-supported': ['attempted'],
                                 'print-quality-default': 4,
                                 'printer-config-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-config-change-time': 1531815213,
                                 'printer-current-time': '(IPP_TAG_DATE)',
                                 'printer-dns-sd-name': 'MFCJ5330DW @ linux',
                                 'printer-error-policy': 'stop-printer',
                                 'printer-error-policy-supported': ['abort-job',
                                                                    'retry-current-job',
                                                                    'retry-job',
                                                                    'stop-printer'],
                                 'printer-geo-location': '(unknown IPP value '
                                                         'tag 0x12)',
                                 'printer-get-attributes-supported': ['document-format'],
                                 'printer-icons': 'http://localhost/icons/MFCJ5330DW.png',
                                 'printer-info': 'MFCJ5330DW',
                                 'printer-is-accepting-jobs': True,
                                 'printer-is-shared': True,
                                 'printer-is-temporary': False,
                                 'printer-location': 'local network',
                                 'printer-make-and-model': 'Local Raw Printer',
                                 'printer-more-info': 'http://localhost/printers/MFCJ5330DW',
                                 'printer-name': 'MFCJ5330DW',
                                 'printer-op-policy': 'default',
                                 'printer-op-policy-supported': ['authenticated',
                                                                 'default',
                                                                 'kerberos'],
                                 'printer-organization': '',
                                 'printer-organizational-unit': '',
                                 'printer-settable-attributes-supported': ['printer-geo-location',
                                                                           'printer-info',
                                                                           'printer-location',
                                                                           'printer-organization',
                                                                           'printer-organizational-unit'],
                                 'printer-state': 3,
                                 'printer-state-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-state-change-time': 1532921839,
                                 'printer-state-message': '',
                                 'printer-state-reasons': ['none'],
                                 'printer-type': 131076,
                                 'printer-up-time': 1533253165,
                                 'printer-uri-supported': ['ipp://localhost/printers/MFCJ5330DW'],
                                 'printer-uuid': 'urn:uuid:2e67e5e4-0173-30f0-41b4-2516822c74ff',
                                 'queued-job-count': 0,
                                 'server-is-sharing-printers': True,
                                 'uri-authentication-supported': ['requesting-user-name'],
                                 'uri-security-supported': ['none'],
                                 'which-jobs-supported': ['completed',
                                                          'not-completed',
                                                          'aborted',
                                                          'all',
                                                          'canceled',
                                                          'pending',
                                                          'pending-held',
                                                          'processing',
                                                          'processing-stopped']}}
Page 4 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7fa4a4d4c668>):
{'printer_is_remote': False}
Page 5 (<troubleshoot.VerifyPackages.VerifyPackages object at 0x7fa4a4a40e80>):
{'packages_verification': {'cups': ['S.5...GT.  c /etc/cups/cupsd.conf',
                                    '......G..  n /etc/cups/ppd',
                                    '......G..  n /etc/cups/ssl',
                                    '.M....G..    /var/cache/cups',
                                    '......G..    /var/spool/cups',
                                    '......G..    /var/spool/cups/tmp'],
                           'foomatic': ['package foomatic is not installed'],
                           'gutenprint': ['package gutenprint is not '
                                          'installed'],
                           'hpijs': ['package hpijs is not installed'],
                           'hplip': [],
                           'system-config-printer': []}}
Page 6 (<troubleshoot.PrintTestPage.PrintTestPage object at 0x7fa4a4a4d710>):
{'test_page_attempted': '03/Aug/2018:07:39:58 +0800',
 'test_page_completions': [(10, 'Job completed.')],
 'test_page_job_id': [10],
 'test_page_job_status': [(True,
                           10,
                           'MFCJ5330DW',
                           'Test Page',
                           'Completed',
                           {'attributes-charset': 'utf-8',
                            'attributes-natural-language': 'en-au',
                            'date-time-at-completed': '(IPP_TAG_DATE)',
                            'date-time-at-creation': '(IPP_TAG_DATE)',
                            'date-time-at-processing': '(IPP_TAG_DATE)',
                            'document-format': 'application/vnd.cups-pdf-banner',
                            'document-format-detected': 'application/vnd.cups-pdf-banner',
                            'job-hold-until': 'no-hold',
                            'job-id': 10,
                            'job-impressions-completed': 1,
                            'job-k-octets': 1,
                            'job-media-progress': 0,
                            'job-media-sheets-completed': 1,
                            'job-more-info': 'http://localhost/jobs/10',
                            'job-preserved': True,
                            'job-printer-state-message': '',
                            'job-printer-state-reasons': ['none'],
                            'job-printer-up-time': 1533253213,
                            'job-printer-uri': 'ipp://localhost/printers/MFCJ5330DW',
                            'job-priority': 50,
                            'job-sheets': ['none', 'none'],
                            'job-state': 9,
                            'job-state-reasons': 'processing-to-stop-point',
                            'job-uri': 'ipp://localhost/jobs/10',
                            'job-uuid': 'urn:uuid:36746ffa-e139-3608-5e96-a3539bdf962c',
                            'number-of-documents': 1,
                            'printer-uri': 'ipp://localhost/printers/MFCJ5330DW',
                            'time-at-completed': 1533253198,
                            'time-at-creation': 1533253198,
                            'time-at-processing': 1533253198})],
 'test_page_successful': False}
Page 7 (<troubleshoot.Locale.Locale object at 0x7fa4a4a56cf8>):
{'printer_page_size': None,
 'system_locale_lang': 'en_AU',
 'user_locale_ctype': 'en_AU',
 'user_locale_messages': 'en_AU'}

Re: Brother MFC J5330DW

PostPosted: Sep 5th, '18, 03:01
by floppy
So I uninstalled everything
reinstalled the Brother script
and now printer works fine