Solved

Printing Fonts and Positions

Posted on 1998-06-17
2
171 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
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…

831 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