The officially official Devuan Forum!

You are not logged in.

#1 2024-12-27 11:23:08

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Epson Printer Driver (PC Fax) - systemctl not found?

Hello ,

i am wanting to install the proper Printer Driver for Epson ET-.5170 printer;

so far it function over USB after installing LSB-compat from Stretch,

however, the package

"epson-pc-fax2" is not installing with error

Setting up epson-pc-fax2 (1.0.0) ...
/var/lib/dpkg/info/epson-pc-fax2.postinst: 14: systemctl: not found
dpkg: error processing package epson-pc-fax2 (--install):
 installed epson-pc-fax2 package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 epson-pc-fax2

is there something can do to overcome this error?

(systemctl: not found)

this did not happen with previous iterations of the driver.

thanks

Offline

#2 2024-12-27 12:25:21

RedGreen925
Member
Registered: 2024-12-07
Posts: 56  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

Give the replacement package for it a try, it does not get installed by default. Either that or download the package extract it then make the edit to not call systemctl after that using the dpkg-repack to get new package to install.

zeus@9600k:~$ apt info systemctl
Package: systemctl
Version: 1.4.4181-1.1
Priority: optional
Section: admin
Source: docker-systemctl-replacement
Maintainer: Dmitry Smirnov <onlyjob@debian.org>
Installed-Size: 279 kB
Depends: python3:any
Recommends: procps
Suggests: tini | dumb-init
Conflicts: systemd
Homepage: https://github.com/gdraheim/docker-systemctl-replacement
Download-Size: 79.8 kB
APT-Sources: http://deb.devuan.org/merged excalibur/main amd64 Packages
Description: daemonless "systemctl" command to manage services without systemd
 "systemctl" is a replacement command to control system daemons without
 systemd. "systemctl" is useful in application containers where systemd is
 not available to start/stop services.
 .
 This script can also be run as init of an application container (i.e. the
 main "CMD" on PID 1) where it will automatically bring up all enabled
 services in the "multi-user.target" and where it will reap all zombies
 from background processes in the container. When stopping such a container
 it will also bring down all configured services correctly before exit.

Offline

#3 2024-12-27 15:53:45

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

thank you very much for kind help,

maybe Epson has made an error with this package, don't know, there is still error
after
installing "systemctl"

Setting up epson-pc-fax2 (1.0.0) ...
/usr/bin/systemctl:1541: SyntaxWarning: invalid escape sequence '\w'
  expanded = re.sub("[$](\w+)", lambda m: get_env1(m), cmd.replace("\\\n",""))
/usr/bin/systemctl:1543: SyntaxWarning: invalid escape sequence '\w'
  new_text = re.sub("[$][{](\w+)[}]", lambda m: get_env2(m), expanded)
/usr/bin/systemctl:1628: SyntaxWarning: invalid escape sequence '\w'
  cmd3 = re.sub("[$](\w+)", lambda m: get_env1(m), cmd2)
/usr/bin/systemctl:1631: SyntaxWarning: invalid escape sequence '\w'
  newcmd += [ re.sub("[$][{](\w+)[}]", lambda m: get_env2(m), part) ]
dpkg: error processing package epson-pc-fax2 (--install):
 installed epson-pc-fax2 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 epson-pc-fax2

Offline

#4 2024-12-27 16:04:20

RedGreen925
Member
Registered: 2024-12-07
Posts: 56  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

Damn looks like you either need to edit the package or give up on the fax in it. I would think there is not a lot times you need a fax machine.

Edit: Another option is just extract the package and manually move the files to where they would normally be installed. I would think the systemctl is just restarting the CUPS daemon for it to find the new .ppd file(s) is should probably be installing, plus maybe a binary for the fax function.

Last edited by RedGreen925 (2024-12-27 16:07:51)

Offline

#5 2024-12-27 16:17:44

greenjeans
Member
Registered: 2017-04-07
Posts: 712  
Website

Re: Epson Printer Driver (PC Fax) - systemctl not found?

Edit: Another option is just extract the package and manually move the files to where they would normally be installed

This is what I did to get my printer running, the whole printing shebang has a ton of PPD's, but didn't have one for my newer Canon printer, but the Canon website had just what I needed, pulled the appropriate .ppd and dropped it in and printer fired right up next time I opened the print manager.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded January 2025!
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.
New Devuan-mate-mini isos too!
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#6 2024-12-27 16:53:14

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

thank you,

its good to have it installed, am still using phone at home, glad if i might use it sometime;

will resort to manual install:

1. data.tar.gz > contents have installed in the respective directories "/usr/share/cups/model/Epson" and "/opt/epson/epson-pc-fax2/
2. control.tar.gz > do i need to use those aswell? they are shell scripts named "postinst" "postrm" "prerm" > probably those are needed for the install procedure, so most probably the manual install is done then by moving the above folders.

EDIT: it seems the manual copying did not suffice, still getting error after reboot

"missing printer driver" > "no printer driver for Epson ET-5170 Series FAX"

https://ibb.co/wpR5f8p

Last edited by kapqa (2024-12-27 17:12:44)

Offline

#7 2024-12-27 17:37:53

RedGreen925
Member
Registered: 2024-12-07
Posts: 56  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

/opt/epson/epson-pc-fax2/

I highly doubt that fax directory is in the path so will never be found.

zeus@9600k:~$ echo $PATH
/sbin:/home/zeus/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
root@9600k:~# echo $PATH
/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Try.

ln -s /opt/epson/epson-pc-fax2 /usr/local/bin/epson-pc-fax2

To link it to a directory that should be in the path.  I think I have the link command correct, I have to look it up most times, if not try it the other way round.

Edit: can you link to the download page you got the file from so I can look at it, I do not seem to be able to find it.

Last edited by RedGreen925 (2024-12-27 17:48:03)

Offline

#8 2024-12-27 20:06:10

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

thanks, i got it running on ubuntu already, it should function then also on devuan (with lsb-compat the printer over usb does already, ethernet also (ofcourse))

the driver are here

https://epson.com/Support/wa00821?utm_s … s-linux-us

specifically for et-5170

http://download.ebz.epson.net/dsc/searc … archModule

and here the info on how to install the fax package on linux plus usage

https://download.ebz.epson.net/man/linu … tml#sec6-1

EDIT:

i copied binary "epfax2" into /usr/local/bin
but there is another binary "backend" > "epsonfax2" don't know where to put thsi one.

EDIT2:

the proper link for the fax package is here

http://download.ebz.epson.net/dsc/du/02 … f4cd413973

thank you very much.

Last edited by kapqa (2024-12-27 20:26:03)

Offline

#9 2024-12-27 20:37:40

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

oh thanks,

i tried the older driver (PC FAX1)

which does indeed install with the help of lsb-compat which has been kindly provided by debian-archive

http://archive.debian.org/debian/pool/m … _amd64.deb

afterwards,

PC-FAX (old version)

does install and need no "systemctl"

but could be that in future version this solution no longer works since cups is giving some message that in future CUPS some feature may be disabled or similar.

https://ibb.co/phdpgRb

(link to old fax driver)
https://download.ebz.epson.net/dsc/du/0 … &OSC=LX&DL

(manual for epson fax driver 1)
http://download.ebz.epson.net/man/linux/pc-fax_e.html

Last edited by kapqa (2024-12-27 20:38:34)

Offline

#10 2024-12-27 22:40:27

RedGreen925
Member
Registered: 2024-12-07
Posts: 56  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

PC-FAX (old version)

does install and need no "systemctl"

but could be that in future version this solution no longer works since cups is giving some message that in future CUPS some feature may be disabled or similar.

It is definitely possible they disable the feature you rely on, it would not be the first time they have done things like that. So looking at that, did it work with installing the old package?

Offline

#11 2024-12-28 00:26:46

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

yes, it did install,
but have not yet tested functionality, since have no fax number to send to,
and sending fax to own phone number probably wont work.

but on ubuntu have received fax (via webservice), it was bit strange noises, but did function in the end; have still to find out how this works (by not creating much noise in the house).

thanks for all the help, i would consider it (hopefully) (partly) solved.

Last edited by kapqa (2024-12-28 00:28:34)

Offline

#12 2024-12-28 01:18:39

RedGreen925
Member
Registered: 2024-12-07
Posts: 56  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

but on ubuntu have received fax (via webservice), it was bit strange noises

smile obviously never used a phone modem to connect to the internet. Those strange noises are the handshake as it is called when the machines negotiate the connection. A common sound heard in the old days before ethernet became the connection of choice and you had no choice but to use the telephone modem to connect. And got to connect at a whopping speed of ~4k/s for the fastest of them modems. See if one of them services have a test number to send to and of course get them to send another to confirm you can receive. If receiving then you can send.

Offline

#13 2024-12-28 06:38:36

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 274  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

https://support.usa.canon.com/kb/s/article/ART172299

After you have connected the fax machine to your telephone line, you can now test to see if it is ready to send and receive faxes.

Here’s how:

Program your full 10-digit fax number into your fax machine.

Send a test fax to 1-855-FX-CANON (1-855-392-2666).

Once our service receives your fax, a test page will be sent back to the fax number programmed into your machine.

This process generally takes 2 to 3 minutes.


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#14 2024-12-28 11:28:24

kapqa
Member
Registered: 2019-01-02
Posts: 358  

Re: Epson Printer Driver (PC Fax) - systemctl not found?

jehjeh i did connect to internet already ,
my first laptop had already modem, plus i got an isdn card like such one
https://docs.rs-online.com/04a6/0900766b8002b85f.pdf

to be honest, ISDN was great qualitY;
then when ADSL came along, we switched, and now i am kinda mssing it , on the phone side:)

lets see what 2025 brings along!
happy computing!

Offline

Board footer