How to restore a Lawson user’s print files via loadrpts
In Lawson, to restore a user’s print files, copy them to their original locations so that they will be visible in the print manager.
The standard locations for print files are:
Example (UNIX):
$LAWDIR/print/UserName/cu201b/1
Example (IBM i)
$LAWDIR/print/UserName/cu201b/1/xxxxxxx
Example (Windows):
%LAWDIR%\print\MYDOMAIN_UserName\cu201b\1
Once the files are copied to the correct directories, load them using loadrpts.
Running the command as follows will load all print files into the print manager for files existing in the standard print directories for all users where the file name in the directory ends with .prt:
loadrpts -s -p productline
To load reports for just one user from the standard print directory for files ending in .prt, use this syntax:
loadrpts -s -u username -p productline
Good luck!