Skip to content

Update sample for How to configure paper size, color, duplex,resolution,margins, and paper source settings in PrinterSettings#90

Merged
Vikassekar merged 3 commits into
masterfrom
1004655
May 22, 2026
Merged

Update sample for How to configure paper size, color, duplex,resolution,margins, and paper source settings in PrinterSettings#90
Vikassekar merged 3 commits into
masterfrom
1004655

Conversation

@Yaminisrisf4389
Copy link
Copy Markdown
Collaborator

Update sample for How to configure paper size, color, duplex,resolution,margins, and paper source settings in PrinterSettings

FileStream inputStream = new FileStream("../../../testing.pdf", FileMode.Open, FileAccess.ReadWrite);
imageConverter.Load(inputStream);
//Convert PDF to Image.
Stream outputStream = imageConverter.Convert(0, false, false);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of single image can you change to print complete document ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per your suggestion I have modified code to print all document pages

@Vikassekar Vikassekar merged commit 77061ec into master May 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants