Printing

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Mar 2006
Posts: 56
Reputation: Blujacker is an unknown quantity at this point 
Solved Threads: 1
Blujacker Blujacker is offline Offline
Junior Poster in Training

Printing

 
0
  #1
Apr 13th, 2006
I am using script from coed snipet how to print a page, but i dont know way how to say to printer which font and which size of font set, which colour of background and foreground.Please help
Thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 138
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: Printing

 
0
  #2
Apr 16th, 2006
Which code snippet are you talking about?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 1,546
Reputation: Ene Uran has a spectacular aura about Ene Uran has a spectacular aura about 
Solved Threads: 174
Ene Uran's Avatar
Ene Uran Ene Uran is offline Offline
Posting Virtuoso

Re: Printing

 
0
  #3
Apr 17th, 2006
I have a hunch that driving a printer depends a lot on the operating system and the installed drivers.
drink her pretty
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 138
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: Printing

 
0
  #4
Apr 19th, 2006
wxPython has Printer Framework that allows you to do print whatever you put on a canvas. This can be colored text of any font. However, you got to get familiar with wxPython GUI. Look at wx.Printout(), wx.PrintData() and wx.PrintPreview()
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,131
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 945
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Printing

 
0
  #5
Apr 19th, 2006
wxPython also offers HtmlEasyPrinting, for an example go to this web site:
http://wiki.wxpython.org/index.cgi/Printing
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 1782 | Replies: 4
Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC