Solved

printing

Posted on 2000-03-20
6
211 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Date Picker 64 bit 32 bit issue 12 61
Visual Studio 2005 text editor 10 44
Protecting vb6 & .Net code Obfuscation 18 156
Recommendation vb6 to vb.net or others 14 179
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

820 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