exception error every time user sends print request to printer? RRS feed

  • Question

  • Hi - we are seeing the following error message when some users are selecting jobs to be printed - we have not changed any software but this error has started recently - any help would be appreciated - a scan of the error code produced nothing in microsoft or the web - ken

    Message: Value out of range
    User: (Type ) [admin]
    Location: [\stg\]
    Exception: System.Runtime.InteropServices.COMException (0x800A1200): Value out of range
       at Word.PageSetup.set_LeftMargin(Single prop)
       at Office2000._Word.cPageSetup.set_LeftMargin(Single Value)
       at ClientShared.cWordInstance.Print(String strFile, Int32 iCopies, String strPrinter, String& strError) in C:\MT-VB.NET4441\ClientShared\Word\WordInstance.vb:line 137
       at MTController.BaseView._Print(Boolean bFileCopy) in C:\MT-VB.NET4441\MTApp\MTApp\Views\BaseView.vb:line 933
       at MTController.BaseView.Menu_PrintFileCopy_Click(Object sender, EventArgs e) in C:\MT-VB.NET4441\MTApp\MTApp\Views\BaseView.vb:line 869
       at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.MenuItemData.Execute()
       at System.Windows.Forms.Command.Invoke()
       at System.Windows.Forms.Control.WmCommand(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ListView.WndProc(Message& m)
       at ClientShared.SortIconListView.WndProc(Message& m) in C:\MT-VB.NET4441\ClientShared\controls\SortIconListView.vb:line 176
       at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Monday, October 6, 2014 10:16 AM

All replies

  • Hi fed,

    According to your description, I would like to know the details below:

    1. Where do you get that error message?
    2. What’s the project of MTApp? (C:\MT-VB.NET4441\MTApp\MTApp\) Is it a windows form application or VSTO Add-in project?

    Please provide the detail code or share the project on the OneDrive.

    Base on the error message, it means that the left margin value out of range. You need to check the value that you specified.

    Best Regards

    Starain Chen

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, October 7, 2014 7:26 AM