This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Your Projects subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Project Ideas/Start New Projects => Your Projects
Author Message
IntrnalDsK


Member


Joined: 23 Jun 2003
Posts: 103

Posted: 12 Sep 2003 08:42:53 pm    Post subject:

Use Print() to print your form. This prints the interface only.

Private Sub cmdPrint_Click()
Print()
End Sub

Private Sub Print()
Form.Print
End Sub

or, if you would prefer, you could just use Form.Print as a line in your program.




(Above was the Email that i sent him)

Make sure that you hide all of the objects that you do not want printed along with the form. Also note that this code will return an error if the default printer is not connected properly. It will also print without confirmation, so you make want to make a msgbox 'Are you sure?' kind of thing.


Last edited by Guest on 12 Sep 2003 08:46:15 pm; edited 1 time in total
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2
» View previous topic :: View next topic  
Page 2 of 2 » All times are UTC - 5 Hours

 

Advertisement