Hi to All! Sorry for my bad English...

Please assist the community in setting up a network monochrome inkjet printer 
Epson M200 on NetBSD 9.0.

NetBSD localhost 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: Sun Jun 7 19:08:12 
UTC 2020 mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC 
amd64

Pkgsrc-wip (added to/usr/pkgsrc/wip) has an epson-inkjet-printer-escpr driver 
that is successfully build on a freshly installed NetBSD. But the driver 
contains a mistake in ways: after compilation it is necessary to copy files of 
epson-escpr-wrapper and epson-escpr from /usr/pkg/pkg/libexec/cups/filter/ to 
/usr/pkg/libexec/cups/filter/. In/etc/rc.conf added cupsd=YES lines (cupsd 
copied from examples/rc.d to/etc/rc.d), lpd=YES, lpd_flags="-s". After adding a 
network printer using cups http://localhost: 631/admin via PPD, it appears in 
the list of available devices, but does not print from Firefox.

On FreeBSD a similar problem under it: after installing from 
epson-inkjet-printer-escpr from packages, and setting it up in a similar way, 
the printer did not print until installing the cups-filters package.

The cups-filters file is not in the driver dependencies in NetBSD, but if 
manually install cups and cups-filters using pkgin, add cups-browsed to 
/etc/rc.conf, the error is "Color Manager: no profiles specified in PPD." (I 
have an Epson M200 monochrome printer, also exist an Epson M200 color printer, 
the driver is the same).

How do I set up this Epson M200 network printer to print correctly in Firefox 
browser?

26.01.2020, 20:11, "Chavdar Ivanov" <ci4...@gmail.com>:
> On Sun, 26 Jan 2020 at 04:21, Dmitrii Postolov <dposto...@yandex.ru> wrote:
>>  Hi, Benny! Sorry for my bad English...
>>
>>  Any ideas why epson-inkjet-printer-escpr from pkgsrc-wip make install with 
>> errors?
>
> The PLIST appears to be incorrect. With the following change
> ...
> diff --git a/epson-inkjet-printer-escpr/PLIST 
> b/epson-inkjet-printer-escpr/PLIST
> index d937e4fbc2..7011f0f999 100644
> --- a/epson-inkjet-printer-escpr/PLIST
> +++ b/epson-inkjet-printer-escpr/PLIST
> @@ -2,569 +2,569 @@
>  lib/libescpr.la
>  pkg/libexec/cups/filter/epson-escpr
>  pkg/libexec/cups/filter/epson-escpr-wrapper
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_1430-epson-escpr-en.ppd
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_630-epson-escpr-en.ppd
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_700-epson-escpr-en.ppd
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_710-epson-escpr-en.ppd
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_720-epson-escpr-en.ppd
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_730-epson-escpr-en.ppd
> -pkg/share/cups/model/epson-inkjet-printer-escpr/Epson-Artisan_800-epson-escpr-en.ppd
> .....
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_1430-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_630-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_700-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_710-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_720-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_730-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_800-epson-escpr-en.ppd
> +share/ppd/epson-inkjet-printer-escpr/Epson-Artisan_810-epson-escpr-en.ppd
>
> (basically, for the .ppd files, get rid of the 'pkg/' in the beginning
> of each line and also replace 'cups/model' with 'ppd').
>
> This leaves
>
>  pkg/libexec/cups/filter/epson-escpr
>  pkg/libexec/cups/filter/epson-escpr-wrapper
>
> in the wrong place - they will go into /usr/pkg/pkg/libexec..., due to
> some miscalculation of CUPS_FILTER_DIR in the configure script - it
> gets to look like /usr/pkg/pkg - , but I guess one can simply move or
> hard link them to the right place. This way I was able to complete
> 'make package', but, as I do not have an Epson printer, I haven't
> tested it.
>
> Chavdar
>
> ....
>
>>  23.01.2020, 13:22, "Benny Siegert" <bsieg...@gmail.com>:
>>  > On Thu, Jan 23, 2020 at 3:44 AM Dmitrii Postolov <dposto...@yandex.ru> 
>> wrote:
>>  >> It is possible to port epson-inkjet-printer-escpr to pkgsrc from FreeBSD 
>> or OpenBSD?
>>  >
>>  > I just ported this driver and added it to pkgsrc-wip as
>>  > wip/epson-inkjet-printer-escpr. Please build it from source and report
>>  > back if it works!
>>  >
>>  > --
>>  > Benny
>>
>>  ---
>>
>>  best regards,
>>  Dmitrii Postolov
>>  dposto...@yandex.ru
>
> --
> ----


--- 

best regards,
Dmitrii Postolov
dposto...@yandex.ru

Reply via email to