422,764 Members | 1,289 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 422,764 IT Pros & Developers. It's quick & easy.

Runtime error 2212 won't print object

P: 10
I have a shared database that prints out pull lists for inventory. The user puts in there information in a form and clicks a button at the bottom for the printing. The printing works on all computers in the office but one. That one computer keeps throwing the error 2212. I have set that computer to the default shared printer and rebooted but it still continues the error. The coding is below.

Expand|Select|Wrap|Line Numbers
  1. Private Sub PrtRptLoadTicket_Click()
  2.  Me.Refresh
  3.  Dim stDocName As String
  4.  stDocName = "RptLoadTicket"
  5.  ' DoCmd.OpenReport stDocName, acPreview, , "[TicketID] = " & Me.[TicketID] ' Previews the load ticket on the screen
  6.  DoCmd.OpenReport stDocName, acViewNormal, , "[TicketID] = " & Me.[TicketID] ' Send the ticket directly to the printer
  7.  DoCmd.GoToRecord , , acNewRec ' Sets the load ticket to a new ticket
  8. End Sub
Any help would be great.
Thanks,
Russell
Sep 5 '14 #1

✓ answered by zmbd

Most likely either the printer name is wrong or the printer driver on that PC is corrupted:
http://support.microsoft.com/kb/294552

Personally, I'd get your IT support involved to un/re-install the printer driver

Share this Question
Share on Google+
2 Replies


zmbd
Expert Mod 5K+
P: 5,056
Most likely either the printer name is wrong or the printer driver on that PC is corrupted:
http://support.microsoft.com/kb/294552

Personally, I'd get your IT support involved to un/re-install the printer driver
Sep 6 '14 #2

P: 10
@zmbd
Thank you. I will give this a try on Monday and let you know how it turns out.

Thanks,
Russell
Sep 7 '14 #3

Post your reply

Sign in to post your reply or Sign up for a free account.