Sujet : Re: Let Me Show Yous How To Print
De : nv (at) *nospam* linux.rocks (Nux Vomica)
Groupes : comp.os.linux.advocacyDate : 28. Sep 2024, 22:46:22
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$94b3c$11f14ce7$4f931e62$a0c0111f@linux.rocks>
References : 1 2
On 28 Sep 2024 16:44:11 GMT, Stéphane CARPENTIER wrote:
All GNU/Linux software should produce PostScript output for
printing.
Why? You are shooting things without argument. Why is PostScript better
than everything else?
>
You are a total idiot and you make me mad.
ALL software ion GNU/Linux produces Postscript for printing.
Let's consider Cooledit, the text editor. If I instruct Cooledit
to print (Ctl+P) it will put up a dialog asking to print with
the command:
lpr file.txt
Lpr is the CUPS printing utility that handles, if necessary,
all conversions to PostScript. If no conversions are needed
then the PostScript output is unchanged.
Since I don't use CUPS I can substitute my own script for
lpr:
#!/bin/bash
PRINTFILE=`mktemp --suffix='.ps' --tmpdir=/tmp/printq app.XXX`
cat - > $PRINTFILE
This will redirect the output to a file in /tmp/printq and,
sure enough, the file is PostScript.
The same is true for LibreOffice and any other GNU/Linux application.
So, as usual, you are full of fucking shit.
Don't dare ever again to challenge my GNU/Linux authority.
-- Systemd: solving all the problems that you never knew you had.