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

Zdenek Dohnal zdohnal at redhat.com
Wed Nov 7 00:18:44 PST 2018


Hi Ian,

I'm sorry, but now IMHO I'm not able to help you further - I'm not able
to find where fxauth filter sources are (there isn't such filter created
by sources at https://github.com/rogers0/fxlinuxprint , it seems at
least). Maybe Gernot would be able to help further, since he has
experience with the fxlinuxprint sw.

But my simple guess would be to investigate what actually is in these
files created by filtering, but they seems to be a special format (these
created by fxlinuxprint filters), so I think usual means (opening in gs
or pdf viewer) will not work.

On 11/7/18 5:28 AM, マスターズ・イアン wrote:
> Hi Zdenek
>
>> sorry for no update, I was on vacation. More info below.
>
> No problem! Everyone needs a holiday.
>
>> Ian, would you mind checking if you have default printer set? You can
>> check it by '$ lpstat -d'. If it isn't set or it isn't set to printer
>> you want to use, you can change the settings in CUPS web ui on
>> localhost:631 (if cups service is running), in 'Printers' tab.
>
> Default printer wasn't set so I did:
> lpoptions -d 11F1
> Now lpstat -d shows:
> システムのデフォルトの宛先: 11F1 (System default destination: 11F1)
> and also set it in the GUI for good measure.
>
> After setting the default, the following command no longer segfaults:
> /usr/lib/cups/filter/pdftopjlfx 1 username '' 1 ''
> </home/user1/pdftopdffx.pdf >pdftopdffx.pjlfx
>
> It produced this file:
> ..-rw-rw-r--  1 user1 user1  16K 11月  7 10:19 pdftopdffx.pjlfx
>
> Then I did:
> /usr/lib/cups/filter/fxauth 1 username '' 1 ''
> </home/user1/pdftopdffx.pjlfx >pdftopdffx.fxauth
>
> I got a permissions error so I sudo-ed the command. That produced this
> error:
> /usr/lib/cups/filter/fxauth: 行 13: /etc/cups/ppd/.fx:
> そのようなファイルやディレクトリはありません (no such file or directory)
>
> So I tried to set the ${PRINTER}.fx in the fxauth file but failed, so
> I hard-coded it in. That stopped the error and the PJL information was
> added to the file.
>
> Then I sent the file raw to the printer:
>
> lpr -P 11F1 -o raw /home/user1/pdftopdffx.fxauth
> The file was sent OK (it arrived at the printer), but the printer menu
> showed the page as being 0 pages ...
>
> That's where I am right now.
>
> ian

-- 
Zdenek Dohnal
Associate Software Engineer
Red Hat Czech - Brno TPB-C




More information about the cups mailing list