Deutsch   English   Français   Italiano  
<pan$e391b$126e35d3$7f461ca3$d003bb02@linux.rocks>

View for Bookmarking (what is this?)
Look up another Usenet article

From: Nux Vomica <nv@linux.rocks>
Subject: Let Me Show Yous How To Print
Newsgroups: comp.os.linux.advocacy
Mime-Version: 1.0
Message-Id: <pan$e391b$126e35d3$7f461ca3$d003bb02@linux.rocks>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 54
Path: ...!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sat, 28 Sep 2024 14:05:29 +0000
Nntp-Posting-Date: Sat, 28 Sep 2024 14:05:29 +0000
X-Received-Bytes: 2310
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Bytes: 2629

All the distro suckers use CUPS because their distros use
CUPS and they are all distro lackeys.

But for those who still feel the need to use a 15th century
methodology (yes, printing is that fucking old), let me show
yous how a knowledgeable GNU/Linux user will print.

All GNU/Linux software should produce PostScript output for
printing.  For example, we can instruct LibreOffice to "Print
to File" and we will obtain a PostScript document.

Next comes the printer.  With GNU/Linux, all hardware should
be researched for compatibility before purchase, and regrading
printers, it should be compatible with HPLIP:

https://sourceforge.net/projects/hplip/files/

But don't build the entire HPLIP package.  Only the hpijs,
i.e. the ghostscript driver, is necessary.

This can be done as follows:

../configure -enable-hpijs-install --enable-hpijs-only-build ...

make

Now that we have hpijs we can print any PostScript file thusly
(this example is for the HP110 Laserjet):

gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs \
-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" \
-dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r600 \
-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 \
-dIjsUseOutputFD -sOutputFile=/dev/usb/lp0 $1


THAT'S how it's done.  Easy peasy.

Need a queue?  Need something more?

Then just get off your fat ass and put your scripting skills
to work.  With GNU/Linux anything is possible.

Say "kiss off" to that junk CUPS.  Print like an expert
with ghostscript and hpijs.

Of course I threw my HP110 into the garbage pit some time ago
but I still have my scripts just in case I need to resurrect
an 800-year-old methodology.



-- 
Systemd: solving all the problems that you never knew you had.