Simplicty and flexibility!


New Function in 8 - PrintMemo() - Prints the content of a Memo via our WebField object (Ver. 8.0.0.1102)

Started by DataEase
You will need to Sign In to be able to comment on the Blog!

New Function in 8 - PrintMemo() - Prints the content of a Memo via our WebField object (Ver. 8.0.0.1102)

DataEase for Windows printing is concat("CR","AP).

How could a product that was the master of exporting, listing, printing go so completely astray?

As interesting as the answer to that question might be, the answer to the next would be even more interesting..

How come they never fixed it?

Anyhow, this is what we now do. In line with our new strategy of not changing functionality, but adding alternatives, we have now added a way of Printing the content of a Memo directly.

So why would I want to do that?

DataEase Forms are quite good as forms, but they are useless as reports. The format used in DFW is an absolute format, and the printing of this is something called wallpapering. i.e. it is printed WYSIWYG exactly as it is represented on the screen. If it is 0.000001 mm larger than your page, it adds a page to the right etc.

Which crazy person thought this was how the world was going to work in the 21st Century should stop reading Science Fiction comic books, and return to the planet earth.

(The fact that 10mm on a DataEase report is not 10mm on a printer, just add to the exhilaration...read frustration).

They have obviously not be able to fix this or realise the problem over the last 20 years, and we must just assume that it is a good reason for it, and what would happen to all the reports that has been massaged to fit into this crazy framework over the years, if we actually fixed it?

So our conclusion must be, leave it alone and focus on making alternative ways of solving it.

All of this will be history in DG3, but there is a life before DG3 too, and that is our main priority here.

We now use Memo to build documents (HTML or simply text), which you can so print via our WebField object. This way you get a properly formatted document every time, on all printers.

Are we dreaming?

returnvalue := PrintHtml(MemoToPrint, "Printer 1", 1)


Written by DataEase 04/07/12 at 09:13:20 Dataease [{8}]FIVE
DG3_BlogList