Network printer not found

I have a network printer that offers connection via IPP. under windows the printer is seen.

When trying to install printer with yast under OS 15.5, the printer is not seen.
I selected " accept information from CUPS servers", and I tried “printer information from remote CUPS-Servers”, entering the address of the printer (http://192.168.178.69:631/ipp). without succeeding.
I thought the latter had worked in a previous installation, but not this time.
I tried with firewall switched off: no effect.

Can anyone please give me a hint on how to make the network printer accessible?

Could you provide the output of:

sudo mtr -rwbc 10 -TP 631 192.168.178.69

Start: 2024-03-12T18:41:26+0100
HOST: legion Loss% Snt Last Avg Best Wrst StDev
1.|-- MC573-0127E4.fritz.box (192.168.178.69) 0.0% 10 2.5 8.8 2.2 56.8 17.0

It seems there’s no problem connecting to the printing service.

Could you try this next:

curl -IX GET 192.168.178.69:631

P.S. You can use code blocks (triple backticks to open and close) in markdown to format the output correctly.

Which Printer?
Which driver?

curl -IX GET 192.168.178.69:631

leads to

HTTP/1.1 404 Not Found
MIME-Version: 1.0
Server: JC-HTTPD/1.12.16
Upgrade: TLS/1.2, HTTP/1.1
Connection: Upgrade
Content-Type: text/html
Content-Length: 880
Accept-Ranges: none

ps: sorry, still fighting with formating - how do I quote a post?

Simply mark the text you want to quote with left mouse and hit “Quote” at the overlay…

I didn’t arrive at a state where I could specify a driver. there is no printer yet to select.
In an earlier installation (as well 15.5) specifying the URL was all I had to do.

Final one, you should be able to view the printer’s webpage:

curl -X GET http://192.168.178.69:631/ipp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
        <META HTTP-EQUIV="Content-Type" CONTENT="text/html">
        <TITLE>MC573</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<P>
<TABLE BORDER="0"  CELLPADDING="4" WIDTH="100%">
        <TR>
                <TD WIDTH="600" HEIGHT="50" VALIGN="BOTTOM" BGCOLOR="#8A2034" NOWRAP><FONT SIZE="4" COLOR="white" FACE="Arial, Helvetica">Not Found</FONT></TD>
        </TR>
</TABLE>
</P>

<BLOCKQUOTE>
<TABLE BORDER="0" WIDTH="100%">
        <TR>
                <TD WIDTH="100%" NOWRAP><FONT SIZE="2" FACE="Arial, Helvetica">HTTP-1.0 / 404</FONT></TD>
        </TR>
</TABLE>
<P>
<TABLE BORDER="0" WIDTH="100%">
        <TR>
                <TD WIDTH="100%" NOWRAP><FONT SIZE="2" FACE="Arial, Helvetica">Return to </FONT>
<FONT SIZE="2" FACE="Arial, Helvetica"><A HREF="JavaScript:history.back();">Previous Page.</A></FONT>

        </TR>
</TABLE>
</BLOCKQUOTE>

<P>

</BODY>

</HTML>

Can you try accessing the same URL from a different browser with all extensions/addons disabled?

http://192.168.178.69:631/ipp

gives 404

http://192.168.178.69

gives

as mentioned: printing from another computer and from the same computer booted to windows works

So it’s working now? :thinking:
You don’t have to try from a different OS or PC. Just a different browser to rule out any potential issues with the default one. From the previous tests, there are no issues with the OpenSuse system connecting to the printing service, so it has to be browser related.

no, it’s not working under OS 15.5, only under windows.
what has the browser to do with yast (or any other application) on opensuse not seeing the printer for printing?

As IPP uses HTTP over port 631, once you’ve confirmed the HTTP server is accessible using curl/browser, then we can rule out any firewall/access issues.
As printing is still not working, focus your efforts into correcting any misconfiguration(s).

I just have no idea where to look for configuration problems.

how can I e.g. trace the request?

… how would I specify the network/netmask in the upper field in yast (see picture above)?

That seems to be optional, could you try the IPP URL without the port?
Sorry I can’t be much more help with printing as I’ve never set it up.
Hopefully someone more experienced can chime in.

To make a small test that the printer actually responds on the right port install netcat (nc)

sudo zypper in netcat-openbsd

and try this to see if the printer responds.

echo "hello, world!" | nc -w 1 192.168.178.69 631

or maybe this well-known-port

echo "hello, world!" | nc -w 1 192.168.178.69 9100

results in

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
        <META HTTP-EQUIV="Content-Type" CONTENT="text/html">
        <TITLE>MC573</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<P>
<TABLE BORDER="0"  CELLPADDING="4" WIDTH="100%">
        <TR>
                <TD WIDTH="600" HEIGHT="50" VALIGN="BOTTOM" BGCOLOR="#8A2034" NOWRAP><FONT SIZE="4" COLOR="white" FACE="Arial, Helvetica">Not Found</FONT></TD>
        </TR>
</TABLE>
</P>

<BLOCKQUOTE>
<TABLE BORDER="0" WIDTH="100%">
        <TR>
                <TD WIDTH="100%" NOWRAP><FONT SIZE="2" FACE="Arial, Helvetica">HTTP-1.0 / 404</FONT></TD>
        </TR>
</TABLE>
<P>
<TABLE BORDER="0" WIDTH="100%">
        <TR>
                <TD WIDTH="100%" NOWRAP><FONT SIZE="2" FACE="Arial, Helvetica">Return to </FONT>
<FONT SIZE="2" FACE="Arial, Helvetica"><A HREF="JavaScript:history.back();">Previous Page.</A></FONT>

        </TR>
</TABLE>
</BLOCKQUOTE>

<P>

</BODY>

</HTML>