Photon printing under QRTP

Hello.

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.

Rodney Lott

http://qdn.qnx.com/support/bok/solution.qnx?10106
Just one minute - went to the knowledge base and searched for “printer
configuration”
Markus



“Rodney Lott” <rod@fuelcelltechnologies.ca> wrote in message
news:39F855A7.5176BB43@fuelcelltechnologies.ca

Hello.

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.

Rodney Lott

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.

Rodney

Markus Loffler wrote:

http://qdn.qnx.com/support/bok/solution.qnx?10106
Just one minute - went to the knowledge base and searched for “printer
configuration”
Markus

“Rodney Lott” <> rod@fuelcelltechnologies.ca> > wrote in message
news:> 39F855A7.5176BB43@fuelcelltechnologies.ca> …
Hello.

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.

Rodney Lott

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.

eg:
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

eg:

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

eg:
spooler -d/dev/null -cmy_remote1.cfg -nmy_remote1

Rodney Lott <rod@fuelcelltechnologies.ca> 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.

Rodney

Markus Loffler wrote:

http://qdn.qnx.com/support/bok/solution.qnx?10106
Just one minute - went to the knowledge base and searched for “printer
configuration”
Markus

“Rodney Lott” <> rod@fuelcelltechnologies.ca> > wrote in message
news:> 39F855A7.5176BB43@fuelcelltechnologies.ca> …
Hello.

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.

Rodney Lott

Wow! That’s works great. Thanks. I actually used your example more or
less verbatim. No point in using lpd if it is not necessary and makes
things more convoluted.

Thanks, David.

Rodney Lott

David Rempel wrote:

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.

eg:
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 <command line opts

eg:

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<name

eg:
spooler -d/dev/null -cmy_remote1.cfg -nmy_remote1

Rodney Lott <> rod@fuelcelltechnologies.ca> > 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.

Rodney

Markus Loffler wrote:

http://qdn.qnx.com/support/bok/solution.qnx?10106
Just one minute - went to the knowledge base and searched for “printer
configuration”
Markus

“Rodney Lott” <> rod@fuelcelltechnologies.ca> > wrote in message
news:> 39F855A7.5176BB43@fuelcelltechnologies.ca> …
Hello.

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.

Rodney Lott

Great. Now this info is posted in the QDN:

http://qdn.qnx.com/support/bok/solution.qnx?10134

Don

Rodney Lott <rod@fuelcelltechnologies.ca> wrote:
: Wow! That’s works great. Thanks. I actually used your example more or
: less verbatim. No point in using lpd if it is not necessary and makes
: things more convoluted.

: Thanks, David.

: Rodney Lott

: David Rempel wrote:
:>
:> 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.
:>
:> eg:
:> 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
:>
:> eg:
:>
:> 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
:>
:> eg:
:> spooler -d/dev/null -cmy_remote1.cfg -nmy_remote1
:>
:> Rodney Lott <rod@fuelcelltechnologies.ca> 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.
:>
:> > Rodney
:>
:> > Markus Loffler wrote:
:> >>
:> >> http://qdn.qnx.com/support/bok/solution.qnx?10106
:> >> Just one minute - went to the knowledge base and searched for “printer
:> >> configuration”
:> >> Markus
:> >>
:> >> “Rodney Lott” <rod@fuelcelltechnologies.ca> wrote in message
:> >> news:39F855A7.5176BB43@fuelcelltechnologies.ca
:> >> > Hello.
:> >> >
:> >> > 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.
:> >> >
:> >> > Rodney Lott

\

Donald Lalonde
OEM Support Specialist
QNX Software Systems Ltd.
mailto: donaldl@qnx.com http://qdn.qnx.com
Build a more reliable world

The QNX Real Time Platform is now available
Get it a http://get.qnx.com

I’m trying to find ncftpput on ftp.qnx.com … I’m stumped! How do you
use lpd instead of ncftpput? It’s a network(tcp/ip) printer I’m trying
to connect to…

Thanks

Donald Lalonde wrote:

Great. Now this info is posted in the QDN:

http://qdn.qnx.com/support/bok/solution.qnx?10134

Don

Rodney Lott <> rod@fuelcelltechnologies.ca> > wrote:
: Wow! That’s works great. Thanks. I actually used your example more or
: less verbatim. No point in using lpd if it is not necessary and makes
: things more convoluted.

: Thanks, David.

: Rodney Lott

: David Rempel wrote:
:
:> 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.
:
:> eg:
:> 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 eg:
:
:> 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 eg:
:> spooler -d/dev/null -cmy_remote1.cfg -nmy_remote1
:
:> Rodney Lott <> rod@fuelcelltechnologies.ca> > 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.
:
:> > Rodney
:
:> > Markus Loffler wrote:
:
:> >> > http://qdn.qnx.com/support/bok/solution.qnx?10106
:> >> Just one minute - went to the knowledge base and searched for “printer
:> >> configuration”
:> >> Markus
:
:> >> “Rodney Lott” <> rod@fuelcelltechnologies.ca> > wrote in message
:> >> news:> 39F855A7.5176BB43@fuelcelltechnologies.ca> …
:> >> > Hello.
:
:> >> > 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.
:
:> >> > Rodney Lott


Donald Lalonde
OEM Support Specialist
QNX Software Systems Ltd.
mailto: > donaldl@qnx.com > > http://qdn.qnx.com
Build a more reliable world

The QNX Real Time Platform is now available
Get it a > http://get.qnx.com


Channy Tremblay
Processor Platforms
Nortel Networks
Channyt@nortelnetworks.com
(613) 765 - 2046