Re: printready() in WinXP return TRUE, but there is no printer



On 20 Oct 2005 08:31:12 -0700, suv2@xxxxxxx wrote:

>I need to check, whether the LOCAL printer is connected to lptx
>
>Problem:
>
>WinXP, there is no printer nor on LPT1, neither on LPT2
>LPT1 & LPT2 ports also not redirected to any network printer.
>
>for i := 1 to 2
> ?i,printReady(i)
>next
>
>Result:
>1, .T.
>2, .T.
>

Hi,

Under DOS, Clipper was able to talk directly to the hardware layer
(printers, modems, etc). But WinXP has inserted a layer of isolation
that stops this. The software spooler now has the responsibility for
determining if the printer is switched on, turning it on if it wasn't,
checking ink levels (HP printers and others no doubt), etc.

Regards,

Ross McKenzie
ValuSoft
Melbourne Australia

valusoft AT optusnet DOT com DOT au
.



Relevant Pages