Ok here’s an example of setting up a network printer, the example
uses ncftpput but you should be able to figure it out enough to get
lpd to work.
copy the printer config file from the printer you would use and
name it something else, this is important because if you edit the original
file it will “spill” in the package file system and will not get any
future updates (until you remove the spill file with pkg-ctl).
Making a copy will avoid all that.
cp /etc/printers/ps.cfg /etc/printers/my_remote1.cfg
edit the new file and change the phs-to- line to
read Filter = phs::phs-to- and add a filter that will
read Filter = :$d:ncftpput
FileVersion = 2
Filter = ps:$d:ncftpput -V -E 10.2.5.7 /prt0
Filter = phs:ps:phs-to-ps
Now start a new spooler wil the command line options:
-d -c -n
spooler -d/dev/null -cmy_remote1.cfg -nmy_remote1
Rodney Lott <firstname.lastname@example.org> wrote:
Thanks, that’s what I was looking for. But now I must ask another
question, since the printing that I am attempting to do is not standard.
Under QNX4, I was able to use lpsrvr and lpd in combination to print to
a TCP/IP aware printer. I was then able to print from the cmd line or
from Photon, because the lpsrvr queues ultimately were sent off via lpd
to the TCP/IP printer attached to the network. Do you know of any ways
to do this? I have the lpd basic printing working, so now I would just
like to figure out how I would set up the configuration file so that it
will send the filtered file to the lpd print queue.
Thanks very much.
Markus Loffler wrote:
Just one minute - went to the knowledge base and searched for “printer
“Rodney Lott” <> email@example.com> > wrote in message
news:> 39F855A7.5176BB43@fuelcelltechnologies.ca> …
You will excuse this question if it has been asked before, but I was
wondering where the printers file for Photon printing is supposed to be
located, or for that matter, if someone could point me towards some
documentation to read if the Photon printing configuration has changed.
I have done QNX4 printing configuration and I know where all the
necessary files are, but I haven’t had alot of luck finding the
locations of the QRTP counterparts.
Thanks very much.