NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Configure Epson M200 network printer on NetBSD [Partially SOLVED]



Configure Epson M200 network printer on NetBSD [Partially SOLVED]

localhost$ uname -a
NetBSD localhost 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: Thu Aug 20 16:16:33 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

1. pkgin install from the latest 9.0_current repository 'fam hal dbus' and cd /usr/pkg/share/examples/rc.d/; copy 'famd dbus hal' to /etc/rc.d/
2. nano /etc/rc.conf: add lines rpcbind=YES famd=YES dbus=YES hal=YES
3. download and unpack pkgsrc-current and pkgin install git; clone wip to pkgsrc
4. cd /usr/pkgsrc/wip/epson-inkjet-printer-escpr; make install clean [build OK]
5. Install DE (I am use Xfce), LibreOffice and additional software from pkgin
6. cd /usr/pkg/share/examples/rc.d/; cp cupsd /etc/rc.d/
7. add the line cupsd=YES to /etc/rc.conf
8. reboot
9. Open Firefox and visit localhost:631/admin
10. Add Printer; Auth: user name and password; Discovered Network Printers: set EPSON M200 Series; Connection: lpd://[Printer IP]:515/PASSTHRU|EPSON M200 Series
11. No Epson M200 in printers list by default then Provide a PPD File: Browse:
/usr/pkg/pkg/share/cups/model/epson-inkjet-printer-escpr (maybe using the directory pkg/pkg is the error); Select Epson-M200_Series-epson-escpr-en.ppd
12. Set Default Options: A4/Plain Paper-Standart
13. cd /usr/pkg/pkg/libexec/cups/filter/ (maybe using the directory pkg/pkg is the error)
14. copy epson-escpr and epson-escpr-wrapper to /usr/pkg/libexec/cups/filter/ (because these files are copy by build to this directory by error (error dir pkg/pkg))

15. Very important: pkgin install cups-filters (without cups-filters this printer doesnot print, but build wip/epson-inkjet-printer-escpr doesnot compile cups-filters by default)

16. reboot
17. Start Xfce4 and open Firefox; now network printer Epson M200 successfully prints on Firefox in NetBSD.

But in LibreOffice 7.0.0.3, the printer is not detected as the default printer (the error: No default printer found) and, accordingly, does not print... Workaround: convert documents to pdf in LO and print from FF.
 
Is there a way to get the LO to detect the default printer? It is not available in the LibreOffice/File/PrinterSettings. Similar problems sometimes occur in Linux users, but in my FreeBSD I do not see a problem with this Epson M200 & LO. In cups settings printer is set by default.


--- 

best regards,
Dmitrii Postolov
dpostolov%yandex.ru@localhost



Home | Main Index | Thread Index | Old Index