[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 01:26:54 PST 2018
On 11/7/18 9:24 AM, Gernot Hassenpflug wrote:
> On Wed, Nov 7, 2018 at 5:18 PM Zdenek Dohnal <zdohnal at redhat.com
> <mailto:zdohnal at redhat.com>> wrote:
>
> 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.
>
>
>
> The fxauth filter is simply a script to add some PJL lines to the
> printjob, nothing else.
> So if the printjob works when adding the required lines by hand, then
> it will work when the fxauth filter adds them automatically.
> At this stage there is no indication that the original files the user
> wants to print actually are correct.
>
> The origina idea was to take a know file that works, for example from
> Windows, remove the lines that the filter should add,
> and run it through the filter and then pass the result raw to the printer.
> That would show that the filter works. As far as I have seen, this has
> not been achieved yet, but is feasible I expect.
So there is still a problem in filters from fxlinuxprint, IIUC... since
Ian ran it only through them and sent to the printer without any further
filtering.
> Any other problems would have to be investigated in the preceding filters.
That we could see from /var/log/cups/error_log if debug logging is
turned on.
>
> 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.
>
>
> Best regards,
> Gernot
>
>
> 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
>
>
--
Zdenek Dohnal
Associate Software Engineer
Red Hat Czech - Brno TPB-C
More information about the cups
mailing list