Solved

printing

Posted on 2000-03-20
6
186 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now