WPS= Wifi Protected Setup button
PIN= No WPS button so input a numeric value generated by the printer that a member needs to input into the router admin page for WPS/PIN setup found somewhere in their router wireless config pages.
post 1 for wireless printing via WPS
post 2 for wireless scanning
post 3 for wireless seup using PIN if WPS fails
This post is to be read with https://forum.porteus.org/viewtopic.php?f=138&t=5470 as I don't want to repeat myself for some things. However if you have a WL HP printer or scanner I suggest you ignore Gutenprint and install Hplip.
This thread has a number of issues as we want to print wirelessly. In no order they are
a) Can you router do WPS or allow PIN inputs?
b) Can your HP or wireless printer do WPS? Most modern WL printers allow either.
c) Are you happy to use router DNS or do you need a static address?
You may need to login in to your router admin page to enable WPS, as I had disabled it as I normally use a USB printer.
Your web browser address for the admin page is your gateway address discussed earlier.
HP setup and router setup
First we know the HP must be a model that can do wireless. Mine is the Deskjet 3050 and it has a button for wireless so turn on printer and remove USB lead and press wireless button on HP.
In the mini screen there are 3 buttons and the top button may ask enable wireless so press it
--if its already enabled the wording will say Disable wireless
Enabling wireless causes LED to flash next to wireless
The middle button says WPS so press it
The mini screen now says press the WPS button on your router
Press the router button on your router and go back to your mini HP screen. Syncing has a delay of about 2 minutes to allow you to race to other side of the house in case you can't shout to a another householder to do the router WPS button.
After sync HP displays its ip address, for me its 126.96.36.199 and my router gateway is 192.168.1.1
---Flashing LED changes to constant LED on printer.
As you can see WPS is the easiest way to setup wireless printing but now we go back to the main post and
start and stop the cups daemon.
Now we can go to the web browser page and click on add printer to input the root password
Now we can click on find new printers and this is the changed image
Discovered network printers may show your neighbours if they have it turned on and within range of your router.
I chose the bottom entry and then completed the other normal steps to setup printer including page size etc with one minor difference.
I elected to call my location wireless. Also I chose shared printer to allow any user on the same sub-net to use this printer
http://www.cups.org/documentation.php/d ... aring.html
So when I did a test text print from leafpad I see these choices
For the technically minded members
From the web page for cups/printers for this printer the connection details show as
You can see the ip of 192.168.1.5, the 9100 is the port numberConnection: socket://192.168.1.5:9100
http://www.cups.org/documentation.php/d ... twork.html
HP appears to always prefer port 9100 but other wireless printers may use another port.
Consult your printer's manual or the internet if you can not translate this tutorial for HP into some other make like Canon etc