You are not logged in.

#1 2024-07-22 15:17:53

testware
Member
Registered: 2024-01-25
Posts: 39

[SOLVED] cups print only content/ binay of image .png, .jpg, pdf

Hello,
My printer:
Epsion WF-2835

I have looked for divers here, but my WF-2835 not listed here:
https://www.openprinting.org/printers
https://wiki.archlinux.org/title/CUPS/P … c_problems

       I have installed:
cpus 2:2.4.10-1

   for pdf printing:
cups-pdf

   for gimp:
gutenprint
foomatic-db-gutenprint-ppds

   other:
cups-filters
ghostscript
gsfonts

   pacman can't find:
epson-inkjet-printer-escpr
epson-inkjet-printer-escpr2

If you need further information, feel free to ask.
Do you know how to print the image itself and not the binary code, because I don't?!

Last edited by testware (2024-07-22 21:38:21)

Offline

#2 2024-07-22 18:35:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

According to https://openprinting.github.io/printers/  your printer supports airprint (driverless printing), ie. you can send any pdf to it and it'll print it.
How did you configure it (choose "ipp everywhere") and how do you print (from gimp?)

See https://wiki.archlinux.org/title/CUPS#A … Everywhere but the correct detection depends on avahi, https://wiki.archlinux.org/title/CUPS#Printer_discovery & https://wiki.archlinux.org/title/CUPS#Network_2

You don't need gutenprint, nor the ppds nor cups-filtersnor the ugly gsfonts
cups-pdf depends on ghostscript and that's all that's required here.

Online

#3 2024-07-22 20:16:34

testware
Member
Registered: 2024-01-25
Posts: 39

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

I configuration my printer with cups in http://localhost:631/

I printed with:
lp file.png
lpr file.png

With GIMP you need to install all dependencies that listed in cups arch documentation:
file -> print (Ctrl+P)


I think you want to show me how to access my printer to print something.

But like i sad before i get not a picture printed but the binary of the picture.
But i want the picture.
Do you know how?

Last edited by testware (2024-07-22 20:17:32)

Offline

#4 2024-07-22 20:47:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

I configuration my printer with cups in http://localhost:631/

Yes, ok - but to what…

lpstat -s

With GIMP you need to install all dependencies that listed in cups arch documentation:

No. You need cups and cups-pdf

I think you want to show me how to access my printer to print something.

No, how to access it *properly*

But like i sad before i get not a picture printed but the binary of the picture.

because you're printing god-knows what printer driver.

Online

#5 2024-07-22 21:04:58

testware
Member
Registered: 2024-01-25
Posts: 39

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

$lpstat -s
system default destination: EPSON_WF-2830_Series
device for EPSON_WF-2830_Series: lpd://192.168.178.25:515/PASSTHRU

In cups stats:
Description:    EPSON WF-2830 Series
Location:    Local Printer
Driver:    Epson ActionLaser II - CUPS+Gutenprint v5.3.4 (grayscale)
Connection:    lpd://192.168.178.25:515/PASSTHRU
Defaults:    job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

In Modify Printer:
From what you said, I think I have to select "EPSON WF-2830 Series (driverless) (EPSON WF-2830 Series)" option. But I have to enter "Connection"

Last edited by testware (2024-07-22 21:17:23)

Offline

#6 2024-07-22 21:13:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

That's not an ipp everywhere URI but LPD.
Don't use that - configure the printer for IPP everywhere. It's gonna look somewhat like "ipp://192.168.178.25/ipp/print"
Sanity check on what it supports:

nmap 192.168.178.25

Online

#7 2024-07-22 21:16:05

testware
Member
Registered: 2024-01-25
Posts: 39

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

$nmap 192.168.178.25

Starting Nmap 7.95 ( https://nmap.org ) at 2024-07-22 23:13 CEST
Nmap scan report for EPSON6937CC.fritz.box (192.168.178.25)
Host is up (0.036s latency).
Not shown: 995 closed tcp ports (conn-refused)
PORT     STATE SERVICE
80/tcp   open  http
443/tcp  open  https
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect

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


side question how do you know something like that and how can I learn to regulate/ do/ maintain something like that myself

Offline

#8 2024-07-22 21:30:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

631/tcp  open  ipp

There's your open IPP port, so please configure that.
The world is moving away from PPDs, so even if there's one for the specific printer it'd be insane to chase down that rabbit hole.

This stuff is actually covered in the linked wiki.
nb. that the mentioned URI is an example - the pattern is somewhat common but not specified.
If you're using avahi instead of the systemd-resolved mdns-almost-responder cups should™ be able to receive the proper URI from the printer.
Otherwise you'll have to look around

Online

#9 2024-07-22 21:30:43

testware
Member
Registered: 2024-01-25
Posts: 39

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

It's work i modify it in In Modify Printer:
select: Internet Printing Protocol (ipp)
and type in the connection field: ipp://192.168.178.25/ipp/print

with -o i will config it to colored outputs and hopefully find a way to make it persistent.

Thanks you for spend time for helping me

Last edited by testware (2024-07-22 21:31:07)

Offline

#10 2024-07-22 21:36:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] cups print only content/ binay of image .png, .jpg, pdf

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.

Online

Board footer

Powered by FluxBB