Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems printing forms 1

Status
Not open for further replies.

steveouthwaite

Programmer
Feb 12, 2003
165
GB
Hi,
I am trying to send a form to a printer with the line
Me.PrintForm

this seems to work fine the first time the form is printed, but if I try to print again, the following error is returned:

"Run time error '486':
Can't Print form image to this type of printer"

stoping and starting the prog lets me print again, but this is obviously a bit naff

has anyone any ideas?

Thanks in advance
Steve
 

Just a guess but use...
[tt]
Printer.EndDoc
[/tt]
after you print the form and see if it will allow you to print again.

Good Luck

 
Cheers - I'm new to VB and am slowly working my way through the documentation - I missed that method when I was looking for an answer. Thanks Again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top