This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
Chris Herrington  
#1 Posted : Wednesday, May 8, 2013 5:34:13 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Guest
Joined: 9/6/2005(UTC)
Posts: 106

Dmitry,

I have multiple tiff images that I need to print. Right now I view the image and have to select each image and print them a page at a time. Is there a way to print all the images? I know that I will need to fetch them but I don't want to have to lead them in the control and show that image before I print it. I just want to be able to fetch the images and print them all without rendering each one in the control.

Thanks in advance

Chris

Chris Herrington  
#2 Posted : Thursday, May 9, 2013 5:39:22 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Guest
Joined: 9/6/2005(UTC)
Posts: 106

I have added all my single tiffs into one multipage tiff. Now what would be the best way to print a multipage tiff? Or is that the best solution?
Eugene Kosmin  
#3 Posted : Monday, May 13, 2013 1:01:42 AM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Guest
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
Hi Chris,

There are no printing components in Graphics Mill, but you can try to use standard approach:

Code:

using (var pd = new System.Drawing.Printing.PrintDocument())
using (var bitmap = new Bitmap("image.jpg"))
{
    pd.PrintPage += (object sender, PrintPageEventArgs ev) =>
    {
        bitmap.DrawOn(ev.Graphics, 0, 0, CombineMode.Copy);
    };
    pd.Print();
}
Best regards,

Eugene Kosmin

The Aurigma Development Team

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.