Kbase P11132: General guide on how to direct each user to their own print
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/30/2003 |
|
Status: Unverified
GOAL:
General guide on how to direct each user to their own print directory
FIX:
- Generate a temporary file name using the Windows API function GetTempFileName.
- Copy the default INI file to that temp file name.
- Modify the printer path setting so that it points to each users personal directory
- Save the file.
- Use the Progress 4GL's LOAD & USE commands to load the modified INI file into memory and make it the default (basically replacing the standard one that was automatically loaded at startup).
- Run the main program that starts up the normal application.