>>Hi All:
>>
>>The following doesn't seem to work in Windows XP. i.e the printer doesn't fire away and say 'Hello'.
>>
>>In Windows Vista, the system asks you to save he data to a file with an .XPS extension.
>>
>>So the question is: How can I get the printer to print without any fancy stuff.
>>
>>
>>SET PRINTER on
>>? 'hello'
>>SET PRINTER off
>>
>>
>>EJECT doesn't make it work, either.
>>
>>Thanks,
>>
>>Yossi
>
>I am not sure about all the details... I would have to study my own code in more detail, and I am in a hurry now.
>
>For now, perhaps you can try to include the following commands:
>
>
>set printer to name ...
>SET PRINTER on
>? 'hello'
>SET PRINTER off
>set printer to
>
Hilmar:
The SET PRINTER TO is what did the trick, this also works:
>>SET PRINTER on
? 'hello'
SET PRINTER off
SET PRINTER to
Thanks!
Yossi