Re: Epson M200 printer

2020-06-09 Thread Dmitrii Postolov
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" :
> On Sun, 26 Jan 2020 at 04:21, Dmitrii Postolov  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" :
>>  > On Thu, Jan 23, 2020 at 3:44 AM Dmitrii Postolov  
>> 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



Re: Epson M200 printer

2020-01-26 Thread Chavdar Ivanov
On Sun, 26 Jan 2020 at 04:21, Dmitrii Postolov  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" :
> > On Thu, Jan 23, 2020 at 3:44 AM Dmitrii Postolov  
> > 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
>


-- 



Re: Epson M200 printer

2020-01-25 Thread Dmitrii Postolov
Hi, Benny! Sorry for my bad English...

Any ideas why epson-inkjet-printer-escpr from pkgsrc-wip make install with 
errors?

23.01.2020, 13:22, "Benny Siegert" :
> On Thu, Jan 23, 2020 at 3:44 AM Dmitrii Postolov  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



Re: Epson M200 printer

2020-01-23 Thread Dmitrii Postolov
Hi, sorry for my bad English...

after
cd /usr/pkgsrc/
git clone git://wip.pkgsrc.org/pkgsrc-wip.git
cd /usr/pkgsrc/pkgsrc-wip/epson-inkjet-printer-escpr/

Some problems with driver. 'make' OK, but 'make install' with Errors on some 
group in end list of printers.
But Epson-M200_Series-epson-escpr-en.ppd build is OK. After manually set 
Epson-M200.ppd in localhost:631/admin and copy epson-escpr-wrapper and 
epson-escpr to /usr/pkg/libexec/cups/filter/, the next Error on trying of 
print: "Color Manager: no profiles specified in PPD". But this printer is 
monochrome (Epson have another color model of Epson M200 inkjet printer).

Settings in cups localhost:631/admin:
Driver: Epson M200 Series, Epson InkJet Printer Driver (ESC/P-R) for Linux 
(Color)
[My M200 printer is the network printer] lpd://192.168.1.217:515/PASSTHRU

-- Dmitrii

23.01.2020, 13:22, "Benny Siegert" :
> On Thu, Jan 23, 2020 at 3:44 AM Dmitrii Postolov  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



Re: Epson M200 printer

2020-01-23 Thread Benny Siegert
On Thu, Jan 23, 2020 at 3:44 AM Dmitrii Postolov  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


Epson M200 printer

2020-01-22 Thread Dmitrii Postolov
Hi, sorry for my bad English...

Please, help me to configure Epson M200 (monochrome) printer for NetBSD 9.0-RC1.

On FreeBSD this printer works afrer:

pkg install cups
pkg install cups-filters
pkg install epson-inkjet-printer-escpr

and configure cups.

I am build cups and cups-filters from pkgsrc, but
epson-inkjet-printer-escpr driver  is absent in
/usr/pkgsrc/print/.

It is possible to port epson-inkjet-printer-escpr to pkgsrc from FreeBSD or 
OpenBSD?

-- Dmitrii