Have you take a look at the IupCanvas samples that use CD? So, to print
you have to draw again using another canvas that points to a printer
document, like this:

canvas = cdCreateCanvas(CD_PRINT, "My Print Test");

myRedraw(canvas);

cdKillCanvas(canvas);

  For instance, the myRedraw function can be the same function you draw on
screen.

Best,
Scuri

> -----Original Message-----
> From: Ano Nymous [mailto:[email protected]]
> Sent: quarta-feira, 6 de junho de 2012 20:39
> To: IUP discussion list.
> Subject: Re: [Iup-users] printing solution for IUP toolkit
> 
> hi,
> is there any simple example code to show how to print the canvas stuffs to
> printer?
> 
> thank you.
> 
>
----------------------------------------------------------------------------
--
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to