DCP-9040CN

FAQs & Troubleshooting

FAQs & Troubleshooting

I want to print using CUPS while keeping SELinux enabled. (Linux)

  1. Backup the "/etc/selinux/targeted/contexts/files/file_contexts" file before making any changes to the original file.
  2. Check "/usr/local/Brother/" folder to find what folders are under it.
    1. If your system has "inf", "lpd","cupswrapper" folders under "/usr/local/Brother", add the following 3 lines to the end of the file ( /etc/selinux/targeted/contexts/files/file_contexts ).

      /usr/local/Brother/inf/.* -- system_u:object_r:cupsd_etc_t:s0
      /usr/local/Brother/lpd/.* -- system_u:object_r:bin_t:s0
      /usr/local/Brother/cupswrapper/.* -- system_u:object_r:bin_t:s0
       
    2. If your system has "inf", "lpd","cupswrapper" folders under "/usr/local/Brother/Printer/[your printer's name]/", add the following 3 lines to the end of the file ( /etc/selinux/targeted/contexts/files/file_contexts ).

      /usr/local/Brother/Printer/(printer name)/inf/.* -- system_u:object_r:cupsd_etc_t:s0
      /usr/local/Brother/Printer/(printer name)/lpd/.* -- system_u:object_r:bin_t:s0
      /usr/local/Brother/Printer/(printer name)/cupswrapper/.* -- system_u:object_r:bin_t:s0

    The part after the doble hyphen can differ between distributions. Refer the followings to confirm the correct statement for your distribution.
     

    • For "lpd" and "cupswrapper", the part should be the same as the configuration for "/usr/lib(64)/cups/deamon/.*" in the "file_contexts".
    • For "inf", the part should be the same as the configuration for "/etc/cups/ppd/.*" in the "file_contexts".
  3. Run the command "restorecon *" in the following directories:
    (For step 3-a.)
    /usr/lib/cups/filter
    /usr/lib64/cups/filter <===This is necessary only for 64bit OS users
    /usr/local/Brother/lpd
    /usr/local/Brother/inf
    /usr/local/Brother/cupswrapper

    (For step 3-b.)
    /usr/lib/cups/filter
    /usr/lib64/cups/filter <===This is necessary only for 64bit OS users
    /usr/local/Brother/Printer/(printer name)/inf
    /usr/local/Brother/Printer/(printer name)/lpd
    /usr/local/Brother/Printer/(printer name)/cupswrapper
     
  4. Restart the PC.

If your question was not answered, have you checked other FAQs?

Have you checked the manuals?

If you need further assistance, please contact Brother customer service:

Related Models

