Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting Windows Default Printer
Message
From
10/05/1999 20:02:30
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00216227
Message ID:
00216991
Views:
35
>(At least according to the posting section we're in) we're talking FPW 2.6 here. If so, EXPR doesn't have printer driver stuff in it. Only TAG and TAG2 do. Also, in FPW 2.6, if you blank out TAG and TAG2, you lose things like Landscape setting.
>
>VFP is much nicer, settings like Landscape and paper size are stored in an easily recognizable text form in EXPR, and you can leave that in there while removing just the printer name and other printer-specific lines.
>
>If someone knows of a way to take out the printer-specific stuff in FPW 2.6 and leave behind such things as Landscape orientation, I'd love to know it. I could use it at my current client's, where I'm doing Y2K remediation on a legacy FPW 2.6 app. (No, they won't upgrade to VFP.)
>
>- Rich.

Hi Rich:

I too found that I did not want to drop the orientation stuff out of the report form. There was an article in FoxPro Advisor recently with source for something named "NukeFrxPrinter" or something like that. It just literally wiped out all the EXPR and TAG fields, including non-printer specific stuff. I hacked it and created one that just does a STRTRAN() if it finds the printer name stuff and would be happy to send it along, if you are interested. Works in 2.6x/3.0/5.0/6.0 report forms. I'm not currently at a workstation with outside mail support, or I'd do it now.

HTH

Rob
Previous
Reply
Map
View

Click here to load this message in the networking platform