How to use Spool File Page Counter SDK by c#?

 

1.Download file:https://www.verydoc.com/ps-and-pcl-info-sdk.zip and unzip it.
2.You can see C# directory, open it.The inside is C# source code.
  Use Visual Studio 2010 can view the source code.
  Compile it, then you can get "obj\x86\Release\C#_ParsingTest.exe" or "obj\x86\Debug\C#_ParsingTest.exe"

3.The command line of the look below format looks like.
         "C:\C#_ParsingTest.exe C:\test_chess.ps"

4.You Can get Information:

C:\C#_ParsingTest.exe C:\test_chess.ps

args length is 1
args index 0 is [C:\test_chess.ps]
=============================
Page   1 is [   BW]
=============================
Statistics: bwPageCount=1, colorPageCount=0
File: C:\test_chess.ps
Render To PDF: 1
BW Pages: 1
Color Pages: 0
Width: 2031.99996948242
Height: 2698.74995946884
Paper name: PaperBox: 60 138 576 765

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!