Open a web browser and type in your Pi’s IP address, indicating the cups port. With this done we can proceed to test if it works effectively by checking out the CUPS homepage. To get it to allow all connections on the network, run Īfter this we then restart cups to effect changes using Next we need to ensure that CUPS can be connected to on the home network and its also accessible across the entire network. This gives the Raspberry Pi the ability to perform administrative functions of CUPS without necessarily being a super user.
Next we add the Pi user to the Ipadmin group. # Only listen for connections from the local machine.Īllow Restrict access to the admin pages.Īllow Restrict access to configuration files.Īllow the file using ctrl+X followed by y and then enter.Īfter saving, restart CUPS to effect the changes to the configuration file using Several settings that generally affect how cups works, like the port on which cups communicate which is by default 631, port can be changed here.Ĭhange/add the following lines to the configuration file. With Installation done, its time to check out the configuration file of CUPS.
This will take some time but will install CUPS and other dependencies like Samba, perl and several other software or libraries.
With the update done the next line of action is to install our print server software CUPS. Step 2: Install Print Server Software CUPS Wait for the reboot process and login again Kind of a ritual, first thing for all of my projects is updating the Raspberry Pi, by doing this you ensure your pi has all the latest updates to the OS you are working with.
This section will carry us through a series of steps that will culminate in the installation of CUPS on your Raspberry Pi.
Setting up Network Printer on Raspberry Pi: With your Pi at the ready, Let's make a Raspberry Pi Print Server! If you have issues with any of the things mentioned, there are tons of Raspberry Pi Tutorials on this website that can help, and you can also drop your questions in the comment box and I will do my best to respond.
I also want to assume you know how to ssh into the Raspberry Pi using a terminal software like putty. To proceed, we will be using the Raspbian stretch OS for this tutorial and since its setup is same as that of the Jessie, I will assume you are familiar with setting up the Raspberry Pi with the Raspbian stretch OS. A list of printers supported by CUPS can be found at this attached links.įor this tutorial, we will need the following components, some of which you may certainly have laying around and won’t need to buy.
Other printer models that are not directly supported by CUPS may have generic drivers that are compatible which provides basic printing functions. A computer running CUPS is able to accept jobs from client devices, process them and pass it on to the appropriate printer to print.Īll most all printers are supported by CUPS especially HP printers since HP operates its own open source project. It gives computers on which it is running the ability to act as a print server. The next step is to create Applications and redirect them through the Gateway, in these applications we will create our Nodes or Sensors / Actuators, these tests will be in future tutorials.For this Raspberry Pi Print Server tutorial, we will be creating a Network Printer with the aid of the Raspberry Pi 3 and the almighty CUPS which makes it all possible.ĬUPS ( Common Unix Printing System) is a printing system for UNIX like operating systems based computers. Gateway OnlineĪfter configuring our TTN server on the Raspberry Pi, it should connect automatically. More information on the address of the router region at The Things Network : Semtech UDP Packet ForwarderĪfter modifying the file, restart Raspberry Pi. In my case I am in America, I will use local routers: Original File, by default connects to a locally installed LoRaWAN server. The TTN regional server must be added, so that the Semtech Packet UDP Forwarder. Register GatewayĪdd or register EUI or Gateway ID, enable (Semtech Packet Forwarder):
We select the Gateway ID of our gateway 1. opt/ttn-gateway/packet_forwarder/lora_pkt_fwd We enter our Raspberry Pi through SSH and edit the local_conf.jsonfile located in the path: Configure the TTN Regional server in Gateway.To add our gateway to The Things Network we need the following: