Configuring a printer NOT-auto-detectde

I’m trying to configure an Epson Stylus Pro-XL printer.
It is NOT being auto detected.

However, if I create a PHS file then:
phs-to-escp2 < my_file.phs > dev/par1
it works fine.

How can I convince QNX that my printer exists even though it doesn’t
see it?

Hi Bill,

Which version of the OS are you working with ?
I am going to make a few assumption on your setup if these assumptions are
wrong please let me know.

  • your using QNX 6.X
  • local printer connected to your parallel port.

Since your printer isn’t detected on boot up you can add a spooler line to
your /etc/rc.d/rc.local file that should allow you to use your printer. You
can try the spooler command from command line and then once it works okay
you can then add it to your rc.local file.
( If your printer is black and white the epson.cfg file will need to be
slightly modified as well ) At present the default is color and not black
and white. ) If you modify the config file - you should make a backup just
in case, and use the one you modifiy.

spooler -c /etc/printers/epson.cfg -n -d/dev/par1

Then see if your able to print. If you get just blank pages coming out of
the printer you need to change the properties for the color mode to B&W.

Can you give this a try and post whether it worked for you or not.

Regards
Brenda





Bill Caroselli <qtps@earthlink.net> wrote in message
news:b3e3vi$6d7$1@inn.qnx.com

I’m trying to configure an Epson Stylus Pro-XL printer.
It is NOT being auto detected.

However, if I create a PHS file then:
phs-to-escp2 < my_file.phs > dev/par1
it works fine.

How can I convince QNX that my printer exists even though it doesn’t
see it?

GUI Group <gui@qnx.com> wrote:

Which version of the OS are you working with ?
I am going to make a few assumption on your setup if these assumptions are
wrong please let me know.

  • your using QNX 6.X
  • local printer connected to your parallel port.

Correct. 6.2

Since your printer isn’t detected on boot up you can add a spooler line to
your /etc/rc.d/rc.local file that should allow you to use your printer. You
can try the spooler command from command line and then once it works okay
you can then add it to your rc.local file.
( If your printer is black and white the epson.cfg file will need to be
slightly modified as well ) At present the default is color and not black
and white. ) If you modify the config file - you should make a backup just
in case, and use the one you modifiy.

spooler -c /etc/printers/epson.cfg -n -d/dev/par1

Then see if your able to print. If you get just blank pages coming out of
the printer you need to change the properties for the color mode to B&W.

Can you give this a try and post whether it worked for you or not.

Regards
Brenda

Thanks Brenda.

I did already discover this on my own.

It’s just a shame that the OS starts a spooler that has to be slayed
restarted correctly.

OK. I have spooler reloaded so that I can print to my printer from
Photon. Works great, thanks.

Now, I want to print to the same printer in a co-ordinated manner from
non-photon apps. I.E. lp > same printer.

I assume that what I want to to is set up the non-photon spooling first
and then just redirect the photon spooler to the non-photon spool
queue? Is that correct?

I ask because I see that the photon spool utility (to see pending jobs)
has the ability to display non-photon jobs. Is this looking for
non-photon spool queues too?

Or is there some other trick that I’m not seeing?

Bill Caroselli <qtps@earthlink.net> wrote:

OK. I have spooler reloaded so that I can print to my printer from
Photon. Works great, thanks.

Now, I want to print to the same printer in a co-ordinated manner from
non-photon apps. I.E. lp > same printer.

I assume that what I want to to is set up the non-photon spooling first
and then just redirect the photon spooler to the non-photon spool
queue? Is that correct?

I ask because I see that the photon spool utility (to see pending jobs)
has the ability to display non-photon jobs. Is this looking for
non-photon spool queues too?

Or is there some other trick that I’m not seeing?

Failing a better explanation of this,
what is the alternative method of directing plain ascii text to a
photon printer?

I.E. myprog | lp

P.S. Is seems that lp has been depreciated in favor of lpr.
Is that correct?