printing

I need an example of printing lines and text and graphics on a single
sheet of paper, using a device context....
LVL 1
pentominoAsked:
Who is Participating?
 
MaximkaConnect With a Mentor Commented:
Printer.Print "dfdf"
Printer.Print Line (12,100) - (13,400)
Printer.EndDoc

Hope this will help You.
Cheers.
0
 
MaximkaCommented:
Sorry ,

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

Cheers.

0
 
caraf_gCommented:
Check out printer.PaintPicture also
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
pentominoAuthor Commented:
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
 
caraf_gCommented:
Printer.hDC
0
 
pentominoAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.