TMP files are not deleted from the spool folder after print is done

Uday Y 5 Reputation points
2023-03-14T06:24:52.2066667+00:00

We assume PrintFilterPipelineSVC is creating the TMP files in the spool folder and not getting deleted after print is done.

Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
640 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Alan Morris 1,156 Reputation points
    2023-04-05T13:28:22.9966667+00:00

    Hi Uday Y, when you are using XPS based drivers, printfilterpipelinesvc.exe will be in play. You can set up a scheduled task to remove all the tmp files from the spool folder if Windows is not performing the work.You can also move away from XPS drivers thus printfilterpipelinesvc.exe will not be in use. Generally XPS drivers are Type 4 drivers but HP has been writing model Type 3 XPS based drivers for the past 5 years. Some people move to Type 4 drivers since these drivers are never copied to the client from the server thus the user on the client is not required to have administrative access to download the driver from the server. Move to Type 3 drivers if the tmp files when using Type 4 drivers is causing too much concern. Thanks

    1 person found this answer helpful.

  2. Limitless Technology 43,926 Reputation points
    2023-03-14T14:41:42.6366667+00:00

    Hello there,

    You can use this console command:

    taskkill.exe /f /im printfilterpipelinesvc.exe

    To restart the process you run this command:

    printfilterpipelinesvc.exe

    And see if it helps,

    Thank you

    --If the reply is helpful, please Upvote and Accept as answer--


  3. Alan Morris 1,156 Reputation points
    2023-03-14T14:57:57.35+00:00

    Printfilterpipelinesvc.exe will create pp{longGUID}.tmp in the spool folder. Yes, sometimes they are not cleaned up but we never fully tracked down why. Are they filling up all disk space? Are they not deleting when you delete the files?


  4. Alan Morris 1,156 Reputation points
    2023-03-16T17:20:46.6733333+00:00

    At this point, you can open a bug to MS but I am not holding my breath. A scheduled task to delete *.tmp from wherever the spool folder is. A couple other questions thought, is the print server a DC? Are you using C:\Windows\system32\spool\printers? Change that and see if that makes any difference


  5. Uday Y 5 Reputation points
    2023-03-24T05:28:57.3033333+00:00

    Hello @Kapil Arya

    Looking for support in deleting the TMP files automatically using printfilterpipeline or is there a way not to create these TMP files and print successfully.

    Please let me know if there's any possibility.

    0 comments No comments