Let Me Show Yous How To Print

Liste des GroupesRevenir à col advocacy 
Sujet : Let Me Show Yous How To Print
De : nv (at) *nospam* linux.rocks (Nux Vomica)
Groupes : comp.os.linux.advocacy
Date : 28. Sep 2024, 15:05:29
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$e391b$126e35d3$7f461ca3$d003bb02@linux.rocks>
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.

Date Sujet#  Auteur
25 May 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal