mdInvoiceRequest  -  the modules for generating
XML and/or paper based invoices of physicians
mdInvoiceRequest
    API DocBrowser   ·  Revision history
    Download area
    FAQ
 
home
system
integrators
search the
site
 

validator
modules
invoice
modules
credit
modules
miscellaneous
modules
tools

  Design by TMR AG
  © by sumex1.net
 
 
How to adjust the position of the ESR coding line

The report generator included in the module allows to shift the position of any text field and/or paragraph. The delta X and Y values are stored in a INI file of the same name as the print template but with an extension .vpd (whereas the print template has an extension .vps). E.g. the shift of the ESR coding line of the standard summary request template (MDRequest400_Summary_dt.vpd in the install directory) might have an entry in the INI section [ObjectAdjustment] of the form:
[ObjectAdjustment]
ESR_CODINGLINE=250,-140
where ESR_CODINGLINE is the object name followed by the delta X and Y, respectively. Both values are given in TWIPS with the origin in the upper left corner of the document. The conversion factor between TWIPS and mm is: 1 mm = 56.69291 TWIPS.

The main interface IMDInvoiceRequestManager includes the method IMDInvoiceRequestManager::PrintAdjust that shows the dialog shown to the right. One can select an object and adjust this object's location.

Note that there is a further possibility to adjust the position of the whole document by using the 2 input fields at the bottom. Eventually an appropriate entry in the [ObjectAdjustment] section is written for this shift.