Re: Vector export?

2015-02-20 Thread Terry Judd
Hi Graham - I think I’ve had that blank page problem before and the
solution was to use ‘print break’ between each card that was printed -
even if there was only one card. My print routine for a multi page A4
report goes something like this…

set the printPaperSize to 595,842 # A4 size
set the printScale to 1
open printing to pdf tPath
if the result is "Cancel" then exit printReport
put 0,0,595,842 into tRect
print card "A" of this stack into tRect
print break
print card "B" of this stack into tRect
print break
print card "C" of this stack into tRect
close printing


As far as the titlebar thing goes I guess you can just add a field or
whatever that is only shown when printing, in which case you would
temporarily need to move the rest of the card controls down a tad.

Terry...



On 21/02/2015 12:26 am, "Graham Samuel"  wrote:

>I am keen to implement this, but I came up against a couple of little
>problems:
>
>1. If I try to export a whole window (a card, really), after setting the
>printPaperSize to the window’s dimensions and printMargins to zero,  I
>get two pages in my PDF, the first one blank. The print statement itself
>says ‘print this card’, which should print one card, and the page size
>seems right, so it’s a mystery. Can anyone say why this happens?
>
>2. Actually I even wanted to show the title bar of the window, which
>exporting the card doesn’t do (this is not a bug, just the way it works,
>AFAICS). I decided to add a bit extra to the height of the page to
>accommodate at least a bit of empty space to represent the title bar, but
>this didn’t work. I still got two pages, and the second page was the
>exact size of the window. Mysterious again.
>
>OTOH, the quality of the PDFs is superb.
>
>Graham
>
>> On 20 Feb 2015, at 00:38, Terry Judd  wrote:
>> 
>> David¹s right - PDF export is definitely the way to go. It¹s even good
>>for
>> bitmaps if you use high res images that have been sized down and locked
>> within LC.
>> 
>> Terry...
>> 
>> On 20/02/2015 9:56 am, "Graham Samuel"  wrote:
>> 
>>> Ha! Sounds promising. Midnight here, I¹ll investigate tomorrow. Thanks
>>> 
>>> Graham
>>> 
 On 19 Feb 2015, at 23:33, dfepst...@comcast.net wrote:
 
 For high resolution export of vectors:  open printing to pdf
 
 David Epstein 
>>> 
>>> 
>>> ___
>>> 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
>
>
>___
>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: Vector export?

2015-02-20 Thread Graham Samuel
I am keen to implement this, but I came up against a couple of little problems:

1. If I try to export a whole window (a card, really), after setting the 
printPaperSize to the window’s dimensions and printMargins to zero,  I get two 
pages in my PDF, the first one blank. The print statement itself says ‘print 
this card’, which should print one card, and the page size seems right, so it’s 
a mystery. Can anyone say why this happens? 

2. Actually I even wanted to show the title bar of the window, which exporting 
the card doesn’t do (this is not a bug, just the way it works, AFAICS). I 
decided to add a bit extra to the height of the page to accommodate at least a 
bit of empty space to represent the title bar, but this didn’t work. I still 
got two pages, and the second page was the exact size of the window. Mysterious 
again.

OTOH, the quality of the PDFs is superb.

Graham

> On 20 Feb 2015, at 00:38, Terry Judd  wrote:
> 
> David¹s right - PDF export is definitely the way to go. It¹s even good for
> bitmaps if you use high res images that have been sized down and locked
> within LC.
> 
> Terry...
> 
> On 20/02/2015 9:56 am, "Graham Samuel"  wrote:
> 
>> Ha! Sounds promising. Midnight here, I¹ll investigate tomorrow. Thanks
>> 
>> Graham
>> 
>>> On 19 Feb 2015, at 23:33, dfepst...@comcast.net wrote:
>>> 
>>> For high resolution export of vectors:  open printing to pdf
>>> 
>>> David Epstein 
>> 
>> 
>> ___
>> 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


___
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: Vector Export?

2015-02-19 Thread J. Landman Gay
Right, I was talking about bitmaps. All screen exports are some kind of bitmap. 
If I need a higher resolution I open the file in Graphic Converter or Photoshop 
and increase the resolution. 

