On Thu, 27 Sep 2001 13:26:24 -0400, “EZK” <email@example.com>
…My office has a HP Laserjet 5 with a network printserver that supports
lpd print services, but not ftp print services. ( At least that’s what I
think from what I read. )
Basically, I have NO idea how to configure any of the QNX print services, or
even what files are envolved.
I was hoping someone out there could give me a step-by-step on what
processes to start, and what configuration files to setup.
I can get the numeric TCP/IP address from the printer, I know it uses port
515 for lpd, and supports “raw printing” thru port 9100. I can telnet to
it, but I can’t ftp to it, so I don’t think ncftpput will work.
I would appreciate any help that someone could give me…
I have set up dirt-simple printing on our LAN thanks to the lpd
facility running on a networked Canon printer/copier/fax machine.
Text files sent from QNX 6.1 print using the default font which can be
changed through the Canon user interface.
Get on the qdn.qnx.com Web site Online Docs and find the rough draft
System Admininstration Guide. Read the sections on printing,
especially network printing.
Steps 2 through N:
The printer has a network hostname (“OurPrinter”) and an IP address.
So you need an entry in the local /etc/hosts file like:
You need an entry in the file /etc/printcap of the proper form. Our
Canon expects incoming files to be directed towards a queue called
“print” – but I don’t know how your printer is accommodated. Using
the conventional print device name of lpt1, the printcap entry looks
something like this:
lpt1 | Canon:
See the SysAdmin or other Unix printing docs for details and
confirmation – but rm means remote machine; rp means …uh remote
print queue or likewise; mx uncaps the page limit.
The directories sd (for spooling files) and lf (for errors) must be
With TCP/IP and the lpd daemon running on your QNX box, then issuing
should result in filename being printed. I hope no critical detail is
If some power user knows how to apply filters to better format data
into, say, PCL form, I would certainly appreciate a tutorial.
Stein.DSI/Redmond, WA USA