Allmost all my print queues are without filters. NetBSD makes is
soooo much easier with the lp=port@hostname.
Sample printcap entry:
lp:\
:sh:\
:lp=9100@default:\
:sd=/var/spool/output/default:\
:lf=/var/log/lpd-errors:\
:mx#0:
For basic stuff the printer should be able to recongize the input stream.
I have done this to Ricoh station simular to that class. It will only use the
defaults
that the printer is set to. If you want to do anything else it is probably
easier
to use some filtering thing like CUPS.
I do you use some filter scripts I have written to send PCL commands to do
things like
rotate the page, switch to condensed font and the like. It is pretty easy to
do, just
echo out the escape sequences, then just do '/bin/cat'. Remember to do an exit 0
to terminate the filter script correctly as the last line.
All of my opinions are my own and do not in any way reflect my current employers
Ron S.
________________________________________
From: [email protected] [[email protected]] on behalf
of Gerard Lally [[email protected]]
Sent: Sunday, June 21, 2015 09:46
To: NetBSD
Subject: Printing to a network printer by IP address
(Apologies if this ends up double-posted.)
(System: NetBSD 7 amd64)
Is is possible to print to an ethernet-connected printer with just the
standard NetBSD print commands (LPD, LPR), without going through CUPS?
The printer is connected directly to the network switch and has a fixed
IP address on the LAN; there is no print server. It is a business-class
Ricoh Aficio MP C2800 Postscript and PCL printer.
I have a hard time getting a conceptual overview of printing in BSD and
Linux to be honest; it seems to be a bit of a minefield with postscript,
ghostscript, CUPS, filters, foomatic, drivers, spooling, line printing
and so on.
At the moment I would like to print a copy of some of the text
configuration files in /etc but it would be useful eventually to be
able to print documents formatted with graphics as well.
--
Gerard Lally
________________________________
Notice: This communication, including attachments, may contain confidential or
proprietary information to be conveyed solely for the intended recipient(s). If
you are not the intended recipient, or if you otherwise received this message
in error, please notify the sender immediately by return e-mail and promptly
delete this e-mail, including attachments, without reading or saving them in
any manner. The unauthorized use, dissemination, distribution, or reproduction
of this e-mail, including attachments, is strictly prohibited and may be
unlawful.