What is the problem?
hi i need help i want to setup cups for my HP P1006 laserjet printer on the octoprint os
with 1 raspberry pi 3 b+
my reason why is because my 3d printer and my laserjet printer are literally right next to each other
[UPDATE]
hey everyone yesterday i got cups working with octoprint and i figured out how to get that plugin for some hp printers installed and have my p1006 working at the same time as my ender 3
will be doing some tutorials on my youtube channel https://www.youtube.com/channel/UCd7nFbMVuL4pyNtwihSOLUQ What did you already try to solve it?
nothing
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...) N/A
Probably easiest to start with OctoPi and then follow a tutorial to add Cups to that installation. OctoPi is just Raspbian (Lite), you can install whatever pleases you on it.
Just because they're next-door neighbors, they don't have to go to tea parties together. (Things I've learned by getting older.)
I think I would work up the scenario first where you need to print something to the printer like... a report of a print job or your octoprint.log perhaps. Now with a need, you could start looking at what that might look like. From what program would you print? Most of the print-related activities are in the GUI side of Raspbian (PIXEL/Desktop/X windows). Unless you install that, you're confined to the command line.
So, start from the end. Do you want to be printing from the lp command? If not, then consider that all this may not be worth the effort.
Another route is to install the PIXEL Desktop using the ~/scripts install script, toggle on VNC from sudo raspi-config (which automatically installs cups), configure the printer using the web interface and then print from the Desktop software instead. The downside is the all this extra software will consume processing power from your Raspi and may ultimately affect print quality during a print job.
To elaborate on what @danielkrah said, you can't run cups on OctoPrint. OctoPrint is a server application. OctoPi is a linux distribution based on Raspbian, which includes a preinstalled and mostly preconfigured OctoPrint. To install CUPS on top of OctoPi, you can follow any Raspbian CUPS tutorial.
Because Raspbian is just Debian with tweaks and additions for Raspberry Pi computers, if you can't find a CUPS tutorial for Raspbian, you can probably also follow CUPS installation and configuration instructions for Debian.
It works fantastic for me. I was concerned that octopi might be such a modified version of raspbian that CUPS might not work, but nothing like that is the case. It's great.