Kbutt,
Your SET PRINTER solution should work, if your server and printer names (UNC) meet the DOS 8.3 character specs. If there are any embedded spaces or they are longer, then they may not work (one problem with running DOS/Win3.x code in "new" and unplanned for environments).
You may also need to "fix" the FRX file to remove the default printer info. See
- "HOWTO: Use the Default Windows Printer in Visual FoxPro" for details. Note: While this says it's for VFP, the same technique works in FPW and FPD.
Thanks to those who have replied to my question earlier.
I am printing this report over a Microsoft network.
The \\<machine name>\ I refer to in my program, is a print server on the network and is not unique to one printer installed on my PC ( I am using several printers from this print server). The \<printer name>\ for the printers being used in the SET PRINTER TO command is unique however. Will the machine name have to be unique for this command to work?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.