ADS-1100W, ADS-1200, ADS-1600W, ADS-1700W, ADS-2000, ADS-2100, ADS-2200, ADS-2600W, ADS-2700W, DCP-110C, DCP-115C, DCP-120C, DCP-130C, DCP-135C, DCP-145C, DCP-150C, DCP-1510, DCP-1511, DCP-155C, DCP-1610W, DCP-1615NW, DCP-1616NW, DCP-165C, DCP-185C, DCP-195C, DCP-330C, DCP-350C, DCP-375CW, DCP-385C, DCP-395CN, DCP-540CN, DCP-560CN, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7010L, DCP-7025, DCP-7030, DCP-7040, DCP-7055, DCP-7060D, DCP-7065DN, DCP-8020, DCP-8025D, DCP-8040, DCP-8045D, DCP-8060, DCP-8065DN, DCP-8070D, DCP-8085DN, DCP-8110D, DCP-8155DN, DCP-9010CN, DCP-9015CDW, DCP-9040CN, DCP-9042CDN, DCP-9055CDN, DCP-B7500D, DCP-B7535DW, DCP-J100, DCP-J105, DCP-J1050DW, DCP-J1100DW, DCP-J1140DW, DCP-J1200W(XL), DCP-J125, DCP-J140W, DCP-J152W, DCP-J172W, DCP-J315W, DCP-J4110DW, DCP-J4120DW, DCP-J515W, DCP-J525W, DCP-J552DW, DCP-J562DW, DCP-J572DW, DCP-J715W, DCP-J725DW, DCP-J752DW, DCP-J925DW, DCP-L2520D, DCP-L2531DW, DCP-L2535D , DCP-L2535DW, DCP-L2540DW, DCP-L2541DW, DCP-L2550DW, DCP-L3510CDW, DCP-L3551CDW, DCP-L5500D, DCP-L5600DN, DCP-T220, DCP-T226, DCP-T300, DCP-T310, DCP-T420W, DCP-T426W, DCP-T500W, DCP-T510W, DCP-T520W, DCP-T700W, DCP-T710W, DCP-T720DW, DCP-T820DW, DCP-T825DW, DS-620, DS-640, DS-720D, DS-740D, DS-940DW, FAX-1820C, FAX-1840C, FAX-2480C, FAX-2820, FAX-2840, FAX-2850, FAX-2920, FAX-2950, HL-1110, HL-1111, HL-1201, HL-1210W, HL-1211W, HL-1230, HL-1240, HL-1250, HL-1270N, HL-1430, HL-1440, HL-1450, HL-1470N, HL-1650, HL-1670N, HL-1850, HL-1870N, HL-2030, HL-2040, HL-2070N, HL-2130, HL-2132, HL-2135W, HL-2140, HL-2150N, HL-2170W, HL-2220, HL-2240D, HL-2242D, HL-2250DN, HL-2270DW, HL-2460, HL-2600CN, HL-2700CN, HL-3040CN, HL-3045CN, HL-3070CW, HL-3075CW, HL-3150CDN, HL-3170CDW, HL-3260N, HL-3450CN, HL-4040CDN, HL-4040CN, HL-4050CDN, HL-4150CDN, HL-4570CDW, HL-5040, HL-5050, HL-5070N, HL-5140, HL-5150D, HL-5170DN, HL-5240, HL-5240L, HL-5250DN, HL-5270DN, HL-5340D, HL-5350DN, HL-5370DW, HL-5380DN, HL-5440D, HL-5450DN, HL-5470DW, HL-6050D, HL-6050DN, HL-6180DW, HL-7050, HL-7050N, HL-8050N, HL-B2000D, HL-B2080DW, HL-L2300D, HL-L2305W, HL-L2310D, HL-L2320D, HL-L2321D, HL-L2335D, HL-L2340DW, HL-L2350DW, HL-L2351DW, HL-L2360DN, HL-L2361DN, HL-L2365DW, HL-L2366DW, HL-L2370DN, HL-L2375DW, HL-L2376DW, HL-L2380DW, HL-L2385DW, HL-L2386DW, HL-L2395DW, HL-L3210CW, HL-L3230CDN, HL-L3230CDW, HL-L3270CDW, HL-L5000D, HL-L5100DN, HL-L5200DW, HL-L6200DW, HL-L6400DW, HL-L8250CDN, HL-L8260CDN, HL-L8260CDW, HL-L8350CDW, HL-L8360CDW, HL-L9200CDW, HL-L9310CDW, HL-T4000DW, MFC-1810, MFC-1811, MFC-1815, MFC-1910W, MFC-1911NW, MFC-1911W, MFC-1915W, MFC-1916NW, MFC-210C, MFC-215C, MFC-230C, MFC-235C, MFC-240C, MFC-250C, MFC-255CW, MFC-260C, MFC-265C, MFC-290C, MFC-295CN, MFC-3220C, MFC-3240C, MFC-3360C, MFC-3420C, MFC-3820CN, MFC-410CN, MFC-425CN, MFC-440CN, MFC-465CN, MFC-4800, MFC-490CW, MFC-5440CN, MFC-5460CN, MFC-5490CN, MFC-5840CN, MFC-5860CN, MFC-5890CN, MFC-620CN, MFC-640CW, MFC-6490CW, MFC-665CW, MFC-685CW, MFC-6890CDW, MFC-7220, MFC-7240, MFC-7290, MFC-7340, MFC-7360, MFC-7360N, MFC-7362N, MFC-7420, MFC-7440N, MFC-7450, MFC-7460DN, MFC-7470D, MFC-7820N, MFC-7840N, MFC-7840W, MFC-7860DN, MFC-7860DW, MFC-790CW, MFC-795CW, MFC-8220, MFC-8370DN, MFC-8380DN, MFC-8440, MFC-8460N, MFC-8480DN, MFC-8510DN, MFC-8820D, MFC-8840D, MFC-8840DN, MFC-885CW, MFC-8860DN, MFC-8880DN, MFC-8890DW, MFC-8910DW, MFC-8950DW, MFC-9010CN, MFC-9120CN, MFC-9125CN, MFC-9140CDN, MFC-9160, MFC-9180, MFC-9320CW, MFC-9325CW, MFC-9330CDW, MFC-9335CDW, MFC-9340CDW, MFC-9420CN, MFC-9440CN, MFC-9450CDN, MFC-9460CDN, MFC-9660, MFC-9840CDW, MFC-9880, MFC-990CW, MFC-9970CDW, MFC-B7715DW, MFC-J1010DW, MFC-J1300DW, MFC-J200, MFC-J220, MFC-J2310, MFC-J2320, MFC-J2330DW, MFC-J245, MFC-J2510, MFC-J265W, MFC-J2720, MFC-J2730DW, MFC-J3520, MFC-J3530DW, MFC-J3720, MFC-J3930DW, MFC-J410, MFC-J415W, MFC-J430W, MFC-J432W, MFC-J4340DW(XL), MFC-J4410DW, MFC-J4440DW, MFC-J4510DW, MFC-J4540DW(XL), MFC-J4620DW, MFC-J470DW, MFC-J4710DW, MFC-J475DW, MFC-J480DW, MFC-J491DW, MFC-J5320DW, MFC-J5330DW, MFC-J5720DW, MFC-J5730DW, MFC-J5845DW, MFC-J5910DW, MFC-J5920DW, MFC-J5930DW, MFC-J5945DW, MFC-J615W, MFC-J625DW, MFC-J650DW, MFC-J6510DW, MFC-J6520DW, MFC-J6530DW, MFC-J6545DW, MFC-J6710DW, MFC-J6720DW, MFC-J6730DW, MFC-J680DW, MFC-J690DW, MFC-J6910DW, MFC-J6920DW, MFC-J6930DW, MFC-J6935DW, MFC-J6945DW, MFC-J825DW, MFC-J870DW, MFC-J880DW, MFC-J890DW, MFC-L2700D, MFC-L2700DW, MFC-L2701D, MFC-L2701DW, MFC-L2703DW, MFC-L2710DW, MFC-L2713DW, MFC-L2715DW, MFC-L2716DW, MFC-L2720DW, MFC-L2730DW, MFC-L2740DW, MFC-L2750DW, MFC-L2751DW, MFC-L2770DW, MFC-L2771DW, MFC-L3710CW, MFC-L3735CDN, MFC-L3745CDW, MFC-L3750CDW, MFC-L3770CDW, MFC-L5700DN, MFC-L5755DW, MFC-L5900DW, MFC-L6700DW, MFC-L6900DW, MFC-L8600CDW, MFC-L8690CDW, MFC-L8850CDW, MFC-L8900CDW, MFC-L9550CDW, MFC-L9570CDW, MFC-T4500DW, MFC-T800W, MFC-T810W, MFC-T910DW, MFC-T920DW, MFC-T925DW, PDS-5000, PDS-6000

Content Feedback

To help us improve our support, please provide your feedback below.

Step 1: How does the information on this page help you?

Step 2: Are there any comments you would like to add?

Please note this form is used for feedback only.