Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WIN95 Long Print Queue Names and GPFs
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00607999
Message ID:
00608142
Views:
18
>Dear All,
>
>I have a FPW2.6 app that the user wants to pick the printer each time they print out. Ok, so there is a function on the menu that calls SYS(1037). In the printer queue selection there are two dozen printers with names like:
>
>SPP001 Plant Printer
>SPBIO Bio Printer
>etc.
>
>All printers are network printers. None are local.
>
>Now, the strange part. On several of these WIN 95 boxes as soon as the menu choice "Set Printer" is selected !Boom! GPF right out of the program. Depending on the setting for spooling this function works sporatically. On WIN2000 boxes the print selection work all the time.
>
>By the way, this works fine in VFP running the exact same code.

FPW is a Win16 application; it requires that you use printer names that are in accordance with the restrictions of Win16 - no LFNs, no delimiter characters in the name, a name that is shorter than the file name limit of DOS.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform