Solved

How do i print stuff!

Posted on 1998-10-05
2
172 Views
Last Modified: 2010-04-30
I am a newbie at Visual Basic.  I have visual basic 5.0 and I need to know how to Print stuff(As in send info to the printer, not the print command.)PLS help me with this.  I am really PO'ed right now.
0
Comment
Question by:Peanuthead
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
kamall earned 50 total points
ID: 1438297
If you mean that you want to print the entire form object, use:

Me.PrintForm

This will print the current form and all the controls on it.

If you want however to send text to the printer, then use:

Printer.Print "My Text"
Printer.EndDoc

Hope that helps.
Regards
0
 
LVL 7

Expert Comment

by:kamall
ID: 1438298
For any questions, please leave me a comment.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question