|
-
Dec 2nd, 2002, 09:54 PM
#1
Thread Starter
Hyperactive Member
Print
I need to print something through VB.
I need to format what I printing too…
Can someone provide me with a sample code?
-
Dec 2nd, 2002, 10:11 PM
#2
Lively Member
What's so hard about looking for it yourself??
at a search engine.
like google. or msn. if you've ever heard of that.
www.mindset1.com
Religious Debate Forums
-
Dec 2nd, 2002, 10:16 PM
#3
Thread Starter
Hyperactive Member
-
Dec 3rd, 2002, 01:25 AM
#4
Addicted Member
there are many print exemples in this forum
look at thread numbers; 168610 or 211911 or 175779 and you will find someting about printing.
enjoy
-
Dec 3rd, 2002, 02:17 AM
#5
To print text use:
VB Code:
Private Sub Command1_Click()
CommonDialog1.ShowPrinter
Printer.Print Text1.Text
Printer.EndDoc
End Sub
To print pictures use:
VB Code:
Private Sub Command1_Click()
CommonDialog1.ShowPrinter
Printer.PaintPicture picPicture.Image, 0, 0
Printer.EndDoc
End Sub
Last edited by Nightwalker83; Dec 3rd, 2002 at 02:28 AM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|