I was hoping someone more knowledgeable than I would have a fix.
Apparently there isn't one.
I now see that five years go, Derek Noonberg explained on an xpdf
forum that he had changed from GTK to Qt libs. That means he's using
the Qt print dialog. AFAICT from
https://fossies.org/linux/xpdf/xpdf-qt/XpdfWidget.h)
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4930
inter alia the Qt print dialog backend is hardcoded to use CUPS.
There's something called Common Print Dialog Backends but if it can be
used as a hook to subvert how the Qt print dialog identifies available
printers, it's above my pay grade.
Rich <ri...@example.invalid> writes:
> Mike Spencer <m...@bogus.nodomain.nowhere> wrote:
>
> With the older xpdf from Slackware in the 14.x series, to "print to a
> program" you had to prefix the command line with a pipe (|). Try:
>
> defaultPrinter "|lpr -P pdf2"
Not on my installation. The print dialog comes up with a choice of
"print to file" or "enter a command" without that in xpdfrc.
>> I've expunged CUPS and replace it with lprng (see earlier
>> posts/discussion here re. CUPS) and that seems to be working fine
>> with Seamonkey.
> This is likely the cause of your issue.
Yes, clearly. See above.
>> More niggling bother in setting up Slack 15. Watch this space; I
>> have more. :-)
> This particular bother was likely brought on by your "expunging
> cups", so it is not Slackware's fault. You have only yourself to
> blame for that decision and the fallout that results therefrom.
Ha! Yes, of course. But you don't know the half of it. ;-)
<RANT>
I used to do presentations on blacksmithing for groups of 1st year MIT
students in a course on the history of technology. Part of their
reading was on Frederick Taylor, the father of "scientific management".
Taylor (q.g. if he's new to you) introduced things like standardized
shovel sizes for specific materials -- various sizes of coal, sand
etc. -- which he claimed would maximize the amount of work
accomplished by laborers using shovels. He asserted that there was
one best way for all tasks and all "workers" that would maximize
efficiency and managers should determine those ways and and enforce
their use.
Now blacksmithing was likely to be seen by students at a prestigious
university as a blue-collar labor occupation so it's reasonable to
infer that they would bring their recent Taylor reading to the
blacksmith shop. It was an opportunity for me to point out to them
that no self-respecting blacksmith would have anything to do with
Taylor's management "science".
But that's not because smiths don't care for efficiency. Blacksmiths
configure their tools and workspace very carefully. E.g., handles of
my frequently-used hammers are individually shaped to fit my hand.
Smiths coordinate timing of operations, body movement and choice of
tool moment by moment on the fly. After all, as soon as a workpiece
comes out of the fire, it's cooling off, racing toward being
unweldable or unforgeable. Every blacksmith shop is a unique
constellation of carefully crafted idiosyncrasies, ergonomic
configurations, custom-made tooling and more, all devoted to
personalized efficiency.
I shouldn't have to say, at this point, that this predisposition is
salient among the reasons why I use Slackware and not Windoes of
Ubuntu.
</RANT>