?
Solved

Printing Fonts and Positions

Posted on 1998-06-17
2
Medium Priority
?
175 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
[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 Comments
 

Author Comment

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

Accepted Solution

by:
redbaron082997 earned 800 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

764 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