The PDF idea is interesting, I hadn't thought of that. 

On February 19, 2015 4:55:35 PM CST, Graham Samuel  wrote:
>Sorry Jacque, I don’t understand. Suppose I have say a filled rectangle
>(‘draw' not ‘paint', thus a vector image). When I export it, I think
>this ends up as a bitmap with the resolution of the screen it was
>displayed in while in LC. Is this what you’re seeing? What about a
>group containing say vector items and also text? In theory this could
>be exported as an image with no inherent resolution, so capable of
>being reproduced at different resolutions as required. I don’t seem to
>get anything other than bitmaps.
>
>Graham
>
>> On 19 Feb 2015, at 22:22, J. Landman Gay 
>wrote:
>> 
>> On 2/19/2015 10:50 AM, Graham Samuel wrote:
>>> Is there any way to export a vector image? What I’m actually trying
>>> to do is to export a screenshot that can have a higher resolution
>>> than that of the screen, for printing and so on. Other apps can do
>>> this, in effect (I mean they can have enlargement and/or
>>> resolution-changing features).
>>> 
>>> What do people do when they want a high-res output?
>> 
>> I usually just run images through an image processing app after
>export if I need to alter them. I'm not aware of any way to change the
>resolution from within LC.
>> 
>> -- 
>> 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
>
>
>___
>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

-- 
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: Vector export?

2015-02-19 Thread Terry Judd
David¹s right - PDF export is definitely the way to go. It¹s even good for
bitmaps if you use high res images that have been sized down and locked
within LC.

Terry...

On 20/02/2015 9:56 am, "Graham Samuel"  wrote:

>Ha! Sounds promising. Midnight here, I¹ll investigate tomorrow. Thanks
>
>Graham
>
>> On 19 Feb 2015, at 23:33, dfepst...@comcast.net wrote:
>> 
>> For high resolution export of vectors:  open printing to pdf
>>   
>> David Epstein 
>
>
>___
>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: Vector export?

2015-02-19 Thread Graham Samuel
Ha! Sounds promising. Midnight here, I’ll investigate tomorrow. Thanks

Graham

> On 19 Feb 2015, at 23:33, dfepst...@comcast.net wrote:
> 
> For high resolution export of vectors:  open printing to pdf 
>   
> David Epstein 


___
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: Vector Export?

2015-02-19 Thread Graham Samuel
Sorry Jacque, I don’t understand. Suppose I have say a filled rectangle (‘draw' 
not ‘paint', thus a vector image). When I export it, I think this ends up as a 
bitmap with the resolution of the screen it was displayed in while in LC. Is 
this what you’re seeing? What about a group containing say vector items and 
also text? In theory this could be exported as an image with no inherent 
resolution, so capable of being reproduced at different resolutions as 
required. I don’t seem to get anything other than bitmaps.

Graham

> On 19 Feb 2015, at 22:22, J. Landman Gay  wrote:
> 
> On 2/19/2015 10:50 AM, Graham Samuel wrote:
>> Is there any way to export a vector image? What I’m actually trying
>> to do is to export a screenshot that can have a higher resolution
>> than that of the screen, for printing and so on. Other apps can do
>> this, in effect (I mean they can have enlargement and/or
>> resolution-changing features).
>> 
>> What do people do when they want a high-res output?
> 
> I usually just run images through an image processing app after export if I 
> need to alter them. I'm not aware of any way to change the resolution from 
> within LC.
> 
> -- 
> 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


___
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: Vector export?

2015-02-19 Thread dfepstein
For high resolution export of vectors:  open printing to pdf 
  
David Epstein 
___
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: Vector Export?

2015-02-19 Thread J. Landman Gay

On 2/19/2015 10:50 AM, Graham Samuel wrote:

Is there any way to export a vector image? What I’m actually trying
to do is to export a screenshot that can have a higher resolution
than that of the screen, for printing and so on. Other apps can do
this, in effect (I mean they can have enlargement and/or
resolution-changing features).

What do people do when they want a high-res output?


I usually just run images through an image processing app after export 
if I need to alter them. I'm not aware of any way to change the 
resolution from within LC.


--
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