Solved

How to print from the clipboard in Access?

Posted on 2003-11-19
5
362 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven disable workspace resolution 1 79
troubleshoot a python script 8 117
$_GET call between URL 3 70
Excel Web Add-in Where is Visual Basic used 9 85
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A short article about problems I had with the new location API and permissions in Marshmallow
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

710 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