Solved

How to print from the clipboard in Access?

Posted on 2003-11-19
5
370 Views
Last Modified: 2010-04-17
I am using Access 2000 and VB 6.3.  I want a button on a screen that will print the screen.  I've got the screen saved on the clipboard, but I cannot figure out how to print it.  I've tried several Printer commands such as Printer.PaintPicture Clipboard.GetData(), 0, 0 but that doesn't work.  I can't even Printer.Print "".  They all result in an Object Required error.  Help!
0
Comment
Question by:4044
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 9779882
http://www.visual-basic-data-mining.net/Forum/ShowPost.aspx?PostID=704

what i would suggest is using the code Save the Picture in a temmp folder and then juat call the Printer object to print that file
printer.paintpicture
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9816541
take a RTF and use WM_PASTE message on the RTF's hwnd. it shall get the image on the rtf then call print on the rtf
0
 

Author Comment

by:4044
ID: 9817809
Can you give me any sample code?  I'm still learning VB.  Thanks!
0
 
LVL 9

Accepted Solution

by:
bhagyesht earned 250 total points
ID: 9822464
this link should do to start with
http://www.visualbasicforum.com/t53380.html
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9855583
glad could help
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn different types of Android Layout and some basics of an Android App.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

631 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