PRB: APRINTERS Function Behaves Differently in Windows 95Last reviewed: July 14, 1997Article ID: Q155929 |
The information in this article applies to:
SYMPTOMSWith the APRINTERS() function, you can place the names of printers currently installed in the Windows Print Manager into a memory variable array. The APRINTERS() function creates a two-dimensional array. The first column of the array contains the names of the currently installed printers, and the second column contains the ports to which the printers are connected. In Windows 95, if the specific printer's share name contains a space, the PRINTERS() function returns a separate array row with the same printer name in the first column and two incomplete share names in the second column. An example is a printer named MyPrinter on share \\MyPrinter Share. The APRINTERS() function produces the following two rows:
Myprinter \\MyPrinter Myprinter Share WORKAROUNDUse the GETPRINTER() function to print directly to the printer name instead of the share name. If the share name is required, concatenate the share name strings that have the same printer name in the first column of the array.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
|
Keywords : FxprintGeneral kbprint VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |