Hi,
This time, I wanted to know how printers are managed in photon.
Nothing in the Doc!
I saw a paragraph about a PtPrintSel object with an Install button but no application use this functionnality.
I wanted to try with phAB but where is phAB ??? phAB was in alfa releases I can’t believe that it won’t be a part of QRTP! please tell me that there is a mistake in 08-00 cd !!!
I tried with Voyager but its Printer Setup item does nothing!
Others photon applications only supply a Preference button.
There is a spool manager which doesn’t manage anything at that time and which doesn’t provide printer installation. Strange!
Thanks, Alain.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
: Hi,
: This time, I wanted to know how printers are managed in photon.
: Nothing in the Doc!
: I saw a paragraph about a PtPrintSel object with an Install button but no application use this functionnality.
: I wanted to try with phAB but where is phAB ??? phAB was in alfa releases I can’t believe that it won’t be a part of QRTP! please tell me that there is a mistake in 08-00 cd !!!
I can’t help you with the printer setup, but PhAB is in RtP. Have you installed
the development package? If not, you won’t have PhAB (or any of the Photon
docs). If you have installed the development package, you can start PhAB
from the Launch menu (an icon isn’t added to the shelf).
: I tried with Voyager but its Printer Setup item does nothing!
: Others photon applications only supply a Preference button.
: There is a spool manager which doesn’t manage anything at that time and which doesn’t provide printer installation. Strange!
Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems Ltd.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
: Hi,
: This time, I wanted to know how printers are managed in photon.
We have an enumerator that runs at startup to detect your
printer. It starts “spooler” with the appropriate options
for the detected printer in order to manager the printer.
For example with a Epson Stylus 740:
spooler -d/dev/par1 -cepson -nEpson_Stylus_740
The printer configuration files are in /etc/printers.
Spooler creates directories under
/dev/printers/PrinterName/… with one subdirectory called
spool. Photon applications that you the PtPrintSelection()
function will write “.phs” files into the appropriate “spool”
directory for the chosen printer.
The configuration file tells the spooler which commands
to run based on the type of data written into the “spool”
directory. For “phs”, it will run the “phs-to-escp2”
filter.
: Nothing in the Doc!
: I saw a paragraph about a PtPrintSel object with an Install button but no application use this functionnality.
: I wanted to try with phAB but where is phAB ??? phAB was
: in alfa releases I can’t believe that it won’t be a part of
: QRTP! please tell me that there is a mistake in 08-00 cd !!!
You didn’t install it. Use the package manager to install
the development systems (You need to install Photon
Development to get PhAB).
: I tried with Voyager but its Printer Setup item does nothing!
: Others photon applications only supply a Preference button.
: There is a spool manager which doesn’t manage anything at that time and which doesn’t provide printer installation. Strange!
: Thanks, Alain.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
Hi,
This time, I wanted to know how printers are managed in photon.
Nothing in the Doc!
I saw a paragraph about a PtPrintSel object with an Install button but no application use this functionnality.
I wanted to try with phAB but where is phAB ??? phAB was in alfa releases
I can’t believe that it won’t be a part of QRTP! please tell me that there
is a mistake in 08-00 cd !!!
It is in the package repository, you have to download it once you have
installed the base package and set-up your networking…
You will have to go to get.qnx.com to get the latest QRTP first.
Chris
I tried with Voyager but its Printer Setup item does nothing!
Others photon applications only supply a Preference button.
There is a spool manager which doesn’t manage anything at that time and which doesn’t provide printer installation. Strange!
Thanks, Alain.
Previously, Steve Tomkins wrote in qdn.public.qnxrtp.applications:
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
: Hi,
: This time, I wanted to know how printers are managed in photon.
We have an enumerator that runs at startup to detect your
printer. It starts “spooler” with the appropriate options
for the detected printer in order to manager the printer.
For example with a Epson Stylus 740:
spooler -d/dev/par1 -cepson -nEpson_Stylus_740
The printer configuration files are in /etc/printers.
Spooler creates directories under
/dev/printers/PrinterName/… with one subdirectory called
spool. Photon applications that you the PtPrintSelection()
function will write “.phs” files into the appropriate “spool”
directory for the chosen printer.
The configuration file tells the spooler which commands
to run based on the type of data written into the “spool”
directory. For “phs”, it will run the “phs-to-escp2”
filter.
: Nothing in the Doc!
: I saw a paragraph about a PtPrintSel object with an Install button but no application use this functionnality.
: I wanted to try with phAB but where is phAB ??? phAB was
: in alfa releases I can’t believe that it won’t be a part of
: QRTP! please tell me that there is a mistake in 08-00 cd !!!
You didn’t install it. Use the package manager to install
the development systems (You need to install Photon
Development to get PhAB).
: I tried with Voyager but its Printer Setup item does nothing!
: Others photon applications only supply a Preference button.
: There is a spool manager which doesn’t manage anything at that time and which doesn’t provide printer installation. Strange!
: Thanks, Alain.
The problem is that my printer is a TCP/IP remote printer and not a local one!
So, I’m afraid that the enumerator won’t find anything!
In this case what is the device?
Thanks, Alain