diff --git a/Printing-Examples/Print_Collate/App.xaml b/Printing-Examples/Print_Collate/App.xaml
new file mode 100644
index 0000000..b6f04ab
--- /dev/null
+++ b/Printing-Examples/Print_Collate/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/Printing-Examples/Print_Collate/App.xaml.cs b/Printing-Examples/Print_Collate/App.xaml.cs
new file mode 100644
index 0000000..6923842
--- /dev/null
+++ b/Printing-Examples/Print_Collate/App.xaml.cs
@@ -0,0 +1,14 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace Print_Collate
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+
+}
diff --git a/Printing-Examples/Print_Collate/AssemblyInfo.cs b/Printing-Examples/Print_Collate/AssemblyInfo.cs
new file mode 100644
index 0000000..b0ec827
--- /dev/null
+++ b/Printing-Examples/Print_Collate/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/Printing-Examples/Print_Collate/Data/testing.pdf b/Printing-Examples/Print_Collate/Data/testing.pdf
new file mode 100644
index 0000000..45e5cb8
Binary files /dev/null and b/Printing-Examples/Print_Collate/Data/testing.pdf differ
diff --git a/Printing-Examples/Print_Collate/MainWindow.xaml b/Printing-Examples/Print_Collate/MainWindow.xaml
new file mode 100644
index 0000000..441b709
--- /dev/null
+++ b/Printing-Examples/Print_Collate/MainWindow.xaml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Printing-Examples/Print_Collate/MainWindow.xaml.cs b/Printing-Examples/Print_Collate/MainWindow.xaml.cs
new file mode 100644
index 0000000..444cdef
--- /dev/null
+++ b/Printing-Examples/Print_Collate/MainWindow.xaml.cs
@@ -0,0 +1,69 @@
+using Syncfusion.PdfToImageConverter;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Drawing.Printing;
+using System.IO;
+using System.Windows;
+
+namespace Print_Collate
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+ private void Button_Click(object sender, RoutedEventArgs e)
+ {
+ PdfToImageConverter imageConverter = new PdfToImageConverter();
+
+ FileStream inputStream = new FileStream("../../../Data/testing.pdf", FileMode.Open, FileAccess.ReadWrite);
+ imageConverter.Load(inputStream);
+
+ int pageCount = imageConverter.PageCount;
+ List images = new List();
+
+ for (int i = 0; i < pageCount; i++)
+ {
+ Stream outputStream = imageConverter.Convert(i, false, true);
+ Bitmap image = new Bitmap(outputStream);
+ images.Add(new Bitmap(image));
+ }
+
+ PrintImages(images);
+ }
+ private void PrintImages(List images)
+ {
+ bool collate = true;
+ short copies = 2;
+ PrintDocument printDoc = new PrintDocument();
+ printDoc.PrinterSettings.Collate = collate;
+ int totalPages = images.Count;
+ int printIndex = 0;
+ printDoc.PrintPage += (s, e) =>
+ {
+ int pageIndex;
+ if (collate)
+ {
+ // Print full document, then repeat
+ pageIndex = printIndex % totalPages;
+ }
+ else
+ {
+ // Print each page multiple times before moving to next
+ pageIndex = printIndex / copies;
+ }
+
+ e.Graphics.DrawImage(images[pageIndex], e.MarginBounds);
+
+ printIndex++;
+ e.HasMorePages = printIndex < copies * totalPages;
+
+ };
+ printDoc.Print();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Printing-Examples/Print_Collate/Print_Collate.csproj b/Printing-Examples/Print_Collate/Print_Collate.csproj
new file mode 100644
index 0000000..15e353e
--- /dev/null
+++ b/Printing-Examples/Print_Collate/Print_Collate.csproj
@@ -0,0 +1,12 @@
+
+
+
+ WinExe
+
+
+
+
+
+
+
+
diff --git a/Printing-Examples/Print_Collate/Print_Collate.slnx b/Printing-Examples/Print_Collate/Print_Collate.slnx
new file mode 100644
index 0000000..c707119
--- /dev/null
+++ b/Printing-Examples/Print_Collate/Print_Collate.slnx
@@ -0,0 +1,3 @@
+
+
+
diff --git a/Printing-Examples/Print_Collate/targets/MultiTargeting.targets b/Printing-Examples/Print_Collate/targets/MultiTargeting.targets
new file mode 100644
index 0000000..3928b04
--- /dev/null
+++ b/Printing-Examples/Print_Collate/targets/MultiTargeting.targets
@@ -0,0 +1,10 @@
+
+
+ net462;net8.0-windows;net9.0-windows;net10.0-windows
+ true
+ False
+ True
+ True
+ True
+
+
\ No newline at end of file