Link to home
Start Free TrialLog in
Avatar of Jsaiz j
Jsaiz j

asked on

Spool on windows server

Hi,
Does someone know where  the spool file  is stored in a Windows 2012 server when I run a lp command in a Linux server?

I run this command in a linux server
lp -c -d<PRINTER> -w Test.txt

The printer is configured to send the spool to the Windows server. I need to know where is stored the file Test.txt in the windows server

Thank you in advance
Avatar of Michael Pfister
Michael Pfister
Flag of Germany image

Can't test here but I'd assume ist the same directory a Windows print Job is spooled:

C:\Windows\System32\spool\PRINTERS

Probably already converted to the printer language, ie. PCL or PS
You print, it spools, it goes to the printer in a flash and the spool (location shown above) is empty.

You have to test as part of the printing operation.
Avatar of Jsaiz j
Jsaiz j

ASKER

Yes, the C:\Windows\System32\spool\PRINTERS folder in empty, are there any folder where I can find the files?
No. Once the printer has printed the spool files are gone. You need to check what you are printing before you print.
Avatar of Jsaiz j

ASKER

Thank you John, Is there any way to check what is printing? any log?
You probably need to enable printer logging. Look at this article for steps in doing that.  Similar for most Windows Operating Systems, but you probably want to check the workstation doing the printing.

https://www.quora.com/How-can-I-check-my-print-history-in-Windows-7
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.