Solved

printing

Posted on 2000-03-20
6
205 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 100 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

770 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