point of sale - POS For .NET: Failed to set property properties of PosPrinter -


I can not set the property of the PosPritnter class. For example PageModeStation, PageModeVerticalPosition, PageModePrintArea etc.

  PosPrinter posPrinter = (PosPrinter) posExplorer.CreateInstance (posPrinterInfo). PosPrinter.Open (); PosPrinter.Claim (1000); PosPrinter.DeviceEnabled = True; PosPrinter.PageModeVerticalPosition = 10; // & LT; --- Exception threw: Property PageModeVerticalPosition  

Failed to set exception details:

  Microsoft.PointOfService.PosControlException was without action message = "Failed property To set PageModeVerticalPosition. "Source =" Microsoft.PointOfService "ErrorCodeExtended = 0 StackTrace: Microsoft.PointOfService.Legacy.LegacyProxy.SetProperty on (Int32 Value) Microsoft.PointOfService.Legacy.LegacyPosPrinter.set_PageModeVerticalPosition (string property, propertyValue object) ....  

Any suggestions?

Text after "div class =" itemprop = "text">

Assume that the printer supports, then you probably need to: 1 - Page Enable mode

  posPrinter.PageModePrint (PageModePrintControl.PageMode);  

2 - Define the print area

  posPrinter.PageModePrintArea = new rectangle (0, 0, posPrinter.PageModeArea.X, posPrinter.PageModeArea.Y );  

Before trying to set that asset.


Comments

  1. I would like to convey my admiration for your generosity in support of men and women that have the need for help with this particular concern. Your special dedication to getting the message all over had been wonderfully productive and have all the time made professionals much like me to attain their dreams. Your own invaluable tutorial means a great deal to me and additionally to my office workers. Thank you; from everyone of us. http://www.gegasoft.com/products/pos-point-of-sale-crm-software

    ReplyDelete

Post a Comment

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -