Re: OSX printing of images issue

2018-03-29 Thread Mark Talluto via use-livecode
I will ask one of my co-workers to get in contact with you tomorrow. She writes 
printing code all the time. 

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 


> On Mar 29, 2018, at 12:33 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Still asking if anyone has run into to something like this under OSX?
> Has anyone run into issue where you are trying to print or export a card
> whil it is off screen or invisible and not have it render properly? Any
> known tricks to get LiveCode to force a render of a card's objects if it
> is off screen or invisible?

___
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: OSX printing of images issue

2018-03-29 Thread Paul Dupuis via use-livecode
On 3/28/2018 11:28 AM, Paul Dupuis via use-livecode wrote:
> I have a print subsystem for my application that prints a particular set
> of data by laying our the page (sizing the card to the paper, allowing
> for margins, etc, where the content area of the page is a single image
> object. The resizeQuality is set to "best" and alwaysBuffer is true
>
> When I print under Windows (8.x or 10) to a real printer or to PDF, the
> result appears as expected.
>
> When I print under OSX (10.9.5 and up) some of the images are messed up:
> Some are squished to a vertical bar a few pixels wide. Some are the
> right size but are just a big rectangle of black and color stripes. Some
> print properly. This happens whether to Preview PDF or to a real printer.
>
> This occurs under LC8.1.9 (and all the way back to at least LC 6.7.11)
>
> I have stepped through my print system in the debugger and each page
> appears exactly as it should (correctly layed out with a good looking
> image) before the "print card" command.
>
> Has anyone experienced this and have any ideas for a work-around or a fix?
 
I added some code to try to capture/create a test stack to report this
as a bug. Before I start my "page" repeat loop, I create invisible stack
"savePrinting" and set the rect of it to the rect of my print stack
(already set to the paper size)
During the repeat loop, just before I execute "print card", I copy this
card to stack "savePrinting".
And after the repeat loop, I save the savePrinting stack to the desktop
and delete it.

Now with this debug code in place, printing under OSX work fine. It is
as it the command 'copy this card to stack "savePrinting" ' forces the
objects on the card to be rendered properly when the 'print card' (the
next statement) is executed.

Still asking if anyone has run into to something like this under OSX?
Has anyone run into issue where you are trying to print or export a card
whil it is off screen or invisible and not have it render properly? Any
known tricks to get LiveCode to force a render of a card's objects if it
is off screen or invisible?


___
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: OSX printing of images issue

2018-03-28 Thread Bob Sneidar via use-livecode
Being an IT guy, and presently working for a Copier company, deploying 
copier/printers for our customers, I'd advise that you make sure the basics are 
covered. First, make sure the drivers are current. Don't use XPS drivers as 
these are problematic. If you want to test the output of a print job, print to 
a PDF driver first and view the results. That will give you some indication of 
whether or not the driver is the problem or the app itself. 

Also, print just the image and see what happens. Sometimes a corrupt font can 
cause havoc. It's divide and conquer with these sorts of things. Try a simple 
image dowloaded from the inter webs. See how that goes. 

Bob S


> On Mar 28, 2018, at 16:38 , Paul Dupuis via use-livecode 
>  wrote:
> 
> Marty,
> 
> I also hope there is an answer, but the lack of responses to my post on
> this list suggests either very few people are printing images or at
> least very few are have ever run into this issue.
> 
> Some images print fine and some do not and I can not find anything
> consistent about the images themselves to suggest why one would be fine
> and one would not. In fact, in a few cases the same image has printed as
> a narrow black vertical bar and also on another attempt printed correctly.
> 
> My next effort will be to see if I can isolate a set of images into a
> simplified test stack that reproduces this problem.


___
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: OSX printing of images issue

2018-03-28 Thread Paul Dupuis via use-livecode
Marty,

I also hope there is an answer, but the lack of responses to my post on
this list suggests either very few people are printing images or at
least very few are have ever run into this issue.

Some images print fine and some do not and I can not find anything
consistent about the images themselves to suggest why one would be fine
and one would not. In fact, in a few cases the same image has printed as
a narrow black vertical bar and also on another attempt printed correctly.

My next effort will be to see if I can isolate a set of images into a
simplified test stack that reproduces this problem.


On 3/28/2018 7:13 PM, Knapp Martin via use-livecode wrote:
> I’m curious to know what you find. I’m about to embark on updating 2 apps 
> from LC 6.6.5 to the latest in order to get ready for Apple requiring 64 bit. 
> Both apps are heavily printing oriented, so I hope there is an answer here.
> ---
> Marty
>
>
>> On Mar 28, 2018, at 8:28 AM, Paul Dupuis via use-livecode 
>>  wrote:
>>
>> I have a print subsystem for my application that prints a particular set
>> of data by laying our the page (sizing the card to the paper, allowing
>> for margins, etc, where the content area of the page is a single image
>> object. The resizeQuality is set to "best" and alwaysBuffer is true
>>
>> When I print under Windows (8.x or 10) to a real printer or to PDF, the
>> result appears as expected.
>>
>> When I print under OSX (10.9.5 and up) some of the images are messed up:
>> Some are squished to a vertical bar a few pixels wide. Some are the
>> right size but are just a big rectangle of black and color stripes. Some
>> print properly. This happens whether to Preview PDF or to a real printer.
>>
>> This occurs under LC8.1.9 (and all the way back to at least LC 6.7.11)
>>
>> I have stepped through my print system in the debugger and each page
>> appears exactly as it should (correctly layed out with a good looking
>> image) before the "print card" command.
>>
>> Has anyone experienced this and have any ideas for a work-around or a fix?
>>
> ___
> 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: OSX printing of images issue

2018-03-28 Thread Knapp Martin via use-livecode
I’m curious to know what you find. I’m about to embark on updating 2 apps from 
LC 6.6.5 to the latest in order to get ready for Apple requiring 64 bit. Both 
apps are heavily printing oriented, so I hope there is an answer here.
---
Marty


> On Mar 28, 2018, at 8:28 AM, Paul Dupuis via use-livecode 
>  wrote:
> 
> I have a print subsystem for my application that prints a particular set
> of data by laying our the page (sizing the card to the paper, allowing
> for margins, etc, where the content area of the page is a single image
> object. The resizeQuality is set to "best" and alwaysBuffer is true
> 
> When I print under Windows (8.x or 10) to a real printer or to PDF, the
> result appears as expected.
> 
> When I print under OSX (10.9.5 and up) some of the images are messed up:
> Some are squished to a vertical bar a few pixels wide. Some are the
> right size but are just a big rectangle of black and color stripes. Some
> print properly. This happens whether to Preview PDF or to a real printer.
> 
> This occurs under LC8.1.9 (and all the way back to at least LC 6.7.11)
> 
> I have stepped through my print system in the debugger and each page
> appears exactly as it should (correctly layed out with a good looking
> image) before the "print card" command.
> 
> Has anyone experienced this and have any ideas for a work-around or a fix?
> 

___
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

OSX printing of images issue

2018-03-28 Thread Paul Dupuis via use-livecode
I have a print subsystem for my application that prints a particular set
of data by laying our the page (sizing the card to the paper, allowing
for margins, etc, where the content area of the page is a single image
object. The resizeQuality is set to "best" and alwaysBuffer is true

When I print under Windows (8.x or 10) to a real printer or to PDF, the
result appears as expected.

When I print under OSX (10.9.5 and up) some of the images are messed up:
Some are squished to a vertical bar a few pixels wide. Some are the
right size but are just a big rectangle of black and color stripes. Some
print properly. This happens whether to Preview PDF or to a real printer.

This occurs under LC8.1.9 (and all the way back to at least LC 6.7.11)

I have stepped through my print system in the debugger and each page
appears exactly as it should (correctly layed out with a good looking
image) before the "print card" command.

Has anyone experienced this and have any ideas for a work-around or a fix?


___
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