Microsoft KB Archive/32970

= How to Find Name of Currently Chosen Macintosh Printer Driver =

Article ID: 32970

Article Last Modified on 11/21/2006



This article was previously published under Q32970



SUMMARY
The following Macintosh QuickBASIC program shows how to find the name of the current printer driver: printer$ = &quot;&quot; WHILE INKEY$ = &quot; LoadString PEEKW (&HA58),-8192,printer$ IF printer$<>last$ THEN CLS: PRINT printer$; :last$=printer$ WEND The memory location &HA58 contains the reference number of the Macintosh System file. The string id -8192 contains the name of the currently chosen printer driver. However, because these names may be changed freely with the Chooser in the Apple menu of the Finder, this may not be very useful.

Additional query words: MQuickB

Keywords: KB32970

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.