Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / How do you print more than one page of text???

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. How do you print more than one page of text???
#4645
Posted by: kermit2000_98 2004-06-27 08:39:09
I have got my program to print using the wxPrintout wxDC and such.  However, When I use
dc->DrawText("my text");

I have only been able to ouput one page of text.  When I go to the print preview, and go to the next page it has the same text as the first page.  All of my pages have the same text on them.

How do you print out more than one page of text?
Message2. Re: How do you print more than one page of text???
#4654
Posted by: upCASE 2004-06-27 20:40:32
Hi!
I'm not really sure, but I guess you checked the printing sample allready. Have you tried with wxDC::StartPage() ?
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: How do you print more than one page of text???
#4656
Posted by: kermit2000_98 2004-06-28 00:43:20
I tried
StartPage()
EndPage()
StartDoc()
EndDoc()

still get the same result.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,420.00 ·
 
 
¥950.00 ·
 
 
¥288.00 ·
 
 
¥738.00 ·
 
 
¥397.00 ·
 
 
¥750.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0