Home > Products Windows > PDFPrint Command Line

VeryPDF PDFPrint Command Line


PDFPrint Command Line

  • No need for PDF reader software.
  • Easy Command Line operations.
  • Various printing options.

Download Buy Now
Version 7.0

VeryPDF PDFPrint SDK version is an independent tool that can be used to print existing PDF documents to any windows printer devices in various platforms. And this page is about what VeryPDF PDFPrint SDK can help us.

VeryPDF PDFPrint SDK is a versatile tool that enables programmers to develop PDFPrint utility for a specific platform, e.g., Visual C++, Visual Basic, etc..

The following samples will show you how simple to utilize VeryPDF PDFPrint SDK for proper usage in specific platforms.

System preference

Operating Systems: all the Windows platforms, like Windows 2000, XP, Vista, 7, Windows Server 2003, 2008, 2008 R2 – 32 and 64 Bit and so on.

Programming Languages

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.

Sample: Visual C++

void main(int argc, char *argv[])


     if(argc != 2)


        printf("testsdk.exe C:\\test.pdf\n");



     char *lpPDFName = argv[1];

     char *lpRegcode = "XXXXXXXXXXXXXXXXXXXX";

     char szCommandLine[1024];


     sprintf(szCommandLine,"pdfprint -quiet -getpagecount \"%s\""
     , lpPDFName);

     int nPageCount = VeryPDF_PDFPrint(szCommandLine);

     printf("PageCount = %d\n", nPageCount);


     sprintf(szCommandLine,"pdfprint \"-$\" \"%s\" -pdforient 4 

     -scalex -1 -scaley -1 \"%s\"", lpRegcode,lpPDFName);

     int nRet = VeryPDF_PDFPrint(szCommandLine);

     printf("Return Value = %d\n",nRet);




Sample: Visual Basic

Private Sub Command1_Click()

    Dim nRet As Long

    Dim strCmd As String


    strCmd = "pdfprint -$ XXXXXXXXXXXXXXXXXXXX"

    strCmd = strCmd & " -printer ""docPrint"""

    strCmd = strCmd & " """ & App.Path & "\readme.pdf"""


    MsgBox (strCmd)

    nRet = VeryPDF_PDFPrint(strCmd)

    MsgBox (Str(nRet))

End Sub

There are other samples, e.g., VB.NET in trial package, and to know more, welcome to go to Try and Buy to download trial version.

Features of VeryPDF PDFPrint SDK

  • Support all of what VeryPDF PDFPrint Command Line can do
  • Allow programmers to further develop application in various platforms (native Windows or managed .NET Framework)
  • Always multithread safe when printing PDF and integrate application into different environments
  • Support being available in Visual Basic, .NET, C/C++, Delphi, C#, etc.

Video Tutorial

Related Links

Relative Products

Gold Support 30-DAY NO RISK REFUND
  Learn more about PDFPrint Command Line   See other products   Download   Buy Now
 You may like these products
VeryPDF PDFcamp Printer Pro
VeryPDF PDFcamp Printer Pro


Convert files of Microsoft Word, PowerPoint, Excel, JPG, PNG, GIF, and HTML to PDF. Create PDF from printable documents.
VeryPDF PDF Editor
VeryPDF PDF Editor


Create PDF, annotate PDF, fill PDF forms, edit PDF contents and hyperlinks, and convert PDF to image. It is a cost-effective PDF editor.
VeryPDF PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter


Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF files with one click.