To place the print server in recovery mode perform the following.
- Open Windows Services
- Click the Windows Start button
- Type services.msc
- Press ENTER
- Locate the Sage X3 print server service. It is named similar to Safe_X3_SrvEdt_V2_EDT_DEFAULT
- Right-click on the service and click Properties.
- Click Stop
- In the Start Parameters textbox type /recovery:1
- Note: if Print server is higher that v2.15 it will be /d instead of /recovery:1
- Click Start
- Click OK
- Once print jobs are being produced as expected follow the steps above again, except use /recovery:0 to take the print server out of recovery mode.
Note: If performing these steps clear the print queue, but you are still unable to print (i.e. Application Event Viewer starts to show the queue errors again), clear the print queue using these steps one more time, and reboot all Sage X3 server as restart of the Sage X3 print server should clear the print server queues.
Note: To activate a log file use: " /d" in the start parameters: This option is used to put the print server in DIAGNOSTIC mode to produce a file that logs the activity of the print server and of the printing processes that are launched. The produced file is named "AdxSrvlmp_Trace.log"; it is stored in the temporary folder of the print server (Example: E:\Sage\SafeX3\EDTV2\EDT207\srvedit\Temp).
Steps to manually clear print queue / put print server into recovery mode.
- Open Services.
- Locate the Print Server service.
- Right-click Properties.
- Stop.
- On the General tab, note the location of the print server executable. (For example: E:\Sage\SafeX3\EDTV2\EDT207\srvedit\AdxSrvImp.exe)
- OK.
- Open Command window on the Print Server as Admin. (right-click, Run as Admin)
- Navigate to the Print Server directory. (For example, type: cd E:\Sage\SafeX3\EDTV2\EDT207\srvedit\ and press Enter.)
- Run the print service by type its executable (AdxSrvImp.exe) and pressing Enter.
- !!!!!!WARNING!!!!!! : A message in French will appear, "Souhaitz vous creer un nouveau service pour le serveur d'edition?" Answer No. This roughly translate to "Do you want to replace the print server?"
- If there are jobs waiting, they will attempt to print or prompt you to save them.
-
- Cancel all Save As windows.
- Close the Command window.
- Re-open a Command window as Admin.
- Re-run the print server service
- Answer No to the French question again.
You should now get a message in the Command window similar to:
Sage X3 Edition Server
EDT.209 Copyright 2007 Sage
[Date/Time] Starting Sage X3 Edition Server in RECOVERY mode (on 'adonix')
[Date/Time] Recovery statements processed.
[Date/Time] Sage X3 Edition Server is waiting for new request . . .
DocLink: