Created attachment 224746 [details] shar of print/epson-inkjet-printer-escpr2 This is a request from https://forums.freebsd.org/threads/print-epson-inkjet-printer-escpr2.80277/ This is the one that supports newer models than print/epson-inkjet-printer-escpr. I will also be the first maintainer. However, I do not own a printer that supports this, so I cannot yet confirm that it works.
Created attachment 224747 [details] poudriere log
Fantastic! I'll get my new printer that is supported by that escpr2 driver next week, but I don't have my new laptop ready with FreeBSD 13 yet, so maybe someone else with such a printer may be able to give feedback quicker than me, otherwise I'll report back as soon as possible.
I can look and test the port in poudriere/portlint/portclippy, although my printer is made by HP so I won't be able to test this driver in real life.
Even my EP-803AW seems to be able to print successfully by following the steps below :) Install print/epson-inkjet-printer-escpr2 Extract Epson-EP-803A-epson-escpr-en.ppd from package epson-inkjet-printer-escpr-1.7.9.txz sed -i '' -e '/^\*cupsFilter:/{s,/usr/local/libexec/cups/filter/epson-escpr-wrapper,/compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr-wrapper2,;}' Epson-EP-803A-epson-escpr-en.ppd Modify cupsd printer. Upload Epson-EP-803A-epson-escpr-en.ppd that has been rewritten by sed.
Committed!
Also this port does pass poudriere and I have re-formatted the port to statisfy portclippy.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c901aa70438d83eba874b7c69ea12ca40e73d5a7 commit c901aa70438d83eba874b7c69ea12ca40e73d5a7 Author: Tatsuki Makino <tatsuki_makino@hotmail.com> AuthorDate: 2021-05-08 19:08:56 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2021-05-08 19:18:36 +0000 New port: print/epson-inkjet-printer-escpr2 Epson Inkjet Printer Driver 2 (ESC/P-R) PR: 255680 print/Makefile | 1 + print/epson-inkjet-printer-escpr2/Makefile (new) | 72 +++++++++ print/epson-inkjet-printer-escpr2/distinfo (new) | 7 + print/epson-inkjet-printer-escpr2/pkg-descr (new) | 11 ++ print/epson-inkjet-printer-escpr2/pkg-plist (new) | 181 ++++++++++++++++++++++ 5 files changed, 272 insertions(+)
(In reply to Neel Chauhan from comment #6) Thank you very much. But portclippy is not a lint, is it? # #\n\n is added to the first line of the Makefile to avoid the bug 255520. > portlint print/epson-inkjet-printer-escpr2/ WARN: Makefile: "EXTRACT_ONLY" has to appear earlier. FATAL: Makefile: extra item "EXTRACT_SUFX" placed in the MAINTAINER section. FATAL: Makefile: extra item "DISTFILES_amd64" placed in the MAINTAINER section. FATAL: Makefile: extra item "DISTFILES_i386" placed in the MAINTAINER section. FATAL: Makefile: extra item "EXTRACT_ONLY" placed in the MAINTAINER section. WARN: Makefile: COMMENT is set externally to this port's Makefile, but this port is not configured as a slave port. FATAL: Makefile: extra item "MAINTAINER" placed in the LICENSE section. FATAL: Makefile: extra item "COMMENT" placed in the LICENSE section. WARN: Makefile: "LICENSE_COMB" has to appear earlier. WARN: Makefile: "LICENSE_COMB" has to appear earlier. WARN: Makefile: "LICENSE" has to appear earlier. WARN: Makefile: "LICENSE_COMB" has to appear earlier. WARN: Makefile: "RUN_DEPENDS" has to appear earlier. WARN: Makefile: "USES" has to appear earlier. 6 fatal errors and 8 warnings found.