5.4. Updating the Registry

The registry needs to contain the path to the PPD file for your printer. To get the location of the PPD files that were extracted from the archive, you can use this command:

$ find ~/cxoffice -iname "*.ppd"

Determine which of the PPD files returned by the search corresponds to your printer. For an HP LaserJet 5M this would be HPLJ5M_4.PPD. Note that the PPD files are simple text files containing product names along with the properties of the printers they describe.

We recommend that you then put the new PPD file in the same directory as the default generic.ppd file, which is in ~/.cxoffice/dotwine.

Now you are ready to specify your printer's description in the Wine registry. Open it in your favorite editor:

$ vi ~/.cxoffice/dotwine/system.reg

Find the "PPD File" entry (a search is the best way), and replace "generic.ppd" with the name of the PPD file for your printer. Then save and close the file.

CrossOver's registry information now contains entries that specify this PPD file for your printer. If all went well, you should be able to print using the Wine PostScript Driver from within WordViewer, etc.