ADC Home > Reference Library > Technical Q&As > Legacy Documents > Printing >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

How to Find the Printer Descriptions folder


Q: Most of the special system folders have documented ways to access them regardless of the localization of the operating system. We have been unable to find a way to access the "Printer Descriptions" folder on foreign systems without explicitly knowing the localized name of the folder. Can you point us to where this might be documented or how to access it?

A: Unfortunately, under System 7.x, there is no good way to do this. The only way that developers have been able to install their PPDs correctly is to use a 2-tiered approach:

  1. Use PrGeneral with the PSPrimaryPPDOp opcode to retrieve the FSSpec record locating the current PPD file chosen for the printer, and the parent directory that you are interested in. (from "LaserWriter 8 for Fun and Profit" in developissue 16 (page 78)). Then place the PPD file there.
  2. If your driver does not support PrGeneral, then you must look for a folder called 'Printer Descriptions' and install the PPD there. This of course requires a list of what that folder gets named for various localized systems.

Under System 8.0, Apple has added a Find Folder Selector for this folder, 'ppdf', that makes installation of your PPD easier for Mac OS 8.0 and above. Please see Inside Macintosh: Macintosh Toolbox Essentials,page 7-54 for more information on FindFolder.


Note:
The LaserWriter driver (version 8.5.1 and before) does not take advantage of the 'ppdf' FindFolder feature and still only looks in the Extensions:Printer Descriptions folder for PPDs (as opposed to System: Printer Descriptions). This will be fixed in a future release of the LaserWriter 8 driver.


[Nov 17 1997]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.