General information
Category:
Coding, syntax & commands
You said NT network, but did not specify what the workstation OS was. At least in VFP5, NT does not respect the set printer to name. NT will only recognize UNC printer names (set printer to \\server\printer).
My VFP app was running on a mix of Win 95 and NT Workstation machines and when I wanted to programmatically select the printer (like sending invoices to the invoice printer) I had to check the OS at program start and use code like this:
if mOpSys = 'NT'
set printer to \\atmex\invoice
else
set printer to name 'invoice'
endif
repo form invoice to print noconsole
set printer to default
Previous
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