Printing

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

Marc,

I have exactly the same problem with my HP LaserJet 6P. Empty pages !!!

My 6P was enumerated ok, but thats all.

I switched my system back to MS Windows mode and download a document on
printing:

http://qdn.qnx.com/support/docs/photon114/run_inst/printing.html

(Please post back to this forum if you figure how to print)

I tried some of the suggestions like :

cat >/dev/par1
This is a test

I get the “This is a test” to print out, but that’s the only way I’ve been
able to print.

Photon uses phfont. My running phfont is phfontFA, not the phfontpfr, or
phfontphf.
I have no idea what the deal is with that.

-Bill




“Marc Raaphorst” <vorpal20@hotmail.com> wrote in message
news:8so9jp$g3u$1@inn.qnx.com

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

(Dang the netiquette…)

Me too! (HP 5L)

bill wrote:

Marc,

I have exactly the same problem with my HP LaserJet 6P. Empty pages !!!

My 6P was enumerated ok, but thats all.

I switched my system back to MS Windows mode and download a document on
printing:

http://qdn.qnx.com/support/docs/photon114/run_inst/printing.html

(Please post back to this forum if you figure how to print)

I tried some of the suggestions like :

cat >/dev/par1
This is a test<Ctrl-C

I get the “This is a test” to print out, but that’s the only way I’ve been
able to print.

Photon uses phfont. My running phfont is phfontFA, not the phfontpfr, or
phfontphf.
I have no idea what the deal is with that.

-Bill

“Marc Raaphorst” <> vorpal20@hotmail.com> > wrote in message
news:8so9jp$g3u$> 1@inn.qnx.com> …

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

To start lpd, try using the start command in lprc
Richard.

“Marc Raaphorst” <> vorpal20@hotmail.com> > wrote in message
news:8so9jp$g3u$> 1@inn.qnx.com> …

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

Also, make sure that the inetd daemon is running. lpd will not run
without it, as is my experience.

Rodney

Richard Freeman wrote:

To start lpd, try using the start command in lprc
Richard.


“Marc Raaphorst” <> vorpal20@hotmail.com> > wrote in message
news:8so9jp$g3u$> 1@inn.qnx.com> …

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

Rodney Lott wrote:

Also, make sure that the inetd daemon is running. lpd will not run
without it, as is my experience.

and in my experience, before you start lpd, you have to create
directories for printing queues, elsewhere lpd will quit silently
without any message. obviously, it is NOT documented :wink:


BR, Andrej

Yes … isn’t that annoying? I guess you just have to have a little
checklist before you start it up. :wink:

Rodney

Andrej Timchenko wrote:

Rodney Lott wrote:

Also, make sure that the inetd daemon is running. lpd will not run
without it, as is my experience.

and in my experience, before you start lpd, you have to create
directories for printing queues, elsewhere lpd will quit silently
without any message. obviously, it is NOT documented > :wink:


BR, Andrej

well… AFAIK, printing has never been strong side of UNIX boxes :wink:

Rodney Lott wrote:

Yes … isn’t that annoying? I guess you just have to have a little
checklist before you start it up. > :wink:


BR, Andrej

Do I need lpd for printing from Photon?

I thought Photon used spooler, not lpd.

When I try to print from Photon, the pages come out of the printer, but they
are blank. So, spooler is doing something right.

Also, lpd doesn’t seem to exist on my system.
Also, I need to runt inetd for local printing?
IMHO, that doesn’t make sense.

I suspect it is a problem with phfont (font rendering?)

-Bill



“Richard Freeman” <rfreeman@qnx.com> wrote in message
news:8tplqh$868$3@nntp.qnx.com

To start lpd, try using the start command in lprc
Richard.


“Marc Raaphorst” <> vorpal20@hotmail.com> > wrote in message
news:8so9jp$g3u$> 1@inn.qnx.com> …

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

I also having the blank printing problem. I have a laserjet 4.
To get my printer to work, I added in the command window:
spooler -d /dev/par1 My_HP_Laserjet4 -c pcl.cfg

Do I need to add anything else?
and can I add it to a start-up file, so I don’t have to type it in
everytime?

r.

“Marc Raaphorst” <vorpal20@hotmail.com> wrote in message
news:8so9jp$g3u$1@inn.qnx.com

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc

As has been stated before in previous threads, this problem is known
and should be addressed in the upcoming patch.

Raleigh S <raleigh@vusp@amrx.net> wrote:

I also having the blank printing problem. I have a laserjet 4.
To get my printer to work, I added in the command window:
spooler -d /dev/par1 My_HP_Laserjet4 -c pcl.cfg

Do I need to add anything else?
and can I add it to a start-up file, so I don’t have to type it in
everytime?

r.

“Marc Raaphorst” <> vorpal20@hotmail.com> > wrote in message
news:8so9jp$g3u$> 1@inn.qnx.com> …

Hey all,

What’s the deal with printing in QNX?
I have a HP Laserjet 4L. Whenever I try to print from
a Photon application, the printer just spits out the
appropriate # of pages with nothing on them. Whenever
I print from the command line (using lpr), I am told to
start lpd. So I su to root and try lpd, and then lpr, and I
am told to start lpd. I tried using my /etc/printcap from
Linux but to no avail. Anyone got any ideas?

Thanks!
Marc