Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

printing

Posted on 2000-03-20
6
Medium Priority
?
234 Views
Last Modified: 2012-05-04
I need an example of printing lines and text and graphics on a single
sheet of paper, using a device context....
0
Comment
Question by:pentomino
  • 2
  • 2
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
Maximka earned 400 total points
ID: 2636115
Printer.Print "dfdf"
Printer.Print Line (12,100) - (13,400)
Printer.EndDoc

Hope this will help You.
Cheers.
0
 
LVL 1

Expert Comment

by:Maximka
ID: 2636133
Sorry ,

Printer.Line (12,100) - (113,1400)

Cheers.

0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2636464
Check out printer.PaintPicture also
0
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!

 
LVL 1

Author Comment

by:pentomino
ID: 2636666
where is the divice context?  I asked for that, since I have to use it for printing rotated text  The two way of printing do not seem to be compatible..
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2636715
Printer.hDC
0
 
LVL 1

Author Comment

by:pentomino
ID: 2636888
OK,, How can I use the  lfEscapement  property of the
LOGFONT structure to print rotated text.??  using the Textout API32?


Private Type LOGFONT
      lfHeight As Long
      lfWidth As Long
      lfEscapement As Long
      lfOrientation As Long
      lfWeight As Long
      lfItalic As Byte
      lfUnderline As Byte
      lfStrikeOut As Byte
      lfCharSet As Byte
      lfOutPrecision As Byte
      lfClipPrecision As Byte
      lfQuality As Byte
      lfPitchAndFamily As Byte
      lfFaceName As String * LF_FACESIZE
   End Type


0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

782 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