Skip to main content

Examples

Version: 2.0

DynamicPDF PrintManager For .NET Examples

Several already working examples will be included with the product download. These examples are used to demonstrate the different functionality of the product and are available in both C# and VB.NET. The examples are included in Visual Studio 2008, Visual Studio 2010, 2012, 2013 and 2015. These will be in the "%ProgramFiles%\ceTe Software\DynamicPDF PrintManager v2.x.x for .NET\Examples" on 32-bit machines and "%ProgramFiles(x86)%\ceTe Software\DynamicPDF PrintManager v2.x.x for .NET\Examples" on 64-bit machines by default.

These examples include the following:

  • PrintSimple - Demonstrates a simple print example
  • PrintToDefaultPrinter - Demonstrates sending a print job to the default printer.
  • PrintPageRange - Demonstrates sending a print job to a printer with a specific page range.
  • PrintFromByteArray - Demonstrates sending a PDF document to the printer from a byte array.
  • PrintWithEvents - Demonstrates handling events when printing.
  • PrintWithSettingSimpleOptions - Demonstrates printing a PDF document using some simple options.
  • PrintSettingAllOptions - Demonstrates printing a PDF document with all available options.
  • PrintMultiplePDFs - Demonstrates sending multiple PDF documents to the printer in the same print job.
  • PrintChangeTrayForPage - Demonstrates how to change the print tray for a print job.
  • ShowPrintersOptions - Gathers all the options for a specified printer and outputs them to the console.
  • PrintToFile - Demonstrates redirecting a PDF document to a file instead of actual printing.
  • FaxSimple - Demonstrates sending a simple fax.
  • FaxSettingFaxOptions - Demonstrates sending a fax while setting some of the options.
  • FaxWithCoverPage - Demonstrates sending a fax while setting up a cover page.
Documentation version