Re: Basic Table Field prints as one solid color

2015-04-19 Thread J. Landman Gay

On 4/19/2015 2:58 PM, Paul Dupuis wrote:

I have now tried this with 3 different drivers with the exact
same results, so I guess it is not a driver issue :-(


In that case it's probably a bug. I'd report it and give them a copy of 
an example stack.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
On 4/19/2015 2:07 PM, Scott Rossi wrote:
 Did you try making the field transparent (disable opaque)?

Scott, thanks for the suggestion. Unfortunately Opaque has no effect on
the issue.

 Here's a suggestion from the goofy workarounds category...

 You say the field prints correctly with no text.  How about empty lines with 
 only return characters?  If that works, and assuming the field can be 
 scrolled, maybe you could try:

 - store the scroll value of the field and it's text
 - set the text of the field to some number of empty lines that allows 
 restoring the scroll
 - import a snapshot of the field at the field's rect with grid intact
 - set the ink effect of the snapshot to multiply
 - restore the field's text and scroll
 - disable the field's grid (so the snapshot is used as visible grid)
 - print
 - restore the grid and delete the snapshot

 If scrolling is not needed, you can skip the part about setting the empty 
 lines and setting the scroll.

 I know this ranks about 11 on the goofiness scale, but maybe worth a try.

Yea, there a bunch of work around where the simplest seems to just do an
'export snapshot' and print the resulting image (hiding the field
entirely for printing), but I'd before I switch to levels of workarounds
like thsi, I want to be sure thsi really is a bug and report it to RunRev.

That's one reason I was asking if any else has either experienced this
issue. OR, I guess I should have asked if anyone else can reproduce this
issue.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Basic Table Field prints as one solid color

2015-04-19 Thread J. Landman Gay

On 4/19/2015 10:39 AM, Paul Dupuis wrote:

If either the vGrid or hGrid are set to true, the field prints as a
solid block of color of whatever the field borderColor is set to.


It may be a printer driver problem. If you're on Windows, see if you 
have the latest driver. I had a similar issue years and years ago on a 
Windows machine and that was the reason, though things may have changed 
since then. Worth a try though.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Basic Table Field prints as one solid color

2015-04-19 Thread Scott Rossi
Did you try making the field transparent (disable opaque)?

Here's a suggestion from the goofy workarounds category...

You say the field prints correctly with no text.  How about empty lines with 
only return characters?  If that works, and assuming the field can be scrolled, 
maybe you could try:

- store the scroll value of the field and it's text
- set the text of the field to some number of empty lines that allows restoring 
the scroll
- import a snapshot of the field at the field's rect with grid intact
- set the ink effect of the snapshot to multiply
- restore the field's text and scroll
- disable the field's grid (so the snapshot is used as visible grid)
- print
- restore the grid and delete the snapshot

If scrolling is not needed, you can skip the part about setting the empty lines 
and setting the scroll.

I know this ranks about 11 on the goofiness scale, but maybe worth a try.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design

 On Apr 19, 2015, at 8:39 AM, Paul Dupuis p...@researchware.com wrote:
 
 Help!
 
 I am trying to print a card with a single field on it. The field is a
 basic table field (i.e. hGrid and vGrid set to true, dontWrap to true,
 etc.). I.e. all the standard field settings you get when you drag a
 Basic Table Field off the tool palette in LC6.6.5, 6.7.4, or 7.0.4.
 The same issue/error is present in all 3 versions of LC, although I am
 working in LC6.6.5 under Windows.
 
 If either the vGrid or hGrid are set to true, the field prints as a
 solid block of color of whatever the field borderColor is set to. You
 test this by creating a new stack. Place a single table field on stack.
 Populate the field with some data (a few columns and rows)  and execute
 Print cd in the message box. NOTE: It is important the field has data.
 An empty table field prints with the grid drawn correctly as expected,
 but any data in the table gets printed as a block of the borderColor.
 
 Has anyone encountered this issue? Does anyone have a work-around that
 lets a table field with it's grids on be printed properly? I have tried
 explicitly setting the stack bgColor, cd bgColor and fld bgColor to
 white, the text color to black and the borderColor of the field to grey,
 but that just gets me a grey block instead of a black block.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
On 4/19/2015 2:55 PM, J. Landman Gay wrote:
 On 4/19/2015 10:39 AM, Paul Dupuis wrote:
 If either the vGrid or hGrid are set to true, the field prints as a
 solid block of color of whatever the field borderColor is set to.

 It may be a printer driver problem. If you're on Windows, see if you
 have the latest driver. I had a similar issue years and years ago on a
 Windows machine and that was the reason, though things may have
 changed since then. Worth a try though.


Jacque,

Thank you! I have experienced the same thing in the past and should have
though immediately of trying other PDF printer drivers and did not.
However, I have now tried this with 3 different drivers with the exact
same results, so I guess it is not a driver issue :-(


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
On 4/19/2015 2:55 PM, J. Landman Gay wrote:
 On 4/19/2015 10:39 AM, Paul Dupuis wrote:
 If either the vGrid or hGrid are set to true, the field prints as a
 solid block of color of whatever the field borderColor is set to.

 It may be a printer driver problem. If you're on Windows, see if you
 have the latest driver. I had a similar issue years and years ago on a
 Windows machine and that was the reason, though things may have
 changed since then. Worth a try though.


Jacque,

Thank you! I have experienced the same thing in the past and should have
though immediately of trying other PDF printer drivers and did not.
However, I have now tried this with 3 different drivers with the exact
same results, so I guess it is not a driver issue

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
Help!

I am trying to print a card with a single field on it. The field is a
basic table field (i.e. hGrid and vGrid set to true, dontWrap to true,
etc.). I.e. all the standard field settings you get when you drag a
Basic Table Field off the tool palette in LC6.6.5, 6.7.4, or 7.0.4.
The same issue/error is present in all 3 versions of LC, although I am
working in LC6.6.5 under Windows.

If either the vGrid or hGrid are set to true, the field prints as a
solid block of color of whatever the field borderColor is set to. You
test this by creating a new stack. Place a single table field on stack.
Populate the field with some data (a few columns and rows)  and execute
Print cd in the message box. NOTE: It is important the field has data.
An empty table field prints with the grid drawn correctly as expected,
but any data in the table gets printed as a block of the borderColor.

Has anyone encountered this issue? Does anyone have a work-around that
lets a table field with it's grids on be printed properly? I have tried
explicitly setting the stack bgColor, cd bgColor and fld bgColor to
white, the text color to black and the borderColor of the field to grey,
but that just gets me a grey block instead of a black block.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode