Solved

Printing Fonts and Positions

Posted on 1998-06-17
2
168 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
Comment Utility
.....I use VB4.
0
 
LVL 1

Accepted Solution

by:
redbaron082997 earned 200 total points
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sending a email via excel using vba 6 55
Copy a row 12 52
vb6 connector to mongodb 2 25
Spell Check in VB6 13 41
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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now