@vitaliikuzhdin, thank you! I used the parsing script you provided as my base to stay informed of the current version -- which today made me aware of the new version.
Search Criteria
Package Details: epson-inkjet-printer-escpr2 1.2.37-1
Package Actions
Dependencies (3)
- cups (cups-gitAUR, cups-gssapiAUR)
- ghostscript (ghostscript-gitAUR)
- imagescanAUR (optional) – scanner support
Required by (0)
Sources (2)
andit commented on 2025-12-01 18:10 (UTC)
vitaliikuzhdin commented on 2025-11-11 18:33 (UTC) (edited on 2025-11-14 13:00 (UTC) by vitaliikuzhdin)
@andit, I don’t find the new website visually appealing either, but at least it exposes some APIs you might find useful:
$ curl -sSL 'https://download-center.epson.com/api/v1/modules/?device_id=XP-970%20Series&os=DEBARM32®ion=US&language=en' | jq -r '.items[] | select(.module_name == "Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux" and .cti_category == "Sources")'
{
"id": "26093ce8-0b29-4589-91c3-a94a6ad475f8:1.2.36",
"cti_category": "Sources",
"cti": "10001",
"module_group": "26093ce8-0b29-4589-91c3-a94a6ad475f8",
"version": "1.2.36",
"publish_at": 1761577200,
"publish_end": 32503733999,
"url": "https://download-center.epson.com/f/module/bb48b7e6-662f-4152-a86f-c1a78fc74b1f/epson-inkjet-printer-escpr2-1.2.36-1.tar.gz",
"size": 6530408,
"module_name": "Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux",
"overview_url": null
}
If you use nvchecker, you can retrieve versions (though it won’t generate new links automatically) with:
[epson-inkjet-printer-escpr2]
source = 'jq'
url = 'https://download-center.epson.com/api/v1/modules/?device_id=XP-970%20Series&os=DEBARM32®ion=US&language=en'
filter = '.items[] | select(.module_name == "Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux" and .cti_category == "Sources") | .version'
You can change the device_id string to any other supported model. Valid os identifiers are: RPM, DEBX64, DEBARM64, and LXOTHER.
andit commented on 2025-11-11 17:27 (UTC)
Once again, Epson has changed the website where they push their updates... and I had to modify the download link for 1.2.36-1. It used to be http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX, as it is still stated in the README file, but this is now a redirect to the apparently new website https://download-center.epson.com/search/. There anyone can enter one of the supported printer models (e.g. "XP-970") and an operating system (e.g. "Linux Deb(x64)") and get to a generated download page. On it one of the linked packages is the source download, but—even though listed to be for "Linux RPM(x64)" and "Linux Deb(x64)"—only as RPM file. The other Linux download page, https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr2.php, is still available, but has NOT been updated (it's still at 1.2.35-1).
Epson, where are you going with this?!?
andit commented on 2025-05-16 16:36 (UTC)
In reply to ValdikSS comment:
Note that Epson license (COPYING.EPSON) imposes many restrictions, such as personal and internal business usage only, prohibition of distribution of the software, and "you agree not to place the Software onto or into a shared environment accessible via a public network such as the Internet or otherwise accessible by others outside the single [physical] location"
Yes, which is why the Epson Inkjet printer driver 2 for ESC/P-R or "epson-inkjet-printer-escpr2" is only available as a PKGBUILD. Only the PKGBUILD is publicly available, not the driver itself, but with it everyone can easily obtain and build the driver for themselves. The license is not for the PKGBUILD. To uphold the Epson license however, the PKGBUILD references it correctly, and it is every ones own responsibility to respect Epson's license and to comply with it.
ValdikSS commented on 2025-05-16 12:40 (UTC) (edited on 2025-05-16 12:41 (UTC) by ValdikSS)
Note that Epson license (COPYING.EPSON) imposes many restrictions, such as personal and internal business usage only, prohibition of distribution of the software, and "you agree not to place the Software onto or into a shared environment accessible via a public network such as the Internet or otherwise accessible by others outside the single [physical] location"
andit commented on 2025-05-02 19:28 (UTC) (edited on 2025-05-03 17:28 (UTC) by andit)
@vitaliikuzhdin BIG thanks! Fixed with an updated patch, yet more BIG thanks to loqs!
vitaliikuzhdin commented on 2025-05-02 15:54 (UTC)
The error is related to the recent update of GCC from version 14 to 15. The easiest way to fix it is by adding something like export CFLAGS+=" -std=gnu17".
andit commented on 2025-05-02 13:20 (UTC)
@jeadorf I don't know what to say...
I have the same gcc parameters, with only one exception: I've set -march=x86-64-v3 globally in my /etc/makepkg.conf. But that's the only difference. (If you don't know what that means, but you want to, please read this phoronix article and run ld.so --help to see what your hardware supports. But that's not the issue here, it's merely a difference...)
I now get the same error as you have! Please, let's continue this conversation on the Arch Forum: AUR Issues, Discussion & PKGBUILD Requests » epson-inkjet-printer-escpr2 (version 1.2.31-1) build suddenly fails
jeadorf commented on 2025-05-02 10:46 (UTC)
Interesting.
- I downloaded a snapshot from https://aur.archlinux.org/cgit/aur.git/snapshot/epson-inkjet-printer-escpr2.tar.gz
(I did the same with downloading the PKGBUILD only; after having read https://wiki.archlinux.org/title/Makepkg => same result)
-
tar xvzf epson-inkjet-printer-escpr2.tar.gz
-
cd epson-inkjet-printer-escpr2
-
makepkg > /tmp/makepkg.txt 2>&1
gcc -DHAVE_CONFIG_H -I. -I.. -I../escprlib/include -DGCOMSW_PRIVATE -DEPS_FILTER -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/julius/Downloads/epson-inkjet-printer-escpr2/src=/usr/src/debug/epson-inkjet-printer-escpr2 -flto=auto -MT epson_escpr2-filter.o -MD -MP -MF .deps/epson_escpr2-filter.Tpo -c -o epson_escpr2-filter.o `test -f 'filter.c' || echo './'`filter.c
filter.c: In function ‘main’:
filter.c:452:15: error: too many arguments to function ‘SendStartJob’; expected 0, have 1
452 | err = SendStartJob(FALSE);
| ^~~~~~~~~~~~
filter.c:54:21: note: declared here
54 | extern EPS_ERR_CODE SendStartJob ();
| ^~~~~~~~~~~~
filter.c: In function ‘set_pips_parameter’:
filter.c:927:15: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
927 | (void)read (STDIN_FILENO, &page_num, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:529: epson_escpr2-filter.o] Error 1
make[2]: Leaving directory '/home/julius/Downloads/epson-inkjet-printer-escpr2/src/epson-inkjet-printer-escpr2-1.2.31/src'
make[1]: *** [Makefile:457: all-recursive] Error 1
make[1]: Leaving directory '/home/julius/Downloads/epson-inkjet-printer-escpr2/src/epson-inkjet-printer-escpr2-1.2.31'
make: *** [Makefile:384: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I have not root-caused this further. But given that you don't see that on your side, I assume I have something weird going on on my system alone; and thus something that only I can fix/figure out in a spare moment. Thanks for trying to reproduce!
Pinned Comments
andit commented on 2025-05-16 16:36 (UTC)
In reply to ValdikSS comment:
Yes, which is why the Epson Inkjet printer driver 2 for ESC/P-R or "epson-inkjet-printer-escpr2" is only available as a PKGBUILD. Only the PKGBUILD is publicly available, not the driver itself, but with it everyone can easily obtain and build the driver for themselves. The license is not for the PKGBUILD. To uphold the Epson license however, the PKGBUILD references it correctly, and it is every ones own responsibility to respect Epson's license and to comply with it.
andit commented on 2023-10-24 17:22 (UTC) (edited on 2024-10-12 09:35 (UTC) by andit)
With every release I update the keywords (see Package Details above) containing a list of all Epson printer series supported by this driver. Additionally, SUPPORTED-PRINTERS at the GitLab repository gitlab.com/at.gentoo.repo/epson-inkjet-printer-escpr2 also contains a list of supported printers.
Most Epson Inkjet printers are covered by either this package or epson-inkjet-printer-escpr. If your printer is not supported by this package, be sure to check the other one. You may also want to consult the Wiki, specifically CUPS and CUPS/Printer-specific problems#Epson.
Note: all packages from AUR require
base-devel, please read Arch User Repository as a user or PKGBUILD#makedepends for details on PKGBUILD.