VeryPDF PCL Converter SDK is a software development kit designed to assist you, the software programmers, to quickly add a PCL conversion utility to your own applications. This PCL conversion utility can convert print files (PX3, PXL and PCL) to PDF, PS, JPG/JPEG, BMP, TIF/TIFF, etc. and make different settings for output file.
VeryPDF PCL Converter SDK encapsulates all the components required for quick integration. It allows software developers or programmers to quickly integrate PCL converter component in other applications programmed in Visual C++, Visual Basic, etc. development environments.
In the following contents, you will some samples which illustrate proper usage of VeryPDF PCL Converter SDK.
Operating Systems: all the Windows platforms, like Windows 2000, XP, Vista, 7, 10, 11, Windows Server 2003, 2008, 2008 R2 and later systems, both 32 bit and 64 bit.
The following programming languages are supported:C#, VB .NET, MS Visual Basic, Borland Delphi, VBA (MS Office products such as Access) and C++ via COM, C and C++ via native C.
#include <windows.h>
#include <string.h>
#include <stdio.h>
__declspec(dllexport)
int WINAPI VeryPDFPCLConverter(const char *lpCmd);
void main(int argc, char *argv[])
{
if(argc < 3)
return;
char szCmd[2048] = {0};
for (int i = 1; i < argc; i++)
{
strcat(szCmd, "\"");
strcat(szCmd, argv[i]);
strcat(szCmd, "\" ");
}
printf("%s\n", szCmd);
VeryPDFPCLConverter(szCmd);
}
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton PCL2PDF
Caption = "Convert PCL file to PDF file"
Height = 1095
Left = 1080
TabIndex = 0
Top = 840
Width = 2415
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function VeryPDFPCLConverter Lib "pcltoolsdk.dll" (ByVal strCommandLine As String) As Long
Private Sub PCL2PDF_Click()
Dim nRet As Long
Dim strCmd As String
Dim strInPCL As String
Dim strOutPDF As String
strInPCL = App.Path & "\test.pcl"
strOutPDF = App.Path & "\test.pcl.pdf"
strCmd = "-$ XXXXXXXXXXXXX "
strCmd = strCmd & " """ & strInPCL & """"
strCmd = strCmd & " """ & strOutPDF & """"
nRet = VeryPDFPCLConverter(strCmd)
'MsgBox (Str(nRet))
End Sub
To know more usage about the SDK package, you can download VeryPDF PCL Converter SDK and try it in your own development environment.
To get full version of the SDK package, you can buy VeryPDF PCL Converter SDK here.