Global print2me when spool are not on the default directory

When a Gespage Agent must get the spool files from another server, it use FTP and transfers the spool file under C:\Windows\TMP.

Then, it create a hardlink to the spool file directory under 

C:\Windows\System32\spool\PRINTERS


If the spool directory is on another disk than C: , the hardlink doesn't work.


Solution:

To solve this problem, the FTP transfers must be done to a temporary directory located on the same disk than the spool directory, for exemple F:\TMP.

To do this change, you need to modify the environment variables TMP and TEMP for Gespage Agent services.


The steps are below:

  1. Open the Windows registry key manager on the PC where the agent is located
  2. Under the key HKLM\SYSTEM\CurrentControlSet\Services\GespagePrint
  3. Add a key named Environment with type REG_MULTI_SZ
  4. Set the environment varibales with values:
    • TEMP=F:\TEMP
    • TMP=F:\TMP
  5. Restart Gespage Print Service
  6. Create the two new temporary folder under the F:\ disk

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article