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
Solved

Printing Fonts and Positions

Posted on 1998-06-17
2
172 Views
Last Modified: 2013-12-03
how do you use fonts, place things on the page and change the size of the fonts when using the printer?...Basically all I need are examples of each... I can probly figure it out from there.
0
Comment
Question by:timot
2 Comments
 

Author Comment

by:timot
ID: 1463589
.....I use VB4.
0
 
LVL 1

Accepted Solution

by:
redbaron082997 earned 200 total points
ID: 1463590
private sub printfont()
printer.scalemode = 5 'inches
printer.print "" ' initialize printer
printer.fontname = "Arial"
printer.fontsize = 12
printer.currentx = 2
printer.currenty = 2
printer.print "Line1"
printer.print "line2"
printer.fontsize = 24
printer.print "line3"
printer.enddoc
end sub
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 59
Visual Studio 2005 text editor 10 43
Help with retrieving partial value from a column using VB.NET 4 50
Sub or Function is not defined 6 43
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

791 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