PaulDotCom mailing list archives

Need help with a printer hacking idea


From: irongeek at irongeek.com (Adrian Crenshaw)
Date: Wed, 26 Aug 2009 11:51:56 -0400

Screw it, I fond a better way. That undocprint.org site is the bomb yo! :)

Either run this VB script:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colPrinters = objWMIService.ExecQuery _
    ("Select * From Win32_Printer")

For Each objPrinter in colPrinters
    objPrinter.KeepPrintedJobs = True
    objPrinter.Put_
Next

or add 256 to the value at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\<printername>\Attributes


That will make it so the spl files are not auto deleted, then you can just
grab them latter.

Adrian



On Wed, Aug 26, 2009 at 11:29 AM, Adrian Crenshaw <irongeek at irongeek.com>wrote:

Ok, never mind, I found O&K Printer Viewer Pro 2.2 and it seems to work
well. It was in the list here:
http://www.undocprint.org/formats/winspool/spl

Adrian

On Wed, Aug 26, 2009 at 11:09 AM, Adrian Crenshaw <irongeek at irongeek.com>wrote:

If anyone finds a better SPL viewer, please let me know. I found :
http://sourceforge.net/projects/splviewer/
but it seems to fail a lot.

Thanks,
Adrian



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pauldotcom.com/pipermail/pauldotcom/attachments/20090826/17986993/attachment.htm 


Current thread: