|
Spool File Page Counter SDK |
Spool File Page Counter SDK is also named "PS and PCL Page
Counter SDK", it is a SDK product to count the pages in PDF, PS and
PCL files, it is useful for printer accounting software. Spool
File Page Counter SDK can count the pages in PCL3/4/5, PCL5e, PCL5c,
PCL-XL (PCL6), Postscript (PS), EPS, PRN, SPL, PXL, PDF etc. document
formats.
Spool File Page Counter SDK is can also count the black and
white pages and color pages in these document formats.
Spool File Page Counter SDK offers a powerful solution to
count the pages in Spool Documents. This
product is available via an easily integrated COM object (or DLL
Library, or Command Line), enabling developers to access the toolkit
via any programming or scripting languages, such as Visual Basic,
C/C++, Delphi, ASP, PHP, C#, .NET, etc. Using the COM object (or DLL
Library, or Command Line), the function can be done consecutively
or simultaneously. |
|
Spool File Page Counter SDK supports following formats: |
1. PCL - Printer Command Language, PCL3/4/5, PCL6, PCL5c,
PCL5e, PCL-XL, PCLXL |
2. SPL - Microsoft Windows Spool File Format |
3. PostScript (PS) - PostScript Level 1, PostScript Level 2,
PostScript 3 |
4. EPS - Encapsulated PostScript |
5. PRN - Print file, a
PRN file is a special type of file which contains instructions for a
printer. |
6. PDF - Adobe Acrobat PDF format |
|
Price List: |
|
Server License: Licensed by per Production Server, easily to
be called from ASP/PHP/C#/.NET/... etc. server side applications.
Developer License: Licensed by per Developer, Royalty Free
Runtime Desktop Distribution, can be run on any number of
servers/computers.
Please read the
full licensing agreement for more information. |
|
Key Features: |
Supports
PCL3, PCL3GUI, PCL4, PCL5, PCL5e, PCL5c, PCL6 / PCL XL formats. |
Supports
Postscript, PS, EPS formats. |
Supports
Adobe Acrobat PDF format. |
Count
black and white pages and color pages in spool documents. |
Retrieve
"copy" value from PCL and PS files. |
Retrieve
paper width, paper height and paper size name from PCL and PS files. |
Support Windows 2000, XP, 2003, 2008, Vista, 7, and later systems, both 32bit and 64bit
versions. |
Spool File Page Counter SDK can be called from C#, C++, VB, Delphi,
VB.NET, etc. program languages. |
|
Spool File Page Counter SDK Examples: |
Private
Declare
Function
ReadInfoFromPSFile
Lib
"ReadInfo.dll"
(ByVal
fileName As
String,
ByVal
bIsRenderToPDF
As
Integer,
ByRef
bwPageCount As
Integer,
ByRef
colorPageCount
As
Integer,
ByRef
copyCount As
Integer,
ByRef
pagewidth As
Double,
ByRef
pageheight As
Double,
ByVal
paperSizeName
As
String)
As
Integer
Private
Declare
Function
ReadInfoFromPCLFile
Lib
"ReadInfo.dll"
(ByVal
fileName As
String,
ByVal
bIsRenderToPDF
As
Integer,
ByRef
bwPageCount As
Integer,
ByRef
colorPageCount
As
Integer,
ByRef
copyCount As
Integer,
ByRef
pagewidth As
Double,
ByRef
pageheight As
Double,
ByVal
paperSizeName
As
String)
As
Integer
Private
Sub
Button1_Click(ByVal
sender As
System.Object,
ByVal
e As
System.EventArgs)
Handles
Button1.Click
Dim
bIsRenderToPDF
As
Integer
Dim
bwPageCount As
Integer
Dim
colorPageCount
As
Integer
Dim
copyCount As
Integer
Dim
nPageWidth As
Double
Dim
nPageHeight As
Double
Dim
strPaperSizeName
As
String
Dim
nRet As
Integer
Dim
strMsg As
String
Dim
strFileName As
String
bIsRenderToPDF = 0
bwPageCount = 0
colorPageCount = 0
copyCount = 0
nPageWidth = 0
nPageHeight = 0
strPaperSizeName = Space$(300)
strFileName =
Application.StartupPath() &
"\test_tiger.eps"
nRet = ReadInfoFromPSFile(strFileName, bIsRenderToPDF, bwPageCount,
colorPageCount, copyCount, nPageWidth, nPageHeight, strPaperSizeName)
strMsg = strMsg + "FileName
= " + strFileName + vbCrLf
strMsg = strMsg + "bIsRenderToPDF
= " +
CStr(bIsRenderToPDF)
+ vbCrLf
strMsg = strMsg + "bwPageCount
= " +
CStr(bwPageCount)
+ vbCrLf
strMsg = strMsg + "colorPageCount
= " +
CStr(colorPageCount)
+ vbCrLf
strMsg = strMsg + "copyCount
= " +
CStr(copyCount)
+ vbCrLf
strMsg = strMsg + "PageWidth
= " +
CStr(nPageWidth)
+ vbCrLf
strMsg = strMsg + "PageHeight
= " +
CStr(nPageHeight)
+ vbCrLf
strMsg = strMsg + "PaperSizeName
= " +
CStr(strPaperSizeName)
+ vbCrLf
MsgBox(strMsg)
strFileName =
Application.StartupPath() &
"\test_grid.pcl"
nRet = ReadInfoFromPCLFile(strFileName, bIsRenderToPDF, bwPageCount,
colorPageCount, copyCount, nPageWidth, nPageHeight, strPaperSizeName)
strMsg = ""
strMsg = strMsg + "FileName
= " + strFileName + vbCrLf
strMsg = strMsg + "bIsRenderToPDF
= " +
CStr(bIsRenderToPDF)
+ vbCrLf
strMsg = strMsg + "bwPageCount
= " +
CStr(bwPageCount)
+ vbCrLf
strMsg = strMsg + "colorPageCount
= " +
CStr(colorPageCount)
+ vbCrLf
strMsg = strMsg + "copyCount
= " +
CStr(copyCount)
+ vbCrLf
strMsg = strMsg + "PageWidth
= " +
CStr(nPageWidth)
+ vbCrLf
strMsg = strMsg + "PageHeight
= " +
CStr(nPageHeight)
+ vbCrLf
strMsg = strMsg + "PaperSizeName
= " +
CStr(strPaperSizeName)
+ vbCrLf
MsgBox(strMsg)
End
Sub |
|
Correlative Links: |
|
|
See Also: |
PDF to Image Converter ::
PDF Extract TIFF
::
HTML Converter ::
PDFcamp Printer ::
DocConverter COM ::
PDF to Word Converter ::
PDF to Text Converter ::
Image to PDF Converter ::
Image to PDF OCR ::
PDF to HTML
Converter ::
AutoCAD DWG and DXF to PDF Converter ::
PCL to PDF Converter ::
Document Printer (docPrint) ::
VeryPDF PDF
Editor ::
PDF Password Remover ::
Encrypt PDF
:: PDF Split-Merge
:: PDF Stamper
:: VeryPDF
PDFPrint ::
Advanced
PDF Tools ::
PDF Editor Toolkit ::
Text to PDF
Converter ::
PowerPoint to Flash ::
PowerPoint Converter |
|
|