TwoTerriers
Posts: 4
Joined: Tue Aug 13, 2019 2:52 pm

Cannot connect to CUPS

Tue Aug 13, 2019 3:13 pm

Hi

I'm new to the Raspberry Pi and to this forum so apologies if this is in the wrong part of the forum and for what is probably a very simple problem.

I'm trying to connect my Raspberry Pi to a printer.
After a couple of attempts I have installed CUPS.
I have typed http://localhost:631 into the address bar - in my case http://31.53.34.205:631 and ... not a lot happens. It does not connect

Whilst I have double checked my IP address - I'm pretty certain that it is not my usual one.

Any suggestions gratefully received.

Thanks

fruitoftheloom
Posts: 23431
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Cannot connect to CUPS

Wed Aug 14, 2019 12:49 am

TwoTerriers wrote:
Tue Aug 13, 2019 3:13 pm
Hi

I'm new to the Raspberry Pi and to this forum so apologies if this is in the wrong part of the forum and for what is probably a very simple problem.

I'm trying to connect my Raspberry Pi to a printer.
After a couple of attempts I have installed CUPS.
I have typed http://localhost:631 into the address bar - in my case http://31.53.34.205:631 and ... not a lot happens. It does not connect

Whilst I have double checked my IP address - I'm pretty certain that it is not my usual one.

Any suggestions gratefully received.

Thanks

Personally I use the CUPS GUI:

Code: Select all

sudo apt update
sudo apt install system-config-printer cups
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

TwoTerriers
Posts: 4
Joined: Tue Aug 13, 2019 2:52 pm

Re: Cannot connect to CUPS

Sun Aug 25, 2019 6:08 pm

Thanks for the suggestion

I've installed the CUPS GUI.

I've connected to the printer and can see it (it is connected via a USB)

However if I print a document, the Brother DCP-7055 printer indicates that it is receiving data - and that is it. Nothing happens.

The printer server indicates that the file has been printed.

I have subsequently checked the printer with a W10 laptop and it is working.

Suggestions? Thanks

fruitoftheloom
Posts: 23431
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Cannot connect to CUPS

Sun Aug 25, 2019 6:23 pm

TwoTerriers wrote:
Sun Aug 25, 2019 6:08 pm
Thanks for the suggestion

I've installed the CUPS GUI.

I've connected to the printer and can see it (it is connected via a USB)

However if I print a document, the Brother DCP-7055 printer indicates that it is receiving data - and that is it. Nothing happens.

The printer server indicates that the file has been printed.

I have subsequently checked the printer with a W10 laptop and it is working.

Suggestions? Thanks

You will likely need the correct drivers, it is supported by brlaser package

Code: Select all

sudo apt update
sudo apt install brlaser

https://github.com/pdewacht/brlaser
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

bls
Posts: 652
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA
Contact: Twitter

Re: Cannot connect to CUPS

Sun Aug 25, 2019 7:12 pm

TwoTerriers wrote:
Tue Aug 13, 2019 3:13 pm
Hi


I have typed http://localhost:631 into the address bar - in my case http://31.53.34.205:631 and ... not a lot happens. It does not connect

Whilst I have double checked my IP address - I'm pretty certain that it is not my usual one.
In the first case (localhost:631) are you running the browser ON the Pi or on another computer? In the second case (31.53.34.205:631) where did you get that address? That is a public IP address, not an address on your local network, so no surprise that fails.

Can you bring up a terminal on the Pi and type: 'sudo netstat -ltpn' (that's a lower case L, not a digit 1) and post the output here?
Pi tools:
RPi SD Card Image Manager: https://github.com/gitbls/sdm
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo
Easy VPN installer/manager: https://github.com/gitbls/pistrong
DNS/DHCP manager:https://github.com/gitbls/ndm

TwoTerriers
Posts: 4
Joined: Tue Aug 13, 2019 2:52 pm

Re: Cannot connect to CUPS

Mon Aug 26, 2019 9:14 am

Thanks for your reply

You will likely need the correct drivers, it is supported by brlaser package

sudo apt update ..... Done
sudo apt install brlaser .... Tried this and
"Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package brlaser
"

As the printer was usb connected and switched on - beyond me

So I tried "Add/Remove Software - printer-driver-brlaser-41"

It installed. Tried printing. Data transferred. No printout.

I'm afraid that - https://github.com/pdewacht/brlaser - is completely beyond me. If the answer lies there, then I'm going to need help.

Thanks in anticipation

fruitoftheloom
Posts: 23431
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Cannot connect to CUPS

Mon Aug 26, 2019 9:57 am

TwoTerriers wrote:
Mon Aug 26, 2019 9:14 am
Thanks for your reply

You will likely need the correct drivers, it is supported by brlaser package

sudo apt update ..... Done
sudo apt install brlaser .... Tried this and
"Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package brlaser
"

As the printer was usb connected and switched on - beyond me

So I tried "Add/Remove Software - printer-driver-brlaser-41"

It installed. Tried printing. Data transferred. No printout.

I'm afraid that - https://github.com/pdewacht/brlaser - is completely beyond me. If the answer lies there, then I'm going to need help.

Thanks in anticipation

Apologies, try

Code: Select all

sudo apt update
sudo apt install printer-driver-brlaser
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

TwoTerriers
Posts: 4
Joined: Tue Aug 13, 2019 2:52 pm

Re: Cannot connect to CUPS

Mon Aug 26, 2019 11:07 am

Pi reports that latest version is already installed

Return to “Troubleshooting”