: How to use TOPOSPOSPrinter - Delphi II

I try to work with the OPOS ocx

epasquier wrote:

If this not enough to make it work, you will have to check that the DeviceEnabled is correctly implemented in the OposPOSPrinter_CCO_TLB.pas because when I imported the OPOSPOSPrinter.ocx it was not correctly done. I had to implement it myself (and a few other property getter/setter).

Could you please explain which changes you made for the DeviceEnabled porperty?
Who is Participating?
Emmanuel PASQUIERFreelance Project ManagerCommented:
Hello !

I don't remember exactly what I did, I think some properties where not there at all in the wrapper after Delphi automatically imported the activeX so I had to implement them with their getter/setter properties (calling the underlying activeX)

Here are the units and a package I use

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.