Printing a DataGrid

Terence Heaford t.heaford at btinternet.com
Mon Nov 17 02:55:38 EST 2014


LC 6.7.1 (RC2) on OSX Yosemite

I have a DataGrid with a number of columns. I have started a handler to print reports of the content of the DataGrid and my first step was to print the visible portion via. this script before moving on to printing all the contents:

on mouseUp
   answer page setup as sheet
   if the result = "cancel" then
      exit mouseUp
   end if
   answer printer as sheet
   if the result = "cancel" then
      exit mouseUp
   end if
   put the topLeft of grp "tranTable" into tTopLeft
   put the bottomRight of grp "tranTable" into tBottomRight
   print card from tTopLeft to tBottomRight into the printPaperRectangle
end mouseUp

When I select Open PDF in Preview I get artefacts (lines) in the coloured rows of the table as shown in the screen shot below.

https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-17%20at%2007.40.52.png <https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-17%20at%2007.40.52.png>

Is this a bug or am I doing something wrong?

All the best

Terry


More information about the use-livecode mailing list