Printing

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.


\


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: rparent@sigma-techno.com
Web: www.sigma-techno.com

Roger Parent <rparent@sigma-techno.com> wrote:

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.

Why isn’t it?

Roger Parent <rparent@sigma-techno.com> wrote:

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.

I’m assuming this is printing out the parallel port. Due to stupid hardware
design, the devc-par device driver polls when it’s printing data. That
causes the system to show 100% CPU usage, but the polling is done at a
lower priority than other things (defaults to 9, settable with the
“-P” option), so it doesn’t impact responsivness.


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Is it the same stupid in ECP/EPP/bidirectional modes? Does driver
support those modes at all?

Brian Stecher wrote:

Roger Parent <> rparent@sigma-techno.com> > wrote:
I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.

I’m assuming this is printing out the parallel port. Due to stupid hardware
design, the devc-par device driver polls when it’s printing data. That
causes the system to show 100% CPU usage, but the polling is done at a
lower priority than other things (defaults to 9, settable with the
“-P” option), so it doesn’t impact responsivness.


Brian Stecher (> bstecher@qnx.com> ) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

  • Mario

“People looking to serious, should be looking to Sirius”

“Roger Parent” <rparent@sigma-techno.com> wrote in message
news:91dire$sie$1@inn.qnx.com

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.

Are you a realtime specialist ?


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: > rparent@sigma-techno.com
Web: > www.sigma-techno.com

Roger Parent wrote in message <91dire$sie$1@inn.qnx.com>…

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.

Yes.


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: > rparent@sigma-techno.com
Web: > www.sigma-techno.com

Roger Parent a écrit :

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: > rparent@sigma-techno.com
Web: > www.sigma-techno.com

Yes it is, keep in mind that the goal of a realtime OS is not to keep the cpu
free ‘in case’ of there is important thing to do but to be able to give the
cpu within a KNOWN time (and not when the sky will be blue enough (hum, the
sky or the screen ??)) to the event (immediatly doesn’t mean anything). Of
course, it depends on some known rules like priority, scheduling mode, etc.
In any case, the cpu is inside to work, not to wait.

Alain.

Igor Kovalenko <Igor.Kovalenko@motorola.com> wrote:

Is it the same stupid in ECP/EPP/bidirectional modes? Does driver
support those modes at all?

I don’t know enough about parallel hardware to say (I don’t even really
know what the stupidity is aside from a signal not being asserted long
enough to be reliably used).

The driver doesn’t use ECP/EPP/bidirectional modes.


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Nope, currently we don’t support ECP or EPP, however that may change if
demand for them increases.

Erick.


Igor Kovalenko <Igor.Kovalenko@motorola.com> wrote:

Is it the same stupid in ECP/EPP/bidirectional modes? Does driver
support those modes at all?

Brian Stecher wrote:

Roger Parent <> rparent@sigma-techno.com> > wrote:
I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.

I’m assuming this is printing out the parallel port. Due to stupid hardware
design, the devc-par device driver polls when it’s printing data. That
causes the system to show 100% CPU usage, but the polling is done at a
lower priority than other things (defaults to 9, settable with the
“-P” option), so it doesn’t impact responsivness.


Brian Stecher (> bstecher@qnx.com> ) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Previously, Erick Muis wrote in qdn.public.qnxrtp.os:

Nope, currently we don’t support ECP or EPP, however that may change if
demand for them increases.

I just have to chime in here for a second. While ECP and
EPP provide much better performance, there are some
implementation problems. EPP is a hardware standard that
can move data with fewer I/O instructions. The line
protocol is different from a standard parallel port, so the
receiving device has to support EPP, and has to be put in
EPP mode before things get going.

ECP is a little more confusing. There are both
software features,RLL compression, and hardware
features, DMA, so likewise, the receiving device
needs to have its mode switched.

There is a software standard for how to query a devices
capabilities, and to switch its mode. None of the parallel
port devices I’ve worked with in the last few years followed
the standard strictly, although I’ve never dealt with a
printer.

So it maybe possible to support EPP/ECP for some specific
devices, but I don’t have enough information. What is
very telling is that every printer you buy comes with its
own Win/X printer drivers.



Mitchell Schoenbrun --------- maschoen@pobox.com

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

There is an excellent article defining relatime OS.
http://qdn.qnx.com/articles/dec1200/realtime.html

Roger Parent a écrit :

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100% all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: > rparent@sigma-techno.com
Web: > www.sigma-techno.com

Yes it is, keep in mind that the goal of a realtime OS is not to keep the cpu
free ‘in case’ of there is important thing to do but to be able to give the
cpu within a KNOWN time (and not when the sky will be blue enough (hum, the
sky or the screen ??)) to the event (immediatly doesn’t mean anything). Of
course, it depends on some known rules like priority, scheduling mode, etc.
In any case, the cpu is inside to work, not to wait.

I don’t have permission to access that article.

“Marcin Dzieciol” <marcind@qnx.com> wrote in message
news:91ttem$9ia$1@nntp.qnx.com

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:

There is an excellent article defining relatime OS.
http://qdn.qnx.com/articles/dec1200/realtime.html

Roger Parent a écrit :

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at 100%
all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: > rparent@sigma-techno.com
Web: > www.sigma-techno.com

Yes it is, keep in mind that the goal of a realtime OS is not to keep
the cpu
free ‘in case’ of there is important thing to do but to be able to give
the
cpu within a KNOWN time (and not when the sky will be blue enough (hum,
the
sky or the screen ??)) to the event (immediatly doesn’t mean anything).
Of
course, it depends on some known rules like priority, scheduling mode,
etc.
In any case, the cpu is inside to work, not to wait.

Same problem for me

“Marty Doane” <doanemr@REMOVE_rapistan.com> wrote in message
news:91vlmd$g22$1@inn.qnx.com

I don’t have permission to access that article.

“Marcin Dzieciol” <> marcind@qnx.com> > wrote in message
news:91ttem$9ia$> 1@nntp.qnx.com> …
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:

There is an excellent article defining relatime OS.
http://qdn.qnx.com/articles/dec1200/realtime.html

Roger Parent a écrit :

I have installed QNX RTP on my home PC, i also have a BJC-2000 Canon
printer, when i print something from help, the cpu is occupied at
100%
all
the printing time.

When the printing end the cpu is ok.

Is this a realtime OS.


Sigma Automatisation Inc.
6 Patrice Cote C.P.130
Trois-Pistoles, Qc G0L 4K0
Tel: 418-851-4254 ou 418-851-2943 Ext 121
Fax: 418-851-4580
Email: > rparent@sigma-techno.com
Web: > www.sigma-techno.com

Yes it is, keep in mind that the goal of a realtime OS is not to keep
the cpu
free ‘in case’ of there is important thing to do but to be able to
give
the
cpu within a KNOWN time (and not when the sky will be blue enough
(hum,
the
sky or the screen ??)) to the event (immediatly doesn’t mean
anything).
Of
course, it depends on some known rules like priority, scheduling mode,
etc.
In any case, the cpu is inside to work, not to wait.