Solved

How to print from the clipboard in Access?

Posted on 2003-11-19
5
327 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
Comment Utility
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
Comment Utility
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
Comment Utility
Can you give me any sample code?  I'm still learning VB.  Thanks!
0
 
LVL 9

Accepted Solution

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

Expert Comment

by:bhagyesht
Comment Utility
glad could help
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This is about my first experience with programming Arduino.
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 …
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…

743 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

11 Experts available now in Live!

Get 1:1 Help Now