[cups] Sending mail from a CentOS7 virtual machine to Fuji Xerox ApeosPort-IV C4475 problem revisted

マスターズ・イアン ian at ncsa.jp
Thu Oct 11 23:51:18 PDT 2018


> Hmm, that should be simple linux command line, input file and output file with pipes I imagine.
> e.g.,
> cat <file> | filter
> The filter then output something to the command line (standard output). If it includes the required lines, it works. If not, it has an error.

Having a go at this but not getting very far:

① [root at centos7-restore-002 ~]# cat cups-test.txt | /usr/lib/cups/filter/pdftopdffx > 1
[root at centos7-restore-002 ~]# cat 1
this is a cups test

② [root at centos7-restore-002 ~]# cat cups-test.txt | /usr/lib/cups/filter/pdftopdffx > 1
[root at centos7-restore-002 ~]# cat 1
this is a cups test

③ [root at centos7-restore-002 ~]# cat cups-test.txt | /usr/lib/cups/filter/pdftopjlfx > 1
Segmentation fault (コアダンプ)

④ [root at centos7-restore-002 ~]# cat cups-test.txt | /usr/lib/cups/filter/fxauth > 1
/usr/lib/cups/filter/fxauth: 行 14: /etc/cups/ppd/.fx: そのようなファイルやディレクトリはありません

If I replace "source /etc/cups/ppd/${PRINTER}.fx" with "source /etc/cups/ppd/11F1.fx" ...

⑤ [root at centos7-restore-002 ~]# cat cups-test.txt | /usr/lib/cups/filter/fxauth > 1
[root at centos7-restore-002 ~]# cat 1
this is a cups test

Am I doing this wrong?

ian


More information about the cups mailing list