>>>I have an application that automatically runs each night and loads a lot of data from some text files. I have the job running while I am logged out. I am trying to print some reports and they do not print.
>>>
>>>Does any one know if of how to connect to a network printer while no one is logged on so that the reports can print?
>>>
>>>I am using Fox 2.6, NT 4.0
>>>
>>>Thanks,
>>>
>>>James
>>
>>Sorry, I don't follow you here. If you want to print something on network printer, then you should be connected to this printer, i.e. you must log on network. What actually prevents you from doing this? Or you mean that the same application which runs text file processing should also print?
>
>
>Yes, sorry for the confusion . . . It prints some reports while processing at night while no one is logged in . . . . Is there a way to connect to the network printer programmatically without logging on?
>
>Thanks
If application is running, it means that it (i.e. user which launched it) is already logged on this workstation (and probably to network too). If for some strange reasons (maintenance?) it's necessary to run application stand-alone it still can print to files and then move this files to printer when network will be available.
Edward Pikman
Independent Consultant