Jump to content

[Support] devzwf - CUPS-Airprint

This topic contains 32 posts with an estimated read time of 20 minutes. A summary containing the most significant posts is available with an estimated read time of 4 minutes.

Featured Replies

  • 5 weeks later...

Thanks for this... I've gone out and tried to figure a way to get my MBA M1 to print to my Brother MFC, never managing to get it working until tonight after installing this Docker.  Pretty straight forward setup.

 

  • 3 weeks later...

Hi.

I try to get my old Dell 1320c running with Cups.

That should be possible with an old 32bit ppd (FX_DocuPrint_C525_A_AP.ppd) witch needs some special filters in /user/lib/cups/filter/.

 

Is it possible to copy the missing filters to that dir?

 


I am thankful for every help.

  • Author

I am using https://github.com/chuckcharlie/cups-avahi-airprint container in this template 
and it do not seem to be build to expose this dir.

 

this dir (/user/lib/cups/filter/) do not exist in the conatiner , did you mean : /usr/lib/cups/filter
if it is the latter ,  you can put you file in the container to test , but be aware that anytime the container will rerun you will have to reupload the file.
 

or ask on https://github.com/chuckcharlie/cups-avahi-airprint for the inclusion of this file

  • 8 months later...

Thanks for this. I got my Brother USB printer working using the following settings.

 

image.png.57dcb27295db9330362bd15aa6543d25.png

  • 4 months later...

I have this printer: https://www.amazon.com/Bluetooth-Shipping-PEDOOLO-Compatible-Chromebook/dp/B0C3V66NNK/ref=sr_1_4?c=ts&keywords=Desktop%2BLabel%2BPrinters&qid=1702994441&s=office-electronics&sr=1-4&ts_id=8553181011&ufe=app_do%3Aamzn1.fos.18630bbb-fcbb-42f8-9767-857e17e03685&th=1

I was hoping to connect it to my unraid server to print from any device or machine on the network. Although the usb instructions seem vague or I'm just missing them. 

Can anyone provide some guidance?

  • Author
3 hours ago, AlexHackney said:

I have this printer: https://www.amazon.com/Bluetooth-Shipping-PEDOOLO-Compatible-Chromebook/dp/B0C3V66NNK/ref=sr_1_4?c=ts&keywords=Desktop%2BLabel%2BPrinters&qid=1702994441&s=office-electronics&sr=1-4&ts_id=8553181011&ufe=app_do%3Aamzn1.fos.18630bbb-fcbb-42f8-9767-857e17e03685&th=1

I was hoping to connect it to my unraid server to print from any device or machine on the network. Although the usb instructions seem vague or I'm just missing them. 

Can anyone provide some guidance?

what is your issue ?

  • 7 months later...

I have a Brother DCP-7065DN printer that is on my network that I'm trying to setup with CUPS so the Apple people in our household can print because it doesn't have a Mac driver. So I install the container without any issue, CUPS recognizes the printer on my network automatically to set it up and it has a driver that appears to be for my printer.  However when I finish the setup and go to print test page I get an error message saying "Unable to locate printer "BRN001BA984C9CD"."

 

I've included my printer settings below and would love any suggestions people have.  Thanks!

 

Description: Brother DCP-7065DN

Location: Local Printer

Driver: Brother DCP-7065DN, using brlaser v6 (grayscale, 2-sided printing)

Connection: lpd://BRN001BA984C9CD/BINARY_P1

Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

 

  • Author
9 minutes ago, Baraboo5 said:

I have a Brother DCP-7065DN printer that is on my network that I'm trying to setup with CUPS so the Apple people in our household can print because it doesn't have a Mac driver. So I install the container without any issue, CUPS recognizes the printer on my network automatically to set it up and it has a driver that appears to be for my printer.  However when I finish the setup and go to print test page I get an error message saying "Unable to locate printer "BRN001BA984C9CD"."

 

I've included my printer settings below and would love any suggestions people have.  Thanks!

 

Description: Brother DCP-7065DN

Location: Local Printer

Driver: Brother DCP-7065DN, using brlaser v6 (grayscale, 2-sided printing)

Connection: lpd://BRN001BA984C9CD/BINARY_P1

Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

 

i would try by changing this :
 

Connection: lpd://BRN001BA984C9CD/BINARY_P1

by replacing BRN001BA984C9CD  with the IP of you printing 
and test

 

26 minutes ago, ZappyZap said:

i would try by changing this :
 

Connection: lpd://BRN001BA984C9CD/BINARY_P1

by replacing BRN001BA984C9CD  with the IP of you printing 
and test

 

Would I want to use one of the IPP protocols or LDP host?  Seems like there's a lot of options for the IPP protocols which has me a bit confused by which one I would want to use.  The IP of my printer is 192.168.1.179

 

7 hours ago, ZappyZap said:

i would try by changing this :
 

Connection: lpd://BRN001BA984C9CD/BINARY_P1

by replacing BRN001BA984C9CD  with the IP of you printing 
and test

 

Actually I figured out what you were saying and it appears that fixed it and the test page worked correctly.  So now I just need to figure how to get it added into MacOS so I can print from there.  Additionally it doesn't appear to be showing on AirPrint on my iPhone and IPad though that is less of a concern.

  • Author
3 hours ago, Baraboo5 said:

 

Actually I figured out what you were saying and it appears that fixed it and the test page worked correctly.  So now I just need to figure how to get it added into MacOS so I can print from there.  Additionally it doesn't appear to be showing on AirPrint on my iPhone and IPad though that is less of a concern.

is it on the same subnet ? i mean, the mac/iphone/ipad is on the subnet as the cups server ?

 

7 hours ago, ZappyZap said:

is it on the same subnet ? i mean, the mac/iphone/ipad is on the subnet as the cups server ?

 

Yeah they're all on the same subnet, I don't have anything special going on with my network really. 

  • 2 weeks later...
On 8/13/2024 at 5:06 PM, ZappyZap said:

i would try by changing this :
 

Connection: lpd://BRN001BA984C9CD/BINARY_P1

by replacing BRN001BA984C9CD  with the IP of you printing 
and test

 

Hi there,

I recently installed a fresh version of unRAID and this app - got a similar issue.

 

CUPS is unable to search for and identify my Brother hl-1210w wifi printer. Typically windows spots it no problem. I had another implementation of CUPS on a seperate linux box I decomissioned recently and what hoping this plugin would fill the gap.

 

Is there any way we can troubleshoot additional network related issues with app here?

 

  • Author

do not have brother, 
i try reproduce with my test unraid install and it was working, same as with my prod same.
i will try get that reproduce so i can troubleshoot.

  • 3 weeks later...

I've been working on this on and off for a while, but I'm still unable to get my Canon MF634C to work with CUPS-Airprint.   I have the correct PPD and when I installed it and did a test print I got an error that the filter "rastertoufr2" was missing.   I downloaded the Linux drivers from Canon, extracted the files from the DEB file and installed the rastertoufr2 file on the container in /usr/lib/cups/filter.   Now when I try to print I get this error in the debug logs, even though the file is present and has the correct permissions 

 [Job 7] PID 58 (/usr/lib/cups/filter/rastertoufr2) stopped with status 102 (No such file or directory)

I'm at a loss as to what to try next, so I'd love to know if anyone has any ideas.

 

Thanks

  • 1 month later...
  • Author

i did not get confirmation . but as you said i did not saw cups-browsed running

  • 2 months later...

I have configured CUPS, I'm able to print a test page. (however, not a Print self-test page).

But, I'm not able to add this printer to my Mac, my iphone doesn't see it either.

They CUPS is on a different subnet.
I'm able to access this subnet from my MAC. (it's bridged to my unraid server's local IP)

When I try to add the printer, I 'm entering my unraid server's IP.

  • Author

I think the cups server need to be on same subnet.
need to validate this

Trying to get my older Samsung M2875 working with AirPrint from my phones.  It already supports AirPrint on my Desktop, but it hasn't been updated to support iOS.  At first I had the "rastertoufr2" which I solved by installing the linux drivers inside of the docker container.  When I add the new printer I upload the PPD file for the printer (from the same linux driver package Samsung_M267x_287x_Series.ppd).  Now when doing a test page from the admin console I get a " stopped  'Filter failed' " error

  • Author

I am not the author of this docker image.
i am maintaining the template.

I do not have your printer so it hard for me to reproduce.

please ty open a issue at : https://github.com/chuckcharlie/cups-avahi-airprint
and let me know the issue # i will followup

Edited by ZappyZap

Issue Opened: stopped 'Filter failed' - #36

 

  • Author

thanks i will follow up

  • 2 weeks later...

Hey @ZappyZap

 

Idk if you have already tried the following. I recently struggled for hours with my Brother DCP-16xx printer. This is what ended up working.

  1. On the CUPS server setup the printer with
    lpd://ip/BINARY_P1
  2. Verified the above by setting up an LPD printer on my Macbook with the above settings.

  3. Ensured

    1. the correct printer driver was being used on the CUPS server.

    2. correct policies, selecting A4 for my default paper and such.

  4. Now to the thing that I got wrong. When configuring my Macbook (so not on the cups server) as an Airprint device, I discoved that I must select it as a GPL Ghostscript printer. Initially I made the mistake setting it up on my Mac with the Brother-drivers, but that (duh) doesn't work as then ends up mismatching the filters and rejecting the jobs from my Mac. (Note. If you have a mismatch of drivers similar to the above, then you'd see it working from an iPhone but not from a Macbook)

When troubleshooting this I ended up trying with a bunch of different devices, which was what eventually made me find my mistake as described above. You might also want to use

LogLevel debug

in your cupsd.conf to have a bit more to work with as for log information.

 

Hopefully this is of some help to you. Good luck!

Edited by FredrikJL

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...