Home > Archive > Clipper > October 2005 > printready() in WinXP return TRUE, but there is no printer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
printready() in WinXP return TRUE, but there is no printer
|
|
| suv2@mail.ru 2005-10-20, 6:55 pm |
| 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.
| |
| Ross McKenzie 2005-10-21, 6:55 pm |
| On 20 Oct 2005 08:31:12 -0700, suv2@mail.ru 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
|
|
|
|
|