Solved

How to print from the clipboard in Access?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
When i run adoquery my application freezes 26 166
SUM 2 INTEGER ARRAYS INTO 1 10 100
VB.net and sql server 4 36
Query group by data in SQL Server - cursor? 3 34
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

773 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