General information
Title:
VFP3 Setting default printer / redirecting print jobs
Is there an easy way to set the default printer from inside VFP? Or at least for one print run, changing where the output will go?
I have tried using
set printer to name (printername)
and then printing my report. However the print job does not always go to the printer selected.
To me, the strange part is it works on some machines but not all.
This is the scenario:
I have a maintenance tracking application that allows anyone to print a work order. The ideal place for this work order to print at, would be the printer in th maintenance shop. (There is a bar code on it, describing the work order and the machine it pertains to. The maintenance person, scans his id, and then this bar code.)
i.e.
User creates work order
User selects print
VFP changes printer to maintenance printer
VFP Prints work order
VFP changes printer back to original printer.
Maintenance person get work order, does work.
I realy don't want to pop up the printer control and ask the user's to change the printer, after all they might forget to change it back. Then there Excel sheets would appear in the maintenance department and needless to say this would not work.
Network is a NT/Novell Hybrid, with the application running in the NT environment. All users are W95 machines.
it would be great to do it in code.
Any out there, have any ideas?
Thanks in advance,
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only