Hello,
my final solution of my labeltests
I created a standalone app. and translated to english.
With the used < Units > it works perfect now.
PrintImage( nRow, nCol, uImage, nWidth, nHeight, lStretch, nAlpha, lTransp, lGray, cUnits )
I'm working on some more functions like
1. selecting any DBF and define the fields to be printed ( for the moment customer.dbf is used )
2. define different labelfonts
3. windows and dialog background settings ( title-define, logo-selection, image, brush, colors )
You can create the normal 3 labelstyles on format A4 landscape with the sizes :
7 = medium
9 = small
4 = large ( NO centered selected to see the difference !!! )
Download ( full source and images included )
http://www.pflegeplus.com/DOWNLOADS/Label1.zip
Editor
7 textlines with defined positions can be printed ( 4 lines with a big font and 3 lines using a small font )
Free line-edit or select data from customer.dbf and datepicker
Disable labels in case labels of a paper do not exist anymore if printed
Enable / disable printing a line
Enable / disable printing a date
Enable / disable text adjustment left or centered ( images are adjusted to center )
Define any of the 4 image-sizes
Vertical text-lines and image adjustment
Define the space between labels ( normal next each other with no space )
Define the left space to the 1. label to center all labels to A4 landscape
Clear labels on button-action
The first 2 labels are using data from CUSTOMER.dbf
Print-preview
regards
Uwe