You are not logged in.

#1 2024-04-25 00:02:21

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

[Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

My printer, a HP Envy 7640, doesn't have an entry on the [Printer-specific problems page](https://wiki.archlinux.org/title/CUPS/P … roblems#HP) There is also no model entry when setting up the printer in the cups web interface, what should I do?

I have also tried system-config-printer

Last edited by PersonWhoExists (2024-04-25 22:16:12)

Offline

#2 2024-04-25 00:30:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,831

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Generally basically everything HP printers is supported by hplib, have you tried that?

Offline

#3 2024-04-25 00:32:05

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Yes, I do have hplip installed.

Offline

#4 2024-04-25 00:41:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,831

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

And how are you intending to detect the thing? Network? Have you seen https://wiki.archlinux.org/title/CUPS#Network regarding setting up Avahi for autodetection?

Offline

#5 2024-04-25 00:46:11

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

I just opened up the cups web interface, went to the administrator tab clicked add a printer and it was just there under the discover tab.

Offline

#6 2024-04-25 09:23:26

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

According to https://openprinting.github.io/printers/ it's airprint capable
You'll need cups-pdf and can either manually add if via http://localhost:631 or https://wiki.archlinux.org/title/CUPS#CLI_tools

If you want to automatically detect it and unless the wiki is outdated, you'll need avahi and disable the systemd-resolved mdns responder, https://wiki.archlinux.org/title/CUPS#cups-browsed but afaiu

went to the administrator tab clicked add a printer and it was just there under the discover tab

it actually is detected anyway?

Offline

#7 2024-04-25 20:46:02

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

I have been able to get to the printer setup screen, both in the cups interface and in Kde Plasma settings and I have tried all the different drivers available. None of them seem to work, although the Hp design jet t1100 pcl 2.0 driver does make my printer make a noise.

Offline

#8 2024-04-25 21:13:05

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

You're not supposed to use any "driver", the printer works "driverless"
https://en.wikipedia.org/wiki/AirPrint
You install cups-pdf, add the airprint url (ipp or ipps) and configure the printer as generic/ipp everywhere and then should™ be able to print, provided you chose the proper URI (which, if the printer is detected via mdns should not be any proble, otherwise try "ipp://<printer_ip_or_domain_here>/ipp/print")

Offline

#9 2024-04-25 21:21:39

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

When setting this, printing anything results in the printer hanging the normal loading screen, and after a while making a success chime without printing anything.

Offline

#10 2024-04-25 21:50:14

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

1. what printer address gets actually autodetected?
2.

pacman -Qs cups
nmap <printer_ip_here>
lpstat -v

Offline

#11 2024-04-25 21:55:04

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

After running those commands, I have a "Jetdirect" on port 9100 with it running at 192.168.1.246:9100

9100/tcp open  jetdirect

Offline

#12 2024-04-25 21:57:20

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual in- and outputs.
And jetdirect on 9100 is most likely wrong (at least it's not IPP and will not work this way)

Offline

#13 2024-04-25 21:59:36

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Ok, here is the whole thing

? landonk  ~   17:50  pacman -Qs cups
local/cups 1:2.4.7-2
    OpenPrinting CUPS - daemon package
local/cups-filters 2.0.0-1
    OpenPrinting CUPS Filters
local/libcups 1:2.4.7-2
    OpenPrinting CUPS - client libraries and headers
local/libcupsfilters 2.0.0-1
    OpenPrinting CUPS Filters - contains all the code of the filters of the former
    cups-filters package as library functions

? landonk  ~   17:50  nmap 192.168.1.246:9100
bash: nmap: command not found

? landonk  ~   17:52  sudo pacman -S nmap
[sudo] password for landonk:
resolving dependencies...
looking for conflicting packages...

Packages (1) nmap-7.94-2

Total Download Size:    5.61 MiB
Total Installed Size:  24.56 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
nmap-7.94-2-x86_64        5.6 MiB  9.61 MiB/s 00:01 [############################] 100%
(1/1) checking keys in keyring                       [############################] 100%
(1/1) checking package integrity                     [############################] 100%
(1/1) loading package files                          [############################] 100%
(1/1) checking for file conflicts                    [############################] 100%
(1/1) checking available disk space                  [############################] 100%
:: Processing package changes...
(1/1) installing nmap                                [############################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

? landonk  ~   17:52  192.168.1.246:9100^C

? landonk  ~   17:52  nmap 192.168.1.246:9100
Starting Nmap 7.94 ( https://nmap.org ) at 2024-04-25 17:52 EDT
Failed to resolve "192.168.1.246:9100".
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.08 seconds

? landonk  ~   17:52  nmap 192.168.1.246
Starting Nmap 7.94 ( https://nmap.org ) at 2024-04-25 17:53 EDT
Nmap scan report for HP18292D.cmts.sth.ptd.net (192.168.1.246)
Host is up (0.0082s latency).
Not shown: 992 closed tcp ports (conn-refused)
PORT     STATE SERVICE
80/tcp   open  http
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
631/tcp  open  ipp
8080/tcp open  http-proxy
9100/tcp open  jetdirect
9220/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 1.33 seconds

Offline

#14 2024-04-25 22:06:17

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Please use [code][/code] tags. Edit your post in this regard.

The printer supports pretty much everything, you don't want the jetdirect thing but IPP and adding

sudo lpadmin -p HP_Envy_7640 -E -v "ipp://192.168.1.246/ipp/print" -m everywhere

will most likely work but you've not installed cups-pdf which is a hard requirement for IPPEverywhere/Airprint

Offline

#15 2024-04-25 22:10:52

PersonWhoExists
Member
Registered: 2024-03-22
Posts: 9

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Okay, thanks after installing cups-pdf, it started working.

Offline

#16 2024-04-25 22:13:38

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [Solved] My printer doesn't seem to exist on linux (missing cups-pdf)

Which is why I told you that in #6

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB