Printing delays

When I print using
vObjPrint.Print sContents
where sContents is a string it can take up to half an hour for the print job to spool even though there's only a few hundred bytes of data. Here's the code..

   Set vObjPrint = Printer '//unc/printer
   vObjPrint.FontName = sFont 'Courier New
   vObjPrint.Orientation = vbPRORLandscape
   vObjPrint.FontSize = 8  
   vObjPrint.Print sContents  
LVL 2
innovateAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Anthony PerkinsConnect With a Mentor Commented:
You need to add:
vObjPrint.EndDoc

At the end.

Anthony
0
 
innovateAuthor Commented:
I haven't had the time to try it but I'll trust you, got a more impotant Q
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.