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 Jones  
#1 Posted : Thursday, April 13, 2017 2:41:05 AM(UTC)
Chris Jones

Rank: Advanced Member

Groups: Guest
Joined: 6/9/2016(UTC)
Posts: 34

Thanks: 22 times
Hi, is there a reason why the winforms samples were removed from github?

Also, is it possible to print a pdf or svg generated via graphicsmill in c# code?

Thanks
Fedor  
#2 Posted : Friday, April 14, 2017 4:37:48 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Quote:
Hi, is there a reason why the winforms samples were removed from github?


We removed Windows Forms Controls in the version 9 of Graphics Mill SDK. if you still need this functionality or need code samples please submit a case.

Quote:
Also, is it possible to print a pdf or svg generated via graphicsmill in c# code?


Do you need to print to a local/network printer or do you need to generate a PDF file for further processing?
Best regards,
Fedor Skvortsov
Chris Jones  
#3 Posted : Monday, April 17, 2017 10:29:59 PM(UTC)
Chris Jones

Rank: Advanced Member

Groups: Guest
Joined: 6/9/2016(UTC)
Posts: 34

Thanks: 22 times
Is there a reason why winforms support was removed?

Basically we're generating images at runtime in RGB or CMYK (depending on the printer with printer/paper specific colour profiles to be accurate as possible) and we need to be able to print them. We haven't done a lot of printing code but the prototype i made last year used the winforms code so that we can print cmyk images as far as i know.

Printing a pdf is less important, we we're thinking of generating PDFs so we can store a record of what documents were generated/printed so would be preferable if we just generated that then printed it.

Is it possible to print cmyk etc. images to a windows printer if graphicsmill doesn't wrap that functionality?

Edit: We don't actually use Winforms (we use WPF) but we may also print from a headless/server machine so even if there was a way of just creating a print job made of images that would be good?

Thanks

Edited by user Monday, April 17, 2017 11:00:46 PM(UTC)  | Reason: Not specified

Eugene Kosmin  
#4 Posted : Wednesday, April 19, 2017 2:31:02 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,

Quote:
Is there a reason why winforms support was removed?


If you have a valid license for GM, we provide you the source code of WinForms package for free. Please submit a support case.

Quote:
Is it possible to print cmyk etc. images to a windows printer if graphicsmill doesn't wrap that functionality?


As I understand, WinForms doesn’t have any special abilities for printing. It uses Bitmap.DrawOn method inside PrintPage event handler. Inside DrawOn method pixel data is converted to Format24bppRgb, so only RGB data is printed.
Best regards,
Eugene Kosmin
The Aurigma Development Team
thanks 1 user thanked Eugene Kosmin for this useful post.
Chris Jones on 4/19/2017(UTC)
Chris Jones  
#5 Posted : Wednesday, April 19, 2017 3:04:24 AM(UTC)
Chris Jones

Rank: Advanced Member

Groups: Guest
Joined: 6/9/2016(UTC)
Posts: 34

Thanks: 22 times
I didn't realise we got the source code, i will take a look.
Thanks
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.