Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

How to print from the clipboard in Access?

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
4044
Asked:
4044
  • 3
1 Solution
 
Mikal613Commented:
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
 
bhagyeshtCommented:
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
 
4044Author Commented:
Can you give me any sample code?  I'm still learning VB.  Thanks!
0
 
bhagyeshtCommented:
this link should do to start with
http://www.visualbasicforum.com/t53380.html
0
 
bhagyeshtCommented:
glad could help
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now