Re: Printing Problems

2010-09-28 Thread Joe Lewis Wilkins
Oh, and as a second thought: I have a background image on each card over which 
my text is overlaid, so no "drawing" graphics.

Joe Lewis Wilkins





On Sep 28, 2010, at 11:36 AM, jcw...@jaguar1.usouthal.edu wrote:

> I am trying to print a card and the result is that the graphics print out but 
> not the text.  This is a new problem because it used to work fine.  I am 
> using Rev 4.0 and Mac OSX 10.6.4 on an intel iMac. 
> 
> All the text fields use Arial and changing the font does not yield any 
> different results.  A .doc file with arial text prints fine.  I have looked 
> at the dictionary and tried
> 
> set the formatForPrinting of stack "WSResults" to true
> 
> but this didn't help either.
> 
> Any pointers you might have to fix this would be greatly appreciated.
> 
> Jim Wall

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


Re: Printing Problems

2010-09-28 Thread Joe Lewis Wilkins
Hi Jim,

Some consolation. I have an "exact" same situation and it works fine, so I 
haven't a clue as to what your problem may be. What kind of Printer are you 
using? I'm using an Epson 1270, and have the user set all the parameters with 
the Page Setup dialog. Just call Print Card and Print marked cards in some 
instances. If you have any other questions about this, contact me directly.

HTH,

Joe Lewis Wilkins





On Sep 28, 2010, at 11:36 AM, jcw...@jaguar1.usouthal.edu wrote:

> I am trying to print a card and the result is that the graphics print out but 
> not the text.  This is a new problem because it used to work fine.  I am 
> using Rev 4.0 and Mac OSX 10.6.4 on an intel iMac. 
> 
> All the text fields use Arial and changing the font does not yield any 
> different results.  A .doc file with arial text prints fine.  I have looked 
> at the dictionary and tried
> 
> set the formatForPrinting of stack "WSResults" to true
> 
> but this didn't help either.
> 
> Any pointers you might have to fix this would be greatly appreciated.
> 
> Jim Wall

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


Printing Problems

2010-09-28 Thread jcwall
I am trying to print a card and the result is that the graphics print out but 
not the text.  This is a new problem because it used to work fine.  I am using 
Rev 4.0 and Mac OSX 10.6.4 on an intel iMac. 

All the text fields use Arial and changing the font does not yield any 
different results.  A .doc file with arial text prints fine.  I have looked at 
the dictionary and tried

set the formatForPrinting of stack "WSResults" to true

but this didn't help either.

 Any pointers you might have to fix this would be greatly appreciated.

Jim Wall


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


Re: Open printing to PDF bug?

2010-09-25 Thread Dar Scott
Bug reports should be crisp and address a particular bug.  One can  
add details to a existing bug report or suggest changes in parts.   
Additional reports for the same bug should not be made.  Often  
though, it is only after the fact that it is clear that two bugs are  
the same.  Fortunately, it is possible for the bug wranglers to mark  
a bug as a duplicate of another.


I think there are changes coming in the reporting of bugs, so that  
may not exactly apply.


Dar


On Sep 25, 2010, at 11:51 AM, William de Smet wrote:


Hi there,
I will report it in the next coming days but I think you need to do  
it aswell Dar.

The more the better!

Greetings,

William

-
Verstuurd vanaf mijn iPhone!

Op 25 sep. 2010 om 19:32 heeft Dar Scott  het  
volgende geschreven:


I have seen the page cutoff problem with landscape (but not the  
other concerns), so if William doesn't report it, I'm willing to  
report that much.  -- Dar


On Sep 25, 2010, at 11:06 AM, J. Landman Gay wrote:


On 9/25/10 6:59 AM, William de Smet wrote:

Hi everyone,

Thanks for the replies.
Indeed it seems that Printmargins and PrintScale affect the  
cuttoff of

text and images.
Thats a pity because I want to increase text and images by  
setting the

PrintScale to to 1.1.
It looks as if Printscale doesn't work with images and with  
'printing

to PDF'  and printPaperOrientation 'Landscape'.

And I was so happy when they announced 'printing to PDF'!!!


Bug report it, there may be something RR can do.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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

http://lists.runrev.com/mailman/listinfo/use-revolution

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

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Open printing to PDF bug?

2010-09-25 Thread William de Smet
Hi there,
I will report it in the next coming days but I think you need to do it aswell 
Dar.
The more the better!

Greetings,

William

-
Verstuurd vanaf mijn iPhone!

Op 25 sep. 2010 om 19:32 heeft Dar Scott  het volgende 
geschreven:

> I have seen the page cutoff problem with landscape (but not the other 
> concerns), so if William doesn't report it, I'm willing to report that much.  
> -- Dar
> 
> On Sep 25, 2010, at 11:06 AM, J. Landman Gay wrote:
> 
>> On 9/25/10 6:59 AM, William de Smet wrote:
>>> Hi everyone,
>>> 
>>> Thanks for the replies.
>>> Indeed it seems that Printmargins and PrintScale affect the cuttoff of
>>> text and images.
>>> Thats a pity because I want to increase text and images by setting the
>>> PrintScale to to 1.1.
>>> It looks as if Printscale doesn't work with images and with 'printing
>>> to PDF'  and printPaperOrientation 'Landscape'.
>>> 
>>> And I was so happy when they announced 'printing to PDF'!!!
>> 
>> Bug report it, there may be something RR can do.
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-25 Thread Dar Scott
I have seen the page cutoff problem with landscape (but not the other  
concerns), so if William doesn't report it, I'm willing to report  
that much.  -- Dar


On Sep 25, 2010, at 11:06 AM, J. Landman Gay wrote:


On 9/25/10 6:59 AM, William de Smet wrote:

Hi everyone,

Thanks for the replies.
Indeed it seems that Printmargins and PrintScale affect the  
cuttoff of

text and images.
Thats a pity because I want to increase text and images by setting  
the

PrintScale to to 1.1.
It looks as if Printscale doesn't work with images and with 'printing
to PDF'  and printPaperOrientation 'Landscape'.

And I was so happy when they announced 'printing to PDF'!!!


Bug report it, there may be something RR can do.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Open printing to PDF bug?

2010-09-25 Thread J. Landman Gay

On 9/25/10 6:59 AM, William de Smet wrote:

Hi everyone,

Thanks for the replies.
Indeed it seems that Printmargins and PrintScale affect the cuttoff of
text and images.
Thats a pity because I want to increase text and images by setting the
PrintScale to to 1.1.
It looks as if Printscale doesn't work with images and with 'printing
to PDF'  and printPaperOrientation 'Landscape'.

And I was so happy when they announced 'printing to PDF'!!!


Bug report it, there may be something RR can do.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-25 Thread Dar Scott
A workaround might be to take a picture of the region, put that on  
another card, rotate that, and print from that card.  -- Dar


On Sep 25, 2010, at 5:59 AM, William de Smet wrote:


Hi everyone,

Thanks for the replies.
Indeed it seems that Printmargins and PrintScale affect the cuttoff of
text and images.
Thats a pity because I want to increase text and images by setting the
PrintScale to to 1.1.
It looks as if Printscale doesn't work with images and with 'printing
to PDF'  and printPaperOrientation 'Landscape'.

And I was so happy when they announced 'printing to PDF'!!!

greetings,

William



2010/9/24 JosepM :


This work for me, without change the exact size of the elements,  
but l lost

about 2 cm at the bottom of the page.
I need to force the stack size and move to some position that I  
can edit
later, so if I use it in my laptop the stack is resized and when I  
print the
PDF only show the visible area of the stack. The idea is make this  
stack

invisible.

Put the margin to 0 left about 2 cm at top and at bottom, left and  
right are

about 1cm...

on mouseUp
  set the location of this stack to 600,600
  set the width of this stack to 595
  set the height of this stack to 842

  set the printPaperSize to "595,842"
  put "595,842" into thePaperSize

  put "0" into theMargin

  -- get the page area:
  set the printMargins to theMargin,theMargin,theMargin,theMargin
  -- put theMargin,theMargin, item 1 of thePaperSize - theMargin,  
item 2 of

thePaperSize - theMargin into destinationRect
  -- print into that rectangle:
  open printing to pdf "/Users/joss/Desktop/card_test.pdf"
  print this card --into destinationRect
  close printing

end mouseUp

Salut,
Josep
--
View this message in context: http://runtime-revolution. 
278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2552864.html

Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Open printing to PDF bug?

2010-09-25 Thread William de Smet
Hi everyone,

Thanks for the replies.
Indeed it seems that Printmargins and PrintScale affect the cuttoff of
text and images.
Thats a pity because I want to increase text and images by setting the
PrintScale to to 1.1.
It looks as if Printscale doesn't work with images and with 'printing
to PDF'  and printPaperOrientation 'Landscape'.

And I was so happy when they announced 'printing to PDF'!!!

greetings,

William



2010/9/24 JosepM :
>
> This work for me, without change the exact size of the elements, but l lost
> about 2 cm at the bottom of the page.
> I need to force the stack size and move to some position that I can edit
> later, so if I use it in my laptop the stack is resized and when I print the
> PDF only show the visible area of the stack. The idea is make this stack
> invisible.
>
> Put the margin to 0 left about 2 cm at top and at bottom, left and right are
> about 1cm...
>
> on mouseUp
>   set the location of this stack to 600,600
>   set the width of this stack to 595
>   set the height of this stack to 842
>
>   set the printPaperSize to "595,842"
>   put "595,842" into thePaperSize
>
>   put "0" into theMargin
>
>   -- get the page area:
>   set the printMargins to theMargin,theMargin,theMargin,theMargin
>   -- put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
> thePaperSize - theMargin into destinationRect
>   -- print into that rectangle:
>   open printing to pdf "/Users/joss/Desktop/card_test.pdf"
>   print this card --into destinationRect
>   close printing
>
> end mouseUp
>
> Salut,
> Josep
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2552864.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-23 Thread JosepM

This work for me, without change the exact size of the elements, but l lost
about 2 cm at the bottom of the page.
I need to force the stack size and move to some position that I can edit
later, so if I use it in my laptop the stack is resized and when I print the
PDF only show the visible area of the stack. The idea is make this stack
invisible.

Put the margin to 0 left about 2 cm at top and at bottom, left and right are
about 1cm...

on mouseUp
   set the location of this stack to 600,600
   set the width of this stack to 595
   set the height of this stack to 842
   
   set the printPaperSize to "595,842"
   put "595,842" into thePaperSize
   
   put "0" into theMargin
   
   -- get the page area:
   set the printMargins to theMargin,theMargin,theMargin,theMargin
   -- put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
thePaperSize - theMargin into destinationRect
   -- print into that rectangle:
   open printing to pdf "/Users/joss/Desktop/card_test.pdf"
   print this card --into destinationRect
   close printing
   
end mouseUp

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2552864.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-23 Thread J. Landman Gay

On 9/22/10 11:09 PM, Dar Scott wrote:

William,

I tried this:

on mouseUp
reset printing
set the printPaperSize to 595,842
set the printPaperOrientation to "landscape"
set the printmargins to 72,36,0,0
set the printscale to 1.1
open printing to pdf "test.pdf"
-- add error check here
print this card from 193,90 to 833,570
-- add error check here
close printing
end mouseUp

And I get the right part of my images, rectangles and fields cut off. It
cuts off at the unrotated paper width.


This works for me:

  set the printpapersize to "595,842"
  set the printPaperOrientation to "landscape"
  set the printmargins to 18,18,18,18
  set the printScale to 0.85
  open printing to pdf "test.pdf"
  print this card from the topleft of fld 1 to the bottomright of fld 1
  close printing

I got the cutoff until I scaled the printout down to 0.85; this likely 
needs to be adjusted for each layout. The printmargins will also play a 
role in how much it needs to be scaled. If the scaling is too large, 
then it prints right off the edge of the page.


If William's original intention is to make the text larger for the 
printout, then probably I'd increase the textsize of the field before 
printing, then change it back afterward.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-22 Thread Dar Scott

William,

I tried this:

on mouseUp
   reset printing
   set the printPaperSize to 595,842
   set the printPaperOrientation to "landscape"
   set the printmargins to 72,36,0,0
   set the printscale to 1.1
   open printing to pdf "test.pdf"
   -- add  error check here
   print this card from 193,90 to 833,570
   -- add error check here
   close printing
end mouseUp

And I get the right part of my images, rectangles and fields cut  
off.  It cuts off at the unrotated paper width.


It looks like it scaled right, but it has the cutoff.

I tried setting the rotated paper size after setting orientation, but  
it is the same.  I think with some other fiddling, parts showed up  
but not all.


I'm not an expert at all the printing parameters, but it seems to me  
you are right.  It seems there is a bug.  Maybe somebody with more  
printing experience can say.


Dar Scott



On Sep 22, 2010, at 10:44 AM, William de Smet wrote:


Hi there,
It seems I have the same problem!
I use almost the same code as Joseph (asked earlier today) to print on
A4 paper. When I want a PDF preview on OSX everything is/looks fine.
When using the code  below and adding 'open printing to PDF'  about
1/4 of the printed text is cut off.
Is this a bug or are we doing something wrong?

---
open printing to pdf "test.pdf"
 set the printRotated to true
 set the printMargins to 72,36,72,36
set the printScale to 1.1
print this card from 193,90 to 833,570
close printing
---


greetings,

William
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Open printing to PDF bug?

2010-09-22 Thread Dar Scott
I set parameters for the entire print batch before "open printing to  
pdf".  Am I doing that wrong?


Try setting up for A4:
   set the printPaperSize to "595,842"

Try printPaperOrientation instead of printRotated.

If those don't work, try putting margins and printscale before the  
batch.


I'm guessing.  Mine works but I'm not using landscape.  And I use  
full-page printing.


Dar Scott


On Sep 22, 2010, at 10:44 AM, William de Smet wrote:


Hi there,
It seems I have the same problem!
I use almost the same code as Joseph (asked earlier today) to print on
A4 paper. When I want a PDF preview on OSX everything is/looks fine.
When using the code  below and adding 'open printing to PDF'  about
1/4 of the printed text is cut off.
Is this a bug or are we doing something wrong?

---
open printing to pdf "test.pdf"
 set the printRotated to true
 set the printMargins to 72,36,72,36
set the printScale to 1.1
print this card from 193,90 to 833,570
close printing
---


greetings,

William
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Open printing to PDF bug?

2010-09-22 Thread JosepM

Any help? :)
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2551168.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-22 Thread JosepM

Now I see that in relation to the width and height of the stack the PDF
change the width and the height... :(
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2550927.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-22 Thread JosepM

Hi folks,

My tests...

put "595,842" into thePaperSize
put "20" into theMargin

-- get the page area:
set the printMargins to theMargin,theMargin,theMargin,theMargin
put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
thePaperSize - theMargin into destinationRect
-- print into that rectangle:
open printing to pdf "/Users/joss/Desktop/card_test.pdf"
print this card into destinationRect
close printing

With "20" into the margin is the best aproximation, some graphics inside are
a little small, so I print for a card game, and I need that the card have
the exact size. If I down the margin I get the real size but the bottom is
cutted.

Any idea?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2550844.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-22 Thread William de Smet
Hi Jacqueline,

Thanks for your reaction.
I just tested with an image and the same thing happens.
I never set formatForPrinting.

Anyone else?


groeten,
William



2010/9/22 J. Landman Gay :
> On 9/22/10 11:44 AM, William de Smet wrote:
>>
>> Hi there,
>> It seems I have the same problem!
>> I use almost the same code as Joseph (asked earlier today) to print on
>> A4 paper. When I want a PDF preview on OSX everything is/looks fine.
>> When using the code  below and adding 'open printing to PDF'  about
>> 1/4 of the printed text is cut off.
>> Is this a bug or are we doing something wrong?
>>
>> ---
>> open printing to pdf "test.pdf"
>>  set the printRotated to true
>>  set the printMargins to 72,36,72,36
>> set the printScale to 1.1
>> print this card from 193,90 to 833,570
>> close printing
>> ---
>
> One thing I just found out is that PDF printing will cut off text and ruin
> the layout if you have formatForPrinting set to true on Windows. It is the
> one time you do not want to use that property for printing text.
>
> --
> Jacqueline Landman Gay         |     jac...@hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Open printing to PDF bug?

2010-09-22 Thread J. Landman Gay

On 9/22/10 11:44 AM, William de Smet wrote:

Hi there,
It seems I have the same problem!
I use almost the same code as Joseph (asked earlier today) to print on
A4 paper. When I want a PDF preview on OSX everything is/looks fine.
When using the code  below and adding 'open printing to PDF'  about
1/4 of the printed text is cut off.
Is this a bug or are we doing something wrong?

---
open printing to pdf "test.pdf"
  set the printRotated to true
  set the printMargins to 72,36,72,36
set the printScale to 1.1
print this card from 193,90 to 833,570
close printing
---


One thing I just found out is that PDF printing will cut off text and 
ruin the layout if you have formatForPrinting set to true on Windows. It 
is the one time you do not want to use that property for printing text.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Open printing to PDF bug?

2010-09-22 Thread William de Smet
Hi there,
It seems I have the same problem!
I use almost the same code as Joseph (asked earlier today) to print on
A4 paper. When I want a PDF preview on OSX everything is/looks fine.
When using the code  below and adding 'open printing to PDF'  about
1/4 of the printed text is cut off.
Is this a bug or are we doing something wrong?

---
open printing to pdf "test.pdf"
 set the printRotated to true
 set the printMargins to 72,36,72,36
set the printScale to 1.1
print this card from 193,90 to 833,570
close printing
---


greetings,

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


Re: Multi-Page Printing Strategy?

2010-09-03 Thread Bruce Pokras
Scott,

My ChecksQuick check printing app has multiple data cards but only one printing 
card. The fields in the printing card are filled on the fly when the user 
prints their checks. I have no problem printing as many checks as I want with 
just one click. Download the app and see if it is doing what you are trying to 
do. If so, I will post my routine to the list.

Regards,

Bruce Pokras
Blazing Dawn Software
www.blazingdawn.com

On Aug 29, 2010, at 12:25 AM, Scott Rossi wrote:

> I'm wondering if someone more versed in printing than I can offer a
> suggestion for printing multiple pages from a stack where the card content
> is dynamically created.
> 
> The stack is essentially a bare bones PowerPoint-like app that creates
> custom charts and text-only "slides".  Only one card is used for the display
> of all content -- groups are hidden and shown as needed when viewing a
> slideshow, and field/chart contents are populated on-the-fly.
> 
> I can write a routine to to tell the app to automatically create each slide,
> but I don't know if I should try to print directly from the main display
> stack, or copy card elements out to an offscreen stack and print from there.
> The display stack can fit standard paper size, so there's no
> resizing/reformatting issue to deal with there.
> 
> Could this be as straightforward as the following?
> 
> open printing
> 
> print this cd
> 
> print this cd
> ...etc.
> close printing
> 
> Also, what is the proper method for centering content on a printed page?  I
> see Rev provides printRectangle and printPaperRectangle properties, but I
> can't tell from their descriptions what I would use to center stack content
> within the live area of a printed page.
> 
> Thanks for any advice/suggestions.
> 
> Best Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Multi-Page Printing Strategy?

2010-08-31 Thread J. Landman Gay

On 8/31/10 10:36 AM, Bob Sneidar wrote:

Hey Jacque! How about a RevJournal article on printing?


You guys keep giving me things to do. :( I haven't even completely 
assimilated the idea of rewriting MCSetup yet.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multi-Page Printing Strategy?

2010-08-31 Thread Bob Sneidar
Hey Jacque! How about a RevJournal article on printing?

Bob


On Aug 30, 2010, at 6:15 PM, J. Landman Gay wrote:

> On 8/28/10 11:25 PM, Scott Rossi wrote:
> 
>> I can write a routine to to tell the app to automatically create each slide,
>> but I don't know if I should try to print directly from the main display
>> stack, or copy card elements out to an offscreen stack and print from there.
>> The display stack can fit standard paper size, so there's no
>> resizing/reformatting issue to deal with there.
>> 
>> Could this be as straightforward as the following?
>> 
>> open printing
>> 
>> print this cd
>> 
>> print this cd
>> ...etc.
>> close printing
> 
> If it fits on the printed page and you don't need to add or remove any 
> elements from the printout, then I don't see why you'd need to duplicate 
> everything to a printing stack. There wouldn't be any difference. I haven't 
> had any technical issues when printing from the original cards. I do create 
> printing templates when I need to use a layout that is different from the 
> card layout, but if the two are the same there's no real reason to. It should 
> be as easy as what you wrote above.
> 
>> 
>> Also, what is the proper method for centering content on a printed page?  I
>> see Rev provides printRectangle and printPaperRectangle properties, but I
>> can't tell from their descriptions what I would use to center stack content
>> within the live area of a printed page.
> 
> Unless you need something more elaborate like scaling, I'd think you would 
> only need to calculate the correct printmargins. Get the width and height of 
> the stack. For each dimension subtract the stack pixel count from the page 
> pixel count, divide by two, and that's your margin. You can adjust those 
> numbers if you want a bigger margin at the top or the left.
> 
> Then you need to account for the printer's default margins. The 
> printRectangle gives you the actual rectangle that the printer can print to. 
> Most printers have default margins, past which they can't print (often, for 
> example, a quarter inch on the sides where the printer just can't lay any 
> ink.) You usually need to take this into consideration; if you want a 
> half-inch total left margin then you need to account for the quarter inch 
> where the printer can't reach, which leaves you another quarter inch for your 
> stack's print margin. When you set the leftmargin property to a quarter inch, 
> the stack will actually print with a half inch margin because the printer's 
> margin is added to the stack's margin. Calculate that for all four sides. 
> Each printer is a little different.
> 
> The printPaperRect is the dimensions (in pixels) of the printer paper itself. 
> If you are printing to a non-standard sized paper then sometimes you'll want 
> to consider those dimensions too, but since you say the stack will fit on 
> standard paper size I don't think you need to mess with that -- unless you 
> want to check whether the printer is set up to print envelopes, for example, 
> in which case your stack printout won't fit.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Multi-Page Printing Strategy?

2010-08-30 Thread J. Landman Gay

On 8/28/10 11:25 PM, Scott Rossi wrote:


I can write a routine to to tell the app to automatically create each slide,
but I don't know if I should try to print directly from the main display
stack, or copy card elements out to an offscreen stack and print from there.
The display stack can fit standard paper size, so there's no
resizing/reformatting issue to deal with there.

Could this be as straightforward as the following?

open printing

print this cd

print this cd
...etc.
close printing


If it fits on the printed page and you don't need to add or remove any 
elements from the printout, then I don't see why you'd need to duplicate 
everything to a printing stack. There wouldn't be any difference. I 
haven't had any technical issues when printing from the original cards. 
I do create printing templates when I need to use a layout that is 
different from the card layout, but if the two are the same there's no 
real reason to. It should be as easy as what you wrote above.




Also, what is the proper method for centering content on a printed page?  I
see Rev provides printRectangle and printPaperRectangle properties, but I
can't tell from their descriptions what I would use to center stack content
within the live area of a printed page.


Unless you need something more elaborate like scaling, I'd think you 
would only need to calculate the correct printmargins. Get the width and 
height of the stack. For each dimension subtract the stack pixel count 
from the page pixel count, divide by two, and that's your margin. You 
can adjust those numbers if you want a bigger margin at the top or the left.


Then you need to account for the printer's default margins. The 
printRectangle gives you the actual rectangle that the printer can print 
to. Most printers have default margins, past which they can't print 
(often, for example, a quarter inch on the sides where the printer just 
can't lay any ink.) You usually need to take this into consideration; if 
you want a half-inch total left margin then you need to account for the 
quarter inch where the printer can't reach, which leaves you another 
quarter inch for your stack's print margin. When you set the leftmargin 
property to a quarter inch, the stack will actually print with a half 
inch margin because the printer's margin is added to the stack's margin. 
Calculate that for all four sides. Each printer is a little different.


The printPaperRect is the dimensions (in pixels) of the printer paper 
itself. If you are printing to a non-standard sized paper then sometimes 
you'll want to consider those dimensions too, but since you say the 
stack will fit on standard paper size I don't think you need to mess 
with that -- unless you want to check whether the printer is set up to 
print envelopes, for example, in which case your stack printout won't fit.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multi-Page Printing Strategy?

2010-08-29 Thread John Burtt

As far as the second part of your question goes...

I set the card dimensions to 612 x 792 and use the following code:

  set the formatForPrinting of stack "thePrint" to true
  set printMargins to 0,0,0,0
  open printing
  print stack "thePrint" into 0,0,612,792
  close printing
  set the formatForPrinting of stack "thePrint" to false

John


On Aug 29, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com  
wrote:



Also, what is the proper method for centering content on a printed  
page?  I
see Rev provides printRectangle and printPaperRectangle properties,  
but I
can't tell from their descriptions what I would use to center stack  
content

within the live area of a printed page.

Thanks for any advice/suggestions.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




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


Re: Multi-Page Printing Strategy?

2010-08-29 Thread John Burtt
I had a similar situation and tried the routine you described. I  
couldn't get it to work reliably. The printing always seemed to hang  
after the first card printed. It could have been my limited experience  
with printing code, but I tried a slightly different approach.


First, put all the card information into a multi-dimensional array.
Clone as many cards as you need (the number of keys in the array - 1).
In a repeat loop, fill in all the cards from the array.
Then, use the print stack command.
After the print routine, delete all the cards except card 1.

Works great for me.

John


On Aug 29, 2010, at 10:00 AM, use-revolution-requ...@lists.runrev.com  
wrote:


I'm wondering if someone more versed in printing than I can offer a
suggestion for printing multiple pages from a stack where the card  
content

is dynamically created.

The stack is essentially a bare bones PowerPoint-like app that creates
custom charts and text-only "slides".  Only one card is used for the  
display

of all content -- groups are hidden and shown as needed when viewing a
slideshow, and field/chart contents are populated on-the-fly.

I can write a routine to to tell the app to automatically create  
each slide,
but I don't know if I should try to print directly from the main  
display
stack, or copy card elements out to an offscreen stack and print  
from there.

The display stack can fit standard paper size, so there's no
resizing/reformatting issue to deal with there.

Could this be as straightforward as the following?

open printing

print this cd

print this cd
...etc.
close printing

Also, what is the proper method for centering content on a printed  
page?  I
see Rev provides printRectangle and printPaperRectangle properties,  
but I
can't tell from their descriptions what I would use to center stack  
content

within the live area of a printed page.

Thanks for any advice/suggestions.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



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


Multi-Page Printing Strategy?

2010-08-28 Thread Scott Rossi
I'm wondering if someone more versed in printing than I can offer a
suggestion for printing multiple pages from a stack where the card content
is dynamically created.

The stack is essentially a bare bones PowerPoint-like app that creates
custom charts and text-only "slides".  Only one card is used for the display
of all content -- groups are hidden and shown as needed when viewing a
slideshow, and field/chart contents are populated on-the-fly.

I can write a routine to to tell the app to automatically create each slide,
but I don't know if I should try to print directly from the main display
stack, or copy card elements out to an offscreen stack and print from there.
The display stack can fit standard paper size, so there's no
resizing/reformatting issue to deal with there.

Could this be as straightforward as the following?

open printing

print this cd

print this cd
...etc.
close printing

Also, what is the proper method for centering content on a printed page?  I
see Rev provides printRectangle and printPaperRectangle properties, but I
can't tell from their descriptions what I would use to center stack content
within the live area of a printed page.

Thanks for any advice/suggestions.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Printing/ Email error in Standalone Application

2010-08-24 Thread Brent Summerton


Thank you for your suggestions last week.  Started building my application 
again from scratch.  At the end of Module 1 (of four) I tested the Print 
function and it worked!

Scenario.  Ten Cards provide theory Training.  Ten Cards provide multiple 
choice Questions.  Last card has a field named "Results" = 23 Cards.

As a User clicks on an answer each button sends a message line by line to the 
last cards field named "Results"

on mouseUp--  Each Question of ten sends a message like this
   Play "WellDone!.aif"
   Put "Correct" into field "A"
   Get field "Results" of card "Module1Results" -- Gets Results so far and adds 
the next Answer to the bottom of the list.
   Put it into A
   Put "Yes to Clean Fridges - " into B
   Put "Well Done!" into C
   Put A  & B & C &Return into field "Results" of card "Module1Results"
   Add 1 to field "Correct" of card "Module1Results"
end mouseUp


On the last Card Module1 Results with a field named "Results" I have a button 
that says "Print"
revPrintField the long id of field "Results"

At 23 cards in a single Main Stack and printing tested it works fine.  However 
I proceeded to to do Module 2, 3 and 4 getting up to 118 Cards.  Now printing 
wont work. Created on Mac 10.6.4 using Enterprise 4.5 - Exported for Windows.

Questions of possible error scenarios I have are:

- Is 118 Cards in a Rev Standalone (Main Stack) too much for Windows to cope 
with and is this why printing no longer works (28meg file)?
- Should I have each other Module as a Sub Stack instead?
- Could it be carriage returns/ or text formatting that are put into the field 
that the print command does not like?

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


Printing/ Email error in Standalone Application

2010-08-21 Thread Brent Summerton


Thank you for your suggestions last week.  Started building my application 
again from scratch.  At the end of Module 1 (of four) I tested the Print 
function and it worked!

Scenario.  Ten Cards provide theory Training.  Ten Cards provide multiple 
choice Questions.  Last card has a field named "Results" = 23 Cards.

As a User clicks on an answer each button sends a message line by line to the 
last cards field named "Results"

on mouseUp--  Each Question of ten sends a message like this
  Play "WellDone!.aif"
  Put "Correct" into field "A"
  Get field "Results" of card "Module1Results" -- Gets Results so far and adds 
the next Answer to the bottom of the list.
  Put it into A
  Put "Yes to Clean Fridges - " into B
  Put "Well Done!" into C
  Put A  & B & C &Return into field "Results" of card "Module1Results"
  Add 1 to field "Correct" of card "Module1Results"
end mouseUp


On the last Card Module1 Results with a field named "Results" I have a button 
that says "Print"
revPrintField the long id of field "Results"

At 23 cards in a single Main Stack and printing tested it works fine.  However 
I proceeded to to do Module 2, 3 and 4 getting up to 118 Cards.  Now printing 
wont work. Created on Mac 10.6.4 using Enterprise 4.5 - Exported for Windows.

Questions of possible error scenarios I have are:

- Is 118 Cards in a Rev Standalone (Main Stack) too much for Windows to cope 
with and is this why printing no longer works (28meg file)?
- Should I have each other Module as a Sub Stack instead?
- Could it be carriage returns/ or text formatting that are put into the field 
that the print command does not like?

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


Re: Printing Field contents in RunRev Enterprise 4.5.5

2010-08-16 Thread wayne durden
You might also double check that you didn't create two fields that have the
same name with one being blank  I quite often use button scripts to
flesh out handlers before I turn them into functions in a card or stack
script.   I occasionally copy and paste a button control, change the script
and wonder why a click at the loc of the btn which I have in another button
which is doing a series of operations by clicking at the location of several
such test buttons  hasn't included the actions to be performed in the new
button's script...  Whoops, it had the same name as the button it was
duplicated from

Good luck,

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


Re: Printing Field contents in RunRev Enterprise 4.5.5

2010-08-16 Thread Kevin Miller
On 16/08/2010 03:38, "Bsummerton"  wrote:

> I have checked that the Field "Results" contains text that is Black and not
> White.  Can a Stack only have one Field Named "Results" within its Cards?  I
> am using a Mac and exporting to Mac (which prints fine) but the Windows
> Standalone continues to print a Blank Page.  Am using Enterprise 4.5.5

Are you sure that the printing libraries have been selected correctly in the
standalone builder?

Kind regards,

Kevin

Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/
RunRev - Software construction for everyone


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


Re: Printing Field contents in RunRev Enterprise 4.5.5

2010-08-16 Thread AndyP

HI Bren,

I think you need to go back to some basic tests to tie this down.

1. As Mark suggested:
revPrintText "Hello World" 
Does this work? if Yes goto 2. if not you have a problem with Rev so a
reinstall may be in order.

2. Create a new stack with one card.
Place one text box named "Results" and populate with some text.
Add a button and add  
revPrintField the name of field "Results"
to mouseUp

Does this work?.. No then I'm stumped I've tested here and works ok Rev
4.5.2

Yes, elaborate the print function.

3. Replace 2. with this (from your code) 
revPrintText (the htmlText of field "Results"),"Results",the time && the
date 

I've tested and this also works as expected


If 3 works then as Mark as suggested you probably are not specifying the
correct card with the Results field on.

revPrintText (the htmlText of field "Results" of card "mycard"
),"Results",the time && the date

Have tested and this works.

Hope this helps 





-
Andy Piddock
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Printing-Field-contents-in-RunRev-Enterprise-4-5-5-tp2326353p2326583.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Field contents in RunRev Enterprise 4.5.5

2010-08-16 Thread Peter Alcibiades

"If YOU were wanting to print the text from a Field named "Results" what
specifically would YOU script..."

Well, you did ask!

Stop struggling with revPrintField etc.  Just export the content to a text
file, then call some other program to print it. 

Peter

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Printing-Field-contents-in-RunRev-Enterprise-4-5-5-tp2326353p2326452.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Field contents in RunRev Enterprise 4.5.5

2010-08-16 Thread Mark Schonewille
Hi Brent,

Your scripts seem correct to me. What happenes if you execute

revPrintText "Hello World"

from the message box? I get a page with that text in both Rev 4.0 and Rev 4.5.

Are you using Rev 4.5? This is still in beta stage. You might want to use 4.0 
instead.

Which operating system are you using?

Are you sure the field that is being printed is on the current card?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

From 15th August, we'll have time for new projects! Be the first in line and 
contact me now!

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 16 aug 2010, at 04:38, Bsummerton wrote:

> 
> 
> Thank you for suggestions but I am still having trouble.
> 
> I have a Stack that has thirty Cards containing multiple choice questions.  
> On Four of these thirty Cards I have a Field named "Results"  that contains 
> the users answers for each section.  On each of the four Cards that has the 
> field "Results" I have a Print Button.  I have tried the following scripts to 
> try and print on a Networked Printer the contents of the Field "Results,"  to 
> no avail.  What am I doing wrong?
> 
> 
> on Mouseup
> print card "Output"
> end Mouseup
> (Used this as a TEST - This prints the Card to the printer successfully)
> 
> 
> on Mouseup
> revPrintText "Hello world"
> End Mouseup
> (Used this as a TEST - This prints a Blank Page)
> 
> 
> on Mouseup
> revPrintField the name of field "Results"
> end mouseup
> (This continues to print a Blank Page)
> 
> 
> on Mouseup
> revPrintText (the htmlText of field "Results"),"Results",the time && the date
> End Mouseup
> (This continues to print a Blank Page)
> 
> I have checked that the Field "Results" contains text that is Black and not 
> White.  Can a Stack only have one Field Named "Results" within its Cards?  I 
> am using a Mac and exporting to Mac (which prints fine) but the Windows 
> Standalone continues to print a Blank Page.  Am using Enterprise 4.5.5
> 
> If YOU were wanting to print the text from a Field named "Results" what 
> specifically would YOU script: 
> 
> Kind regards, Brent.

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


Printing Field contents in RunRev Enterprise 4.5.5

2010-08-15 Thread Bsummerton


Thank you for suggestions but I am still having trouble.

I have a Stack that has thirty Cards containing multiple choice questions.  On 
Four of these thirty Cards I have a Field named "Results"  that contains the 
users answers for each section.  On each of the four Cards that has the field 
"Results" I have a Print Button.  I have tried the following scripts to try and 
print on a Networked Printer the contents of the Field "Results,"  to no avail. 
 What am I doing wrong?


on Mouseup
print card "Output"
end Mouseup
(Used this as a TEST - This prints the Card to the printer successfully)


on Mouseup
revPrintText "Hello world"
End Mouseup
(Used this as a TEST - This prints a Blank Page)


on Mouseup
revPrintField the name of field "Results"
end mouseup
(This continues to print a Blank Page)


on Mouseup
revPrintText (the htmlText of field "Results"),"Results",the time && the date
End Mouseup
(This continues to print a Blank Page)

I have checked that the Field "Results" contains text that is Black and not 
White.  Can a Stack only have one Field Named "Results" within its Cards?  I am 
using a Mac and exporting to Mac (which prints fine) but the Windows Standalone 
continues to print a Blank Page.  Am using Enterprise 4.5.5

If YOU were wanting to print the text from a Field named "Results" what 
specifically would YOU script: 

Kind regards, Brent.









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


Re: Printing/ Email error in Standalone Application

2010-08-13 Thread J. Landman Gay

On 8/13/10 3:13 AM, Brent Summerton wrote:


Or the User then sends via Email with a Button.
on mouseUp
Answer "Email now or wait until you have completed ALL Modules?" with "Send" and 
"Wait"
If it is "Send" then send EmailResults


This command goes nowhere. You need a target for the "send", otherwise 
it goes to the engine, which doesn't know what to do with the email 
results and just discards the instruction. I don't see any handlers in 
your script to actually deal with email.


But "send" isn't the right command here anyway. You need to use 
"revmail" or "launch url" with a mailto url. See the dictionary for 
examples under either of those commands.



I have spent over three months trying to resolve this issue

> and I am getting frustrated.

Next time don't wait so long to ask. :)

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing/ Email error in Standalone Application

2010-08-13 Thread AndyP

What are you doing with the sent meassages?

For printing you may find it better to place a hidden field on your card and
then use this:


revPrintField

>From the dictionary:

mportant! The revPrintFieldcommand does not accept direct field references.
For example, the following statement causes an error message:

  revPrintField field "My Field" -- CAN'T USE THIS FORM

Instead, use a form that evaluates to a field reference, like this:

  revPrintField the name of field "My Field" -- use this form instead
  revPrintField ("field" && quote & "My Field" & quote) -- or this

It's also a simple matter of using the hidden field contents for your email.

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Printing-Email-error-in-Standalone-Application-tp2323851p2324042.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing/ Email error in Standalone Application

2010-08-13 Thread Brent Summerton

When User hits the Print Button or Email Button using Windows XP/Vista in 
Standalone it prints or emails a Blank Document - Even with printing exported 
as part of the Standalone. Works fine directly from within RevEnterprise on my 
Macintosh! Below I describe what I am trying to achieve:

Scenario - Multiple Choice Questions with four modules.
User can complete one module for a Credential or do the whole lot.




User Enters their personal details once and it is propagated across several 
Modules

on Opencard
   Put the long date into card field "date"
   Put "Module 2: Food Hygeine" into card field "Module"
end Opencard

On Closecard
   Get card field "Name"
   Put it into A
   Get card field "Site"
   Put it into B
   Get card field "Date"
   Put it into C
   Get card field "Module"
   Put it into D
   Put A &Return& B &Return& C &Return & D &Return & 
"___" into 
field "Results" of card "Module2Results"
   Put A into field "Name" of card "Module1Credential"
   Put B into field "Site" of card "Module1Credential"
   Put A into field "Name" of card "Module2Credential"
   Put B into field "Site" of card "Module2Credential"
   Put A into field "Name" of card "Module3Credential"
   Put B into field "Site" of card "Module3Credential"
end Closecard




User begins answering Multiple Choice Questions Right/Wrong Answers Recorded 
and put into field "Results" of Card "Module1Results"

on mouseUp
   Play "WellDone!.aif"
   Put "Correct" into field "A"
   Get field "Results" of card "Module1Results" -- Gets Results so far and adds 
the next Answer to the bottom of the list.
   Put it into A
   Put "Yes to Clean Fridges - " into B
   Put "Well Done!" into C
   Put A  & B & C &Return into field "Results" of card "Module1Results"
   Add 1 to field "Correct" of card "Module1Results"
end mouseUp




On the Last Card it is instructed to 'Get' the information from the Results 
field of each Module and populate ALL the Results into a field on this Card for 
sending to a printer with a button.

On Opencard
  Put field "Results" of card "Module1Results" into A
  Put field "Results" of card "Module2Results" into B
  Put field "Results" of card "Module3Results" into C
  Put "Module 4: Food Safety Plans - Currently has no test questions to 
answer." into D
   Put A & Return & Return & Return & Return & Return & Return & B & Return & 
Return & Return & Return & Return & Return & C & Return & Return & Return & 
Return & Return & Return &D & Return & Return & Return & Return into field 
"Results" of card "Module4Results"
end Opencard




The User then sends to a Printer with a Button.
on mouseUp
Answer "Print now or wait until you have completed ALL Modules?" with 
"Print" and "Wait"
   If it is "Print" then send PrintResults 
else
end if
end mouseUp




Or the User then sends via Email with a Button.
on mouseUp
   Answer "Email now or wait until you have completed ALL Modules?" with "Send" 
and "Wait"
   If it is "Send" then send EmailResults 
else
end if
end mouseUp


I have spent over three months trying to resolve this issue and I am getting 
frustrated. Any suggestions?

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


Printing Assistance

2010-05-30 Thread Graham Pearson

List:

Due to our budget cuts in our industry that we have had for the past 2 
years and looks to continue for the next few years, I have been learning 
RunRev to enhance my skill set and have been creating applications for 
use in K-12 Education. My question is what are some ways I can print a 
DataGrid that has been populated from a Web Service I provide with my 
Online Resource on School Delays and Closings. I have been slowly moving 
all of my Flex/Flash Applications over to RunRev.


I have been searching google for related information and just have not 
found the right resource. I have even tried the trial of Quantium 
Reports and could not rap my head around the concept since I learn from 
examples.


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


Re: Printing in a revlet

2010-05-14 Thread J. Landman Gay

Jim Schaubeck wrote:
> Blank page with Safari 4.0.5 (on W7).  Results are the same as IE

Thanks Jim. I've updated my report with this info, but if you (or 
anyone) have anything else to add you can find the bug report here:



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Printing in a revlet

2010-05-14 Thread Jim Schaubeck
Blank page with Safari 4.0.5 (on W7).  Results are the same as IE


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Jim Schaubeck
Sent: Friday, May 14, 2010 9:20 AM
To: 'How to use Revolution'
Subject: RE: Printing in a revlet

I have tried IE (8.0) with no luck.  Same blank page print-out.  (Preview is
also blank)


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Thursday, May 13, 2010 9:29 PM
To: How to use Revolution
Subject: Re: Printing in a revlet

Jim Schaubeck wrote:
> Thanks Jacqueline.  I do hope that some sort of solution (or even work
> around) is found for printing within revlets.  End users view printing as
> one of those things that magically just work (can't blame them).  However,
I
> know it's harder than it looks.

The person who submitted a support ticket also said that revlets won't 
print on IE. Can you confirm? I think I need to write up a bug report 
and the more info, the better. If anyone else has info about revlet 
printing on any other browsers/platforms, that'd be good to know too.

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


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


RE: Printing in a revlet

2010-05-14 Thread Jim Schaubeck
I have tried IE (8.0) with no luck.  Same blank page print-out.  (Preview is
also blank)


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Thursday, May 13, 2010 9:29 PM
To: How to use Revolution
Subject: Re: Printing in a revlet

Jim Schaubeck wrote:
> Thanks Jacqueline.  I do hope that some sort of solution (or even work
> around) is found for printing within revlets.  End users view printing as
> one of those things that magically just work (can't blame them).  However,
I
> know it's harder than it looks.

The person who submitted a support ticket also said that revlets won't 
print on IE. Can you confirm? I think I need to write up a bug report 
and the more info, the better. If anyone else has info about revlet 
printing on any other browsers/platforms, that'd be good to know too.

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Printing in a revlet

2010-05-13 Thread J. Landman Gay

Jim Schaubeck wrote:

Thanks Jacqueline.  I do hope that some sort of solution (or even work
around) is found for printing within revlets.  End users view printing as
one of those things that magically just work (can't blame them).  However, I
know it's harder than it looks.


The person who submitted a support ticket also said that revlets won't 
print on IE. Can you confirm? I think I need to write up a bug report 
and the more info, the better. If anyone else has info about revlet 
printing on any other browsers/platforms, that'd be good to know too.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Printing in a revlet

2010-05-13 Thread Jim Schaubeck
Thanks Jacqueline.  I do hope that some sort of solution (or even work
around) is found for printing within revlets.  End users view printing as
one of those things that magically just work (can't blame them).  However, I
know it's harder than it looks.


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Thursday, May 13, 2010 3:59 PM
To: How to use Revolution
Subject: Re: Printing in a revlet

Jim Schaubeck wrote:
> Is anyone able to tell me how I can have web users print a card or a web
> page from a revlet?  I get blank pages when using Firefox and card
printing
> does not work (at least I have not been successful in getting it to work).
> I could use a step by step guide if someone knows where to point me.
 >
 > HP (AMD Quad),Win7 64, Firefox, Rev Studio 4.0


This came up in the tech queue too and I need to check on it more. But 
printing doesn't work in Firefox on a Mac either. It does in Safari.

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Printing in a revlet

2010-05-13 Thread J. Landman Gay

Jim Schaubeck wrote:

Is anyone able to tell me how I can have web users print a card or a web
page from a revlet?  I get blank pages when using Firefox and card printing
does not work (at least I have not been successful in getting it to work).
I could use a step by step guide if someone knows where to point me.

>
> HP (AMD Quad),Win7 64, Firefox, Rev Studio 4.0


This came up in the tech queue too and I need to check on it more. But 
printing doesn't work in Firefox on a Mac either. It does in Safari.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing in a revlet

2010-05-13 Thread Jim Schaubeck
Is anyone able to tell me how I can have web users print a card or a web
page from a revlet?  I get blank pages when using Firefox and card printing
does not work (at least I have not been successful in getting it to work).
I could use a step by step guide if someone knows where to point me.

 

HP (AMD Quad),Win7 64, Firefox, Rev Studio 4.0

 

This is a real problem for me L

 



jim schaubeck

714.321.4499

 

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


Re: Printing Resized PNGs

2010-05-07 Thread Marty Knapp

Thanks Jacque,

I did get some improvement when I realized that I needed to set the 
resizeQuality to Best after importing an image, but before any resizing. 
Before I had simply set the quality of my placeholder image to Best. 
Still JPEGs and non-transparent PNGs print best. BTW I'm printing to a 
laser printer - haven't tried much printing to an inkjet yet.


Marty


Marty Knapp wrote:
Even though the transparency is set in Photoshop? OK - I'm batting 0 
here! I'll just tell my clients to use only JPEGs and non-transparent 
PNGs. Maybe in the next version of Rev . . .


I found the reference I was looking for before, which is in the engine 
change log for Rev version 3.0:


Printing

  Any printed content that can not be rendered by the native OS 
printing system is now rasterized at a higher resolution before being 
sent to the printer as a bitmap. This means that any printouts 
containing gradients, transparency or scaled images look much better.



So apparently it would have been even worse before...and it's 
dependent on the OS print drivers.




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


Re: Printing Resized PNGs

2010-05-07 Thread J. Landman Gay

Marty Knapp wrote:
Even though the transparency is set in Photoshop? OK - I'm batting 0 
here! I'll just tell my clients to use only JPEGs and non-transparent 
PNGs. Maybe in the next version of Rev . . .


I found the reference I was looking for before, which is in the engine 
change log for Rev version 3.0:


Printing

  Any printed content that can not be rendered by the native OS 
printing system is now rasterized at a higher resolution before being 
sent to the printer as a bitmap. This means that any printouts 
containing gradients, transparency or scaled images look much better.



So apparently it would have been even worse before...and it's dependent 
on the OS print drivers.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Resized PNGs

2010-05-07 Thread Marty Knapp
Even though the transparency is set in Photoshop? OK - I'm batting 0 
here! I'll just tell my clients to use only JPEGs and non-transparent 
PNGs. Maybe in the next version of Rev . . .


Thanks,
Marty

Marty Knapp wrote:
When I print a resized PNG image that has transparency (resizeQuality 
set to best after import, then resized) it is noticeably inferior to 
a resized  PNG without transparency -- does that jive with others' 
experiences? If this is the case, is there anything I can do about 
it? The images I'm printing are usually from 1/2" to 1" square.


I think you're running into the same issue as printing images with 
inks. You'll get a screen shot. Transparency is a type of ink.




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


Re: Printing Resized PNGs

2010-05-07 Thread J. Landman Gay

Marty Knapp wrote:
When I print a resized PNG image that has transparency (resizeQuality 
set to best after import, then resized) it is noticeably inferior to a 
resized  PNG without transparency -- does that jive with others' 
experiences? If this is the case, is there anything I can do about it? 
The images I'm printing are usually from 1/2" to 1" square.


I think you're running into the same issue as printing images with inks. 
You'll get a screen shot. Transparency is a type of ink.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing Resized PNGs

2010-05-07 Thread Marty Knapp
When I print a resized PNG image that has transparency (resizeQuality 
set to best after import, then resized) it is noticeably inferior to a 
resized  PNG without transparency -- does that jive with others' 
experiences? If this is the case, is there anything I can do about it? 
The images I'm printing are usually from 1/2" to 1" square.


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


Re: Printing in Windows

2010-05-03 Thread J. Landman Gay

Steve King wrote:

Hi Jacqueline

Yes, the Printer libraries are included in the standalone build, I've let
Rev sort out libraries itself and also tried manually including. This has no
effect though


Didn't really think it would, since your script doesn't use the "rev-" 
printing commands. You could probably omit that library without any 
consequences.




Code is :

on mouseUp
  
   --answer printer (just me experimenting)

   --answer page setup (Just me experimenting)
   get the PrintPaperOrientation
   Put it into Old_Orientation
   Set the PrintPaperOrientation to "Landscape"
  


   set the printmargins to 72,30,72,30
   Set the PrintScale to 0.75
   
   Set the LockScreen to True
   
   set the visible of group "TAB" to false

   Set the visible of button "Print" to false

   Print this card

   set the visible of group "TAB" to True
   Set the visible of button "Print" to True
   Set the LockScreen to False

   set the visible of fld "Printing" to True
   -- This is just a dummy to the user while I wait 2 seconds 
   wait for 2 seconds

set the visible of fld "Printing" to False
   Set the PrintPaperOrientation to Old_Orientation
   
end mouseUp


This looks fine to me, but the docs do mention that the orientation 
won't change until "open printing" is called. Theoretically the "print 
card" command should do that behind the scenes, which makes me wonder 
why it works in the IDE but not in your standalone. But on the off 
chance that's what's wrong, try substituting your "print this card" line 
with this:


open printing
print this card
close printing

That may give the engine the wake-up it needs.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Windows

2010-05-03 Thread Steve King
Hi Jacqueline

Yes, the Printer libraries are included in the standalone build, I've let
Rev sort out libraries itself and also tried manually including. This has no
effect though

Code is :

on mouseUp
  
   --answer printer (just me experimenting)
   --answer page setup (Just me experimenting)
   get the PrintPaperOrientation
   Put it into Old_Orientation
   Set the PrintPaperOrientation to "Landscape"
  

   set the printmargins to 72,30,72,30
   Set the PrintScale to 0.75
   
   Set the LockScreen to True
   
   set the visible of group "TAB" to false
   Set the visible of button "Print" to false

   Print this card

   set the visible of group "TAB" to True
   Set the visible of button "Print" to True
   Set the LockScreen to False

   set the visible of fld "Printing" to True
   -- This is just a dummy to the user while I wait 2 seconds 
   wait for 2 seconds
set the visible of fld "Printing" to False
   Set the PrintPaperOrientation to Old_Orientation
   
end mouseUp

Any help appreciated
Cheers
Steve


>Subject: Re: Printing in Windows
>To: How to use Revolution 
>Message-ID: <4bde3533.9010...@hyperactivesw.com>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed

>>Steve King wrote:
>> Hi All
>> 
>> I am also having problems printing in Windows. 
>> 
>> In development, setting print orientation works fine. In the standalone
it
>> doesn't. I get Landscape in the development but portrait (the printer
>> default) in the standalone. 
>> 
>> I do the following
>> 
>> Read printer orientation
>> Store it
>> Set it to landscape
>> Print
>> Wait 2 seconds (incase being set to portrait to quickly)
>> Set back to portrait
>> 
>> Any suggestions?

>If you're using any of the "rev" prefixed print commands, you need to 
>include the Printing library in the standalone. It doesn't sound like 
>that's the problem though. Can you post the relevant part of your script?

>-- 
>Jacqueline Landman Gay 

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


Re: Printing in Windows

2010-05-02 Thread J. Landman Gay

Steve King wrote:

Hi All

I am also having problems printing in Windows. 


In development, setting print orientation works fine. In the standalone it
doesn't. I get Landscape in the development but portrait (the printer
default) in the standalone. 


I do the following

Read printer orientation
Store it
Set it to landscape
Print
Wait 2 seconds (incase being set to portrait to quickly)
Set back to portrait

Any suggestions?


If you're using any of the "rev" prefixed print commands, you need to 
include the Printing library in the standalone. It doesn't sound like 
that's the problem though. Can you post the relevant part of your script?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing in Windows

2010-05-02 Thread Steve King
Hi All

I am also having problems printing in Windows. 

In development, setting print orientation works fine. In the standalone it
doesn't. I get Landscape in the development but portrait (the printer
default) in the standalone. 

I do the following

Read printer orientation
Store it
Set it to landscape
Print
Wait 2 seconds (incase being set to portrait to quickly)
Set back to portrait

Any suggestions?

Cheers
Steve

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


Re: Ink Settings and Printing

2010-05-02 Thread Marty Knapp
Thanks Scott - I've played around some with printing snapshots, but the 
resolution is too low for this project. I do have a work-around for what 
I'm doing, for the most part.


Thanks,
Marty

Recently, Marty Knapp wrote:

  

I'm trying to print a card with a jpeg image on it and have noticed that
when I set the Ink to anything other than the standard  srcCopy that the
image quality suffers noticeably. I think I tired every setting that
allows underlaying objects to show through the white bounding box of my
jpeg - which is what I need. Has anyone else tried something like this?

I've tried this also with png images and gif images as well- all seems
to suffer when set to (for example) "blendMultiply."



Marty, have you tried creating a snapshot of the card first, and then
printing the snapshot?  Might work better than trying to force the
inks/image formats.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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

  


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


Re: Ink Settings and Printing

2010-05-02 Thread Richmond Mathewson

 On 02/05/2010 22:35, Scott Rossi wrote:

When trying export (or import) all elements on a card, there is no need to
do any grouping.  As in Marty's case, one only needs to import a snapshot of
the card.  Here's one way:

  import snapshot from rect (rect of this cd) of this cd

Grouping allows you import/export the objects independently of the card
itself and maintain the empty space/effects around the objects, as you
mention.



Thanks for putting me right on that one . . .  :)

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


Re: Ink Settings and Printing

2010-05-02 Thread Scott Rossi
When trying export (or import) all elements on a card, there is no need to
do any grouping.  As in Marty's case, one only needs to import a snapshot of
the card.  Here's one way:

 import snapshot from rect (rect of this cd) of this cd

Grouping allows you import/export the objects independently of the card
itself and maintain the empty space/effects around the objects, as you
mention.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Richmond Mathewson wrote:

>>> I'm trying to print a card with a jpeg image on it and have noticed that
>>> when I set the Ink to anything other than the standard  srcCopy that the
>>> image quality suffers noticeably. I think I tired every setting that
>>> allows underlaying objects to show through the white bounding box of my
>>> jpeg - which is what I need. Has anyone else tried something like this?

>> Marty, have you tried creating a snapshot of the card first, and then
>> printing the snapshot?  Might work better than trying to force the
>> inks/image formats.
>> 

> I've had to do a lot of this sort of thing recently. My experience is
> that if
> one has an image with various settings such as ink/blending, graphic effects
> (I am in love with a charcoal inner glow on a white border) and one attempts
> to export it as an image all those settings are lost; similarly so
> exporting a
> snapshot.
> 
> If, however, one groups the image after one has set all the effects
> (just create
> a group out of the image by itself; a bit counter intuitive, but there
> we are) and
> then exports either it or the whole card as a snapshot everything is
> preserved.


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


Re: Ink Settings and Printing

2010-05-02 Thread Richmond Mathewson

 On 02/05/2010 21:33, Scott Rossi wrote:

Recently, Marty Knapp wrote:


I'm trying to print a card with a jpeg image on it and have noticed that
when I set the Ink to anything other than the standard  srcCopy that the
image quality suffers noticeably. I think I tired every setting that
allows underlaying objects to show through the white bounding box of my
jpeg - which is what I need. Has anyone else tried something like this?

I've tried this also with png images and gif images as well- all seems
to suffer when set to (for example) "blendMultiply."

Marty, have you tried creating a snapshot of the card first, and then
printing the snapshot?  Might work better than trying to force the
inks/image formats.



I've had to do a lot of this sort of thing recently. My experience is 
that if

one has an image with various settings such as ink/blending, graphic effects
(I am in love with a charcoal inner glow on a white border) and one attempts
to export it as an image all those settings are lost; similarly so 
exporting a

snapshot.

If, however, one groups the image after one has set all the effects 
(just create
a group out of the image by itself; a bit counter intuitive, but there 
we are) and
then exports either it or the whole card as a snapshot everything is 
preserved.

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


Re: Ink Settings and Printing

2010-05-02 Thread Scott Rossi
Recently, Marty Knapp wrote:

> I'm trying to print a card with a jpeg image on it and have noticed that
> when I set the Ink to anything other than the standard  srcCopy that the
> image quality suffers noticeably. I think I tired every setting that
> allows underlaying objects to show through the white bounding box of my
> jpeg - which is what I need. Has anyone else tried something like this?
> 
> I've tried this also with png images and gif images as well- all seems
> to suffer when set to (for example) "blendMultiply."

Marty, have you tried creating a snapshot of the card first, and then
printing the snapshot?  Might work better than trying to force the
inks/image formats.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Re: Ink Settings and Printing

2010-05-01 Thread Marty Knapp

I was afraid of that. Oh well - thanks for letting me know.

Marty

Marty Knapp wrote:
I'm trying to print a card with a jpeg image on it and have noticed 
that when I set the Ink to anything other than the standard  srcCopy 
that the image quality suffers noticeably. I think I tired every 
setting that allows underlaying objects to show through the white 
bounding box of my jpeg - which is what I need. Has anyone else tried 
something like this?


I've tried this also with png images and gif images as well- all 
seems to suffer when set to (for example) "blendMultiply."


If I remember the change notes right, you bascially get a screen shot 
if there are blended inks on the image. The engine can't render those. 
Wish I could remember which set of notes to point you to, it was 
somewhere around when the revised image capabilities kicked in.




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


Re: Ink Settings and Printing

2010-05-01 Thread J. Landman Gay

Marty Knapp wrote:
I'm trying to print a card with a jpeg image on it and have noticed that 
when I set the Ink to anything other than the standard  srcCopy that the 
image quality suffers noticeably. I think I tired every setting that 
allows underlaying objects to show through the white bounding box of my 
jpeg - which is what I need. Has anyone else tried something like this?


I've tried this also with png images and gif images as well- all seems 
to suffer when set to (for example) "blendMultiply."


If I remember the change notes right, you bascially get a screen shot if 
there are blended inks on the image. The engine can't render those. Wish 
I could remember which set of notes to point you to, it was somewhere 
around when the revised image capabilities kicked in.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Ink Settings and Printing

2010-05-01 Thread Marty Knapp
I'm trying to print a card with a jpeg image on it and have noticed that 
when I set the Ink to anything other than the standard  srcCopy that the 
image quality suffers noticeably. I think I tired every setting that 
allows underlaying objects to show through the white bounding box of my 
jpeg - which is what I need. Has anyone else tried something like this?


I've tried this also with png images and gif images as well- all seems 
to suffer when set to (for example) "blendMultiply."


Thanks for any input,
Marty Knapp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-30 Thread Richmond Mathewson

 On 30/03/2010 12:18, Peter Alcibiades wrote:

" what I do know is that every other program I have ever downloaded onto
my Ubuntu box that "does" text
or images allows me to print to my printer."

Yes, this is true.  Its also true that a programming language without
printing is useless.  Can't believe I actually wrote that.

Aye; well, there micht be many more things that we cannot believe we have
written before this one is finished.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-30 Thread Peter Alcibiades

" what I do know is that every other program I have ever downloaded onto
my Ubuntu box that "does" text
or images allows me to print to my printer."

Yes, this is true.  Its also true that a programming language without
printing is useless.  Can't believe I actually wrote that.
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1744935.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-29 Thread Richmond Mathewson

 Now I'm less sophisticated than Peter Alcibiades and Richard Gaskin
when it comes to computery stuff; but what I do know is that every other
program I have ever downloaded onto my Ubuntu box that "does" text
or images allows me to print to my printer (whether it be connected directly
to the Ubuntu box, shared on another computer via a router, switch or hub,
or via a printer server - tried them all today, just to be bloody-minded).

I also know that I can print directly from RunRev 4 on Mac OS X and Win XP.

So I am not terribly excited about some putative upgrade in "4.5" to allow
one to print to PDF so one can then fudge a print-out from that (especially
if it is going to be an Enterprise-only 'thang'; I can see buckets and 
buckets

of RunRev programmers forking out the difference between Studio and
Enterprise for some printing fudge that isn't capable of doing what
everything else can do everywhere else).

From an extremely selfish angle: if I produce a piece of software that
has  a "dirty, fat PRINT button" on it, I want it to do what it says -
PRINT - regardless of whether it is deployed on Mac, Win or Linux.

But, Hey, I want RunRev to pick up on all the fonts installed on a
system as well; I'm a greedy bu**er . . .  :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-29 Thread Peter Alcibiades

"If the engine is the same and the variance lies with the drivers, it
would seem you've found your answer."

Yes.  But what I don't understand is, why is Rev the only app that has these
problems?  Open Office prints identically to my home printer, to cups-pdf,
to the office printer, on Mandriva or Debian or Ubuntu.  So do text editors.  
Rev must be doing something very different.

There are problems with Linux printing drivers, but they have to do with
making printers work, not all do.  They are not these kinds of problems.

I gather that in 4.5 there is going to be a print to pdf in Rev itself. 
That has the potential to solve the problem at once.  If you can print to
pdf, you can then pass it to some pdf reader and just print from that.  But,
but, if I understood correctly, this facility is only going to feature in
the Enterprise version?  That is just not possible, is it?
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1695593.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-29 Thread Richard Gaskin

Peter Alcibiades wrote:


Well, it gets worse.  The problem is, when installed, the print card into
does not work on a real printer the way it does on cups-pdf.  It must be
that it varies with the printer being installed, and also with the
distribution, and maybe also with the screen resolution.


If the engine is the same and the variance lies with the drivers, it 
would seem you've found your answer.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-29 Thread Richmond Mathewson

 On 29/03/2010 16:43, Peter Alcibiades wrote:

Well, it gets worse.  The problem is, when installed, the print card into
does not work on a real printer the way it does on cups-pdf.  It must be
that it varies with the printer being installed, and also with the
distribution, and maybe also with the screen resolution.

I am really at my wits end on this.  Basically the only solution is probably
to assume that Rev on Linux does not have a print function at all, somehow
rewrite it to pass all the quantities into a file, and then print that in
any other application.

I wonder if;

what with my big 'grunt' about fonts, and Thine about printing,
and others' about Revbrowser, and so on . . .

if we should not get up some sort of petition, at which point
the folks in Edinburgh can say "Yea" or "Nay" so we all know
where we are, what to expect, and so on, rather than this sort
of shilly-shallying about ?

Now; were the Runrev folk to say "Yes, we are listening and we are aware
of these shortcomings, and we are working on them, and here is some sort
of timescale to go by." We could all stop 'grunting' and get on with things.

And, were they to say "No." We would know where we stand as well.

I believe, and a lot of other folk besides, that Linux is a power to
be reckoned with, and that "jumping into bed" with only the 2 dominant
commercial players in the Operating System stakes is, at the very least,
unwise.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-29 Thread Peter Alcibiades

Well, it gets worse.  The problem is, when installed, the print card into
does not work on a real printer the way it does on cups-pdf.  It must be
that it varies with the printer being installed, and also with the
distribution, and maybe also with the screen resolution. 

I am really at my wits end on this.  Basically the only solution is probably
to assume that Rev on Linux does not have a print function at all, somehow
rewrite it to pass all the quantities into a file, and then print that in
any other application.  
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1695123.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in Linux

2010-03-29 Thread Peter Alcibiades

Here is what happened.

I changed the distribution that an application is running on from Mandriva
to Debian.  Because revPrintField doesn't work properly, it resorted to
getting prints out by using print card.  After the change in distribution,
print card worked, but it did not print the card in the same way as before,
it didn't print into the correct area.  This is probably something to do
with the screen resolution.

So, wishing to resolve this at leisure, I took it home and tinkered,
intending to use cups-pdf as the printer. The first thing to do was set
cups-pdf as the default printer. Then to work.  

The print card command, and this is with a card with a few simple text
fields, was timed at 1 minute 20 seconds to print to the file.  The file
appeared to go into a black hole.  cups-pdf is set up to print into a folder
called PDF in the home directory.  Nothing appeared there.  Tried other
applications.  They all now printed to /home/user/PDF without fuss.

Checking the available printers in Rev revealed the ones that are installed,
including cups-pdf, and one that is not, namely PDF.  Change the printerName
to PDF, and the print files do now arrive in the /home/userPDF directory.  

This is very reminiscent of the font situation:  fonts which are not
installed are listed, and fonts which are installed appear to be
unavailable.  Where does it get this printer from?  And what would happen if
you changed the cups-pdf configuration files to use some other directory? 
Life is too short. It still takes the same amount of time to print.

Now at least we can start tinkering with the print card into command. 
Whereas before print card into 100,100,800,600 had worked, now on one card
what was needed was 0,20,600,400 and on another 0,10,800,600.  I have no
idea why.  

When doing all this stuff, it would help to be able to read the dictionary,
but it is in unchangeable 4 point font.  Never mind, one can use a large
magnifying glass.  Which I do, believe it or not.

This by the way is still using 3.5.  Tried to use 4.0, and it would not
allow any editing of the app.  No idea why.  Lets hope that 4.5 improves
things. 
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1694775.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing in Linux

2010-03-28 Thread Richmond Mathewson

 Is at best a mess:

Mucking around with RunRev 4

I managed a PRINT CARD from the IDE menu; although it allowed me to 
print to .PS (Postscript ???) only,
which is slightly pointless as I wanted to PRINT the thing (i.e. get 
something coming out of my printer).


However a PRINT CARD command from a button on a stack gave me a rotating 
'beachball' for 2 l-o-n-g

minutes resulting in nothing at all.

Thought I'd have a bash with RunRev 2.2.1 using exactly the same stack:

saved the stack as a "Legacy Stack " (funny, that, for me the semantics 
of 'legacy' make me think
of some money my Granny left me, rather than old formats of program 
files; gosh, must be getting old),


even worse: not a sausage.

Which would seem to suggest:

1. something "has been done" between 2.2.1 and 4.0 as so far as printing 
goes,


or

2. RunRev 2.2.1 doesn't like Ubuntu 10.04 Beta 1.

Stiil; things "is" not satisfactory.

[at the risk of being accused of singing a duet with Peter Alcibiades; I 
should like
to point out that while I appreciate his coloratura and bravura singing 
I have never
managed to sustain more than 3 bars before I go off on a plangent 
tangent . . .   :)]



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


Re: Page numbers for marked cards for printing

2010-02-11 Thread Marty Knapp

Hi Charles,

When you say mark card "eligibility" are you looking for a field with 
that word in it? If so then you want to do something like:


mark cards where fld "Status" is "eligibility" or
mark cards where "eligibility" is in fld "Status"

If "eligibility" is a button that users can hilite then:

mark cards where the hilite of button "eligibility" is true

Now you can assign page numbers:

if the number of marked cards =0 then
 beep
 answer "No cards selected."
else
 repeat with x = 1 to the number of marked cards
   put "Page" && x into field "PageNumber" of marked card x
 end repeat
end if

--Do your printing then perhaps clean up when you're done:

repeat with x=1 to the number of marked cards 
 put empty into fld "PageNumber" of marked card x 
end repeat

--and you may want to unmark cards for next time too


I hope that clears things up,
Marty Knapp



Hi Mary!

I have busy trying to finish up my project. As you know, the longer you work on 
a project there is an increased possibility of making some changes to it. I 
decided to add page numbers to my marked cards so the user could see them as 
they go through the cards.

I tried the following in a preOpenCard script for card named "eligibility":

on preOpenCard

mark card "eligibility"
repeat with x = 1 to the number of marked cards
  put "Page" && x into field "PageNumber" of marked card x
end repeat

end preOpenCard

This script does not generates any errors but the field "pageNumber" does not 
get anything and remains blank.  Any ideas or suggestions?


On Jan 6, 2010, at 1:50 PM, Marty Knapp [via Runtime Revolution] wrote:

  
I would place a field on each card that you can populate just before you 
print 

repeat with x=1 to the number of marked cards 
   put "Page" && x into fld "PageNumber" of marked card x 
end repeat 

--do your printing 
--then clear the field: 

repeat with x=1 to the number of marked cards 
   put empty into fld "PageNumber" of marked card x 
end repeat



I have been working on a project that uses marked cards based on an user's 
input. When the user selects a card or cards, they become marked for 
printing. I want to add a page number at the bottom when printing the marked 
cards. 
There are around 70 cards which makes it very difficult to include page 
numbers on the cards when printing since they may not be sequential. In my 
situation, only about 6 to 11 cards would been selected by the user. Has 
anybody developed a means of assigning page numbers to marked cards when 
printing them as marked cards?


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


Re: Page numbers for marked cards for printing part 2

2010-02-11 Thread Ian McKnight
On 11 February 2010 20:07, charles61  wrote:
>
> Mary,
>
> Correction - I do get an error when I use the following script:
>
> on preOpenCard
>
> mark card "eligibility"
> repeat with x = 1 to the number of marked cards
>  put "Page" && x into field "PageNumber" of marked card x
> end repeat
>
> end preOpenCard
>
> This script generates the following error message:
>
> card "Eligibility": execution error at line 5 (Chunk: no such object) near 
> "PageNumber", char 23
>

Hi Charles

mark card "eligibility" is looking to mark a card *called* "eligibility"

Assuming that you have marked your cards for printing, ( e.g.  mark
card where fld "printme" = "Yes" )  try the preOpencard handler
without this line.

-- 
Regards


Ian McKnight

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


Re: Page numbers for marked cards for printing part 2

2010-02-11 Thread charles61

Mary,

Correction - I do get an error when I use the following script:

on preOpenCard

mark card "eligibility"
repeat with x = 1 to the number of marked cards
  put "Page" && x into field "PageNumber" of marked card x
end repeat

end preOpenCard

This script generates the following error message: 

card "Eligibility": execution error at line 5 (Chunk: no such object) near 
"PageNumber", char 23

Any suggestions?

On Jan 6, 2010, at 1:50 PM, Marty Knapp [via Runtime Revolution] wrote:

> I would place a field on each card that you can populate just before you 
> print 
> 
> repeat with x=1 to the number of marked cards 
>put "Page" && x into fld "PageNumber" of marked card x 
> end repeat 
> 
> --do your printing 
> --then clear the field: 
> 
> repeat with x=1 to the number of marked cards 
>put empty into fld "PageNumber" of marked card x 
> end repeat
> 
> > I have been working on a project that uses marked cards based on an user's 
> > input. When the user selects a card or cards, they become marked for 
> > printing. I want to add a page number at the bottom when printing the 
> > marked 
> > cards. 
> > There are around 70 cards which makes it very difficult to include page 
> > numbers on the cards when printing since they may not be sequential. In my 
> > situation, only about 6 to 11 cards would been selected by the user. Has 
> > anybody developed a means of assigning page numbers to marked cards when 
> > printing them as marked cards? 
> >  
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1008275.html
>  
> To unsubscribe from Page numbers for marked cards for printing, click here.
> 


Charles Szasz
csz...@mac.com





-- 
View this message in context: 
http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1477738.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Page numbers for marked cards for printing

2010-02-11 Thread charles61

Hi Mary!

I have busy trying to finish up my project. As you know, the longer you work on 
a project there is an increased possibility of making some changes to it. I 
decided to add page numbers to my marked cards so the user could see them as 
they go through the cards.

I tried the following in a preOpenCard script for card named "eligibility":

on preOpenCard

mark card "eligibility"
repeat with x = 1 to the number of marked cards
  put "Page" && x into field "PageNumber" of marked card x
end repeat

end preOpenCard

This script does not generates any errors but the field "pageNumber" does not 
get anything and remains blank.  Any ideas or suggestions?


On Jan 6, 2010, at 1:50 PM, Marty Knapp [via Runtime Revolution] wrote:

> I would place a field on each card that you can populate just before you 
> print 
> 
> repeat with x=1 to the number of marked cards 
>put "Page" && x into fld "PageNumber" of marked card x 
> end repeat 
> 
> --do your printing 
> --then clear the field: 
> 
> repeat with x=1 to the number of marked cards 
>put empty into fld "PageNumber" of marked card x 
> end repeat
> 
> > I have been working on a project that uses marked cards based on an user's 
> > input. When the user selects a card or cards, they become marked for 
> > printing. I want to add a page number at the bottom when printing the 
> > marked 
> > cards. 
> > There are around 70 cards which makes it very difficult to include page 
> > numbers on the cards when printing since they may not be sequential. In my 
> > situation, only about 6 to 11 cards would been selected by the user. Has 
> > anybody developed a means of assigning page numbers to marked cards when 
> > printing them as marked cards? 
> >  
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1008275.html
>  
> To unsubscribe from Page numbers for marked cards for printing, click here.
> 


Charles Szasz
csz...@mac.com





-- 
View this message in context: 
http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1477731.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Large Format Printing With Rev?

2010-02-10 Thread stephen barncard
I keep hearing more and more about SVG lately - Robert Cailliau's favorite
markup.

 Seems like a vector to SVG converter ( and vv) could be built in rev

-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 10 February 2010 12:55, Andre Garzia  wrote:

> Scott,
>
> I have no clue whatsoever, but if it is all vector graphics, can you
> convert it to SVG? it is just fancy XML and should not care about
> resolution.
>
> Cheers
> andre
>
> On Wed, Feb 10, 2010 at 5:38 PM, Scott Rossi 
> wrote:
> > Hi List Folks:
> >
> > Does anybody have any experience with large format imaging using Rev?  I
> > seem to recall Rev has a size limit when it comes to card size, but if a
> > card of simple text and graphics could be converted into some kind of
> > "common" vector output, the size limit might not be a show stopper.  I'm
> > pretty sure Rev's roots were in EPS and/or display PostScript -- could
> this
> > contribute to a solution?
> >
> > Thanks for any advice.
> >
> > Regards,
> >
> > Scott Rossi
> > Creative Director
> > Tactile Media, UX Design
> >
> >
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Large Format Printing With Rev?

2010-02-10 Thread Andre Garzia
Scott,

I have no clue whatsoever, but if it is all vector graphics, can you
convert it to SVG? it is just fancy XML and should not care about
resolution.

Cheers
andre

On Wed, Feb 10, 2010 at 5:38 PM, Scott Rossi  wrote:
> Hi List Folks:
>
> Does anybody have any experience with large format imaging using Rev?  I
> seem to recall Rev has a size limit when it comes to card size, but if a
> card of simple text and graphics could be converted into some kind of
> "common" vector output, the size limit might not be a show stopper.  I'm
> pretty sure Rev's roots were in EPS and/or display PostScript -- could this
> contribute to a solution?
>
> Thanks for any advice.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Large Format Printing With Rev?

2010-02-10 Thread Scott Rossi
Hi List Folks:

Does anybody have any experience with large format imaging using Rev?  I
seem to recall Rev has a size limit when it comes to card size, but if a
card of simple text and graphics could be converted into some kind of
"common" vector output, the size limit might not be a show stopper.  I'm
pretty sure Rev's roots were in EPS and/or display PostScript -- could this
contribute to a solution?

Thanks for any advice.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Re: Page numbers for marked cards for printing

2010-01-06 Thread charles61

Mary,

Thanks very much! I tried your script and it works. I appreciative you taking 
time to help me.


Charles Szasz
csz...@mac.com





On Jan 6, 2010, at 1:50 PM, Marty Knapp [via Runtime Revolution] wrote:

> I would place a field on each card that you can populate just before you 
> print 
> 
> repeat with x=1 to the number of marked cards 
>put "Page" && x into fld "PageNumber" of marked card x 
> end repeat 
> 
> --do your printing 
> --then clear the field: 
> 
> repeat with x=1 to the number of marked cards 
>put empty into fld "PageNumber" of marked card x 
> end repeat
> 
> > I have been working on a project that uses marked cards based on an user's 
> > input. When the user selects a card or cards, they become marked for 
> > printing. I want to add a page number at the bottom when printing the 
> > marked 
> > cards. 
> > There are around 70 cards which makes it very difficult to include page 
> > numbers on the cards when printing since they may not be sequential. In my 
> > situation, only about 6 to 11 cards would been selected by the user. Has 
> > anybody developed a means of assigning page numbers to marked cards when 
> > printing them as marked cards? 
> >  
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1008275.html
>  
> To unsubscribe from Page numbers for marked cards for printing, click here.
> 


-- 
View this message in context: 
http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1008378.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Page numbers for marked cards for printing

2010-01-06 Thread Marty Knapp
I would place a field on each card that you can populate just before you 
print


repeat with x=1 to the number of marked cards
  put "Page" && x into fld "PageNumber" of marked card x
end repeat

--do your printing
--then clear the field:

repeat with x=1 to the number of marked cards
  put empty into fld "PageNumber" of marked card x
end repeat

I have been working on a project that uses marked cards based on an user's
input. When the user selects a card or cards, they become marked for
printing. I want to add a page number at the bottom when printing the marked
cards.
There are around 70 cards which makes it very difficult to include page
numbers on the cards when printing since they may not be sequential. In my
situation, only about 6 to 11 cards would been selected by the user. Has
anybody developed a means of assigning page numbers to marked cards when
printing them as marked cards? 
  


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


Page numbers for marked cards for printing

2010-01-06 Thread charles61

I have been working on a project that uses marked cards based on an user's
input. When the user selects a card or cards, they become marked for
printing. I want to add a page number at the bottom when printing the marked
cards.
There are around 70 cards which makes it very difficult to include page
numbers on the cards when printing since they may not be sequential. In my
situation, only about 6 to 11 cards would been selected by the user. Has
anybody developed a means of assigning page numbers to marked cards when
printing them as marked cards? 
-- 
View this message in context: 
http://n4.nabble.com/Page-numbers-for-marked-cards-for-printing-tp1008255p1008255.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More about hex and printing and gdi printers...

2009-12-28 Thread Peter Alcibiades

And by the way, one last thing.  When you do this, permissions will stop
ordinary users from addressing lp0.   Which obviously you will tell by
trying out the command from the terminal and discovering that it works with
su but not as ordinary user.   And putting the user into the lp group with
usermod does not fix this, I don't know why.  You could probably use suid,
but the simplest way may be to install sudo (which Ubuntu will already have)
and then edit the sudoers file to permit the user to use lp.  Otherwise
everything will be set up right, but it won't work.
-- 
View this message in context: 
http://n4.nabble.com/More-about-hex-and-printing-and-gdi-printers-tp963411p989671.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More about hex and printing and gdi printers...

2009-12-28 Thread Peter Alcibiades

Just for the sake of completeness, something probably most people here know,
but in case some other luckless amateur ends up struggling with this again,
there is at least one other way of doing this.

The first way was to edit a text file using a hex editor, then use a shell
command that uses the Unix cat command to redirect the contents of the file
to the printer, in our case lp0.

A simpler method that clutters up the program directory a bit less, and
maybe is less open to user errors, because you don't have to have mysterious
text files lying around, is to use echo as in


   echo -e "\x1B\x64\x30" > /dev/usb/lp0

Presumably this works with OSX as well.  What is happening is that the -e
enables interpretation of the escaped character which follows, and the
escaped character x signals that the following pair is a hex character. 
Anyway, do this with my particular printer, and the result is magic:  the
paper cutter operates!

This is so simple, assuming you have the hex codes to do things, that one
starts having fantasies of writing very simple printer drivers in Bash.  No, 
that way madness lies!

Peter
-- 
View this message in context: 
http://n4.nabble.com/More-about-hex-and-printing-and-gdi-printers-tp963411p989668.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


More about hex and printing and gdi printers...

2009-12-14 Thread Peter Alcibiades
Well, thank you all for your help, and yes, it is licked, the hex that is!

What to do is, get a hex editor, I used ghex but there seem to be a huge 
number out there.  Then you just insert the hex characters into a text 
file.  ghex is very convenient because you can either type them in as hex 
or as ascii in the two panes, and it then shows what you have done in the 
other.  Maybe they all do this, ghex is the only one I've ever used.

Then to control the printer with this, you just do

put shell("cat yourfile > printer")

And lo and behold, the paper cutter instantly snips the paper!  The cash 
drawer is certain to open as well now that the method is figured out.  It 
is actually so simple to do, once you know how.  Like many things.

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


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-13 Thread Peter W A Wood
Richmond 

> And, Linux 

Have you tried using the lpr shell command - 
http://www.linuxquestions.org/questions/linux-software-2/print-files-in-pdf-or-html-format-from-the-linux-command-line-204012/

Regards

Peter Wood


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


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-13 Thread Richmond Mathewson

On 13/12/2009 15:28, Jan Schenkel wrote:


Looking back at your original question, I can now see you weren't looking to 
embed high-resolution images into a new PDF document, but rather how you print 
a PDF file.

On Mac, you can use an AppleScript to ask Preview or Acrobat Reader to print 
the PDF file. Preview will always be there, but you can even ask the Finder to 
print the document and it will pick the correct application for you.

On Windows, you can sue a command-line utility called 'pdfp' - which you can download 
from here:
There's also a newer version which is more compatible with Acrobat Reader 8 and 
higher, pdfp8, which you can download 
here:
PDFP requires that Adobe Acrobat Reader is installed on the system, but that's 
a dependency you shouldn't have to worry about.
> From the command-line, you would use something like
pdfp -p "" -c  ""
So translating that into revTalk:
##
put thePathToPdfpExe&&  "-p"&&  quote&  thePrinterName&  quote&&  \
 "-c"&&  theNumberOfCopies&&  quote&  theFilePath&  quote \
 into theCommand
get shell(theCommand)
##
You might want to set the 'hideConsoleWindows' global property to true before 
calling the 'shell' function.
   


And, Linux 


HTH,


   


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


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-13 Thread Jan Schenkel
Looking back at your original question, I can now see you weren't looking to 
embed high-resolution images into a new PDF document, but rather how you print 
a PDF file.

On Mac, you can use an AppleScript to ask Preview or Acrobat Reader to print 
the PDF file. Preview will always be there, but you can even ask the Finder to 
print the document and it will pick the correct application for you.

On Windows, you can sue a command-line utility called 'pdfp' - which you can 
download from here: 
<http://www.esnips.com/doc/9e2a3a72-52ca-4711-945b-85316465f02f/pdfp>
There's also a newer version which is more compatible with Acrobat Reader 8 and 
higher, pdfp8, which you can download here: 
<http://www.esnips.com/doc/0a1928c4-a96d-4a4c-838a-eb6e0b9a986c/pdfp8>
PDFP requires that Adobe Acrobat Reader is installed on the system, but that's 
a dependency you shouldn't have to worry about.
>From the command-line, you would use something like
pdfp -p "" -c  ""
So translating that into revTalk:
##
put thePathToPdfpExe && "-p" && quote & thePrinterName & quote && \
"-c" && theNumberOfCopies && quote & theFilePath & quote \
into theCommand
get shell(theCommand)
##
You might want to set the 'hideConsoleWindows' global property to true before 
calling the 'shell' function.

HTH,

Jan Schenkel
=
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


--- On Mon, 12/7/09, Josh Mellicker  wrote:

> From: Josh Mellicker 
> Subject: does anyone have experience printing PDFs from Rev @ full resolution?
> To: "how to use Revolution" 
> Date: Monday, December 7, 2009, 5:34 PM
> Does anyone have experience printing
> PDFs from Rev @ full resolution? Meaning, vector PDFs will
> print at the full printer resolution (300dpi/600dpi, etc.),
> and bitmap PDFs will print at the document
> resolution.


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


Re: Printing a player image in XP

2009-12-12 Thread hyperchris
Thanks Mark. For posterity, here is the 'Win XP workaround: 
Right before you print, execute ...
   import snapshot from card 1
...  then you can print the card and see what was in your QT Player objects. 
Don't forget to delete the image that results from using that command.
> I need to display TIFFs and QuickTime is the only way I know to do that in 
> Rev. So, I make sure XP has QT installed and then I use the Player object. 
> Everything displays fine.
> 
> When I print in XP, though, i get mush. The Players are just a grey box 
> (everything else on the page prints fine.) I also tried Printing to PDF to 
> see if that helped but no dice.
> 
> It works fine in OSX so the approach appears to be sound. I did consider a 
> workaround of 'export snapshot as PNG' and then putting that image in front 
> of the Player. However, the QT approach is already a little pokey and so I'd 
> like to find a better solution. (It also might snapshot the print dialogue 
> unless it supports off-screen shots!)

>>Have you looked into Trevor's QT external? Maybe there is something in there.
>> Mark Talluto   http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-11 Thread Jan Schenkel
Yet another reason to get your RevSelect MegaBundle'09 while it's hot - as it 
includes a full year of updates to revEnterprise :-)


Quartam PDF Library already lets you create documents with hi-res images today, 
as it includes the image at full resoluton, relying on Adobe Acrobat or other 
PDF viewers to display them at the right resolution on-screen and on paper. It 
is available for all platforms and supports Rev 2.7 and higher.

And don't forget that you can already use the 'printerOutput' property today to 
'print' stacks to files (PDF on MacOSX, XPS on Windows and PS on Linux); the 
trick there is to put the image on a card at a large size appropriate to the 
resolution and then 'scale' it down to the right size using the 'print into 
rect' command.

Jan Schenkel.
=
Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


--- On Fri, 12/11/09, Josh Mellicker  wrote:
> Thanks William.
> 
> Kevin has hinted at changes in 4.1 where Rev will print
> directly from the original file, so it's possible we will be
> able to shell out in Windows or on Mac and print a PDF at
> full quality sometime soon.
> 
> 
> On Dec 11, 2009, at 6:15 PM, william humphrey wrote:
> 
> > yes.  The high resolution png files print nicely
> when they are on a card.
> > 
> > On Fri, Dec 11, 2009 at 5:18 PM, Josh Mellicker 
> wrote:
> > 
> >> Can you then print that PNG @ 300 dpi?
> >> 
> >> On Dec 8, 2009, at 5:03 AM, william humphrey
> wrote:
> >> 
> >>> I don't even know how to embed a PDF in a
> RunRev card. I always open the
> >> PDF
> >>> in photoshop first and save it as a .png which
> has 300 dot per inch
> >>> resolution (or less) and then put that image
> in the card which I want to
> >>> print.
> >> 
> >> 



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


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-11 Thread Josh Mellicker
Thanks William.

Kevin has hinted at changes in 4.1 where Rev will print directly from the 
original file, so it's possible we will be able to shell out in Windows or on 
Mac and print a PDF at full quality sometime soon.


On Dec 11, 2009, at 6:15 PM, william humphrey wrote:

> yes.  The high resolution png files print nicely when they are on a card.
> 
> On Fri, Dec 11, 2009 at 5:18 PM, Josh Mellicker  wrote:
> 
>> Can you then print that PNG @ 300 dpi?
>> 
>> On Dec 8, 2009, at 5:03 AM, william humphrey wrote:
>> 
>>> I don't even know how to embed a PDF in a RunRev card. I always open the
>> PDF
>>> in photoshop first and save it as a .png which has 300 dot per inch
>>> resolution (or less) and then put that image in the card which I want to
>>> print.
>> 
>> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-11 Thread william humphrey
yes.  The high resolution png files print nicely when they are on a card.

On Fri, Dec 11, 2009 at 5:18 PM, Josh Mellicker  wrote:

> Can you then print that PNG @ 300 dpi?
>
> On Dec 8, 2009, at 5:03 AM, william humphrey wrote:
>
> > I don't even know how to embed a PDF in a RunRev card. I always open the
> PDF
> > in photoshop first and save it as a .png which has 300 dot per inch
> > resolution (or less) and then put that image in the card which I want to
> > print.
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-11 Thread Josh Mellicker
Can you then print that PNG @ 300 dpi?

On Dec 8, 2009, at 5:03 AM, william humphrey wrote:

> I don't even know how to embed a PDF in a RunRev card. I always open the PDF
> in photoshop first and save it as a .png which has 300 dot per inch
> resolution (or less) and then put that image in the card which I want to
> print.
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Printing a player image in XP

2009-12-11 Thread Mark Talluto
On Dec 10, 2009, at 9:27 PM, hyperch...@aol.com wrote:

> I need to display TIFFs and QuickTime is the only way I know to do that in 
> Rev. So, I make sure XP has QT installed and then I use the Player object. 
> Everything displays fine.
> 
> 
> When I print in XP, though, i get mush. The Players are just a grey box 
> (everything else on the page prints fine.) I also tried Printing to PDF to 
> see if that helped but no dice. 
> 
> 
> It works fine in OSX so the approach appears to be sound. I did consider a 
> workaround of 'export snapshot as PNG' and then putting that image in front 
> of the Player. However, the QT approach is already a little pokey and so I'd 
> like to find a better solution. (It also might snapshot the print dialogue 
> unless it supports off-screen shots!)
> 
> 
> Any thoughts, ideas, magical incantations ???  TY ... Chris


Hi Chris,

Have you looked into Trevor's QT external?  Maybe there is something in there.


Best regards,

Mark Talluto
http://www.canelasoftware.com


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


Printing a player image in XP

2009-12-10 Thread hyperchris
I need to display TIFFs and QuickTime is the only way I know to do that in Rev. 
So, I make sure XP has QT installed and then I use the Player object. 
Everything displays fine.


When I print in XP, though, i get mush. The Players are just a grey box 
(everything else on the page prints fine.) I also tried Printing to PDF to see 
if that helped but no dice. 


It works fine in OSX so the approach appears to be sound. I did consider a 
workaround of 'export snapshot as PNG' and then putting that image in front of 
the Player. However, the QT approach is already a little pokey and so I'd like 
to find a better solution. (It also might snapshot the print dialogue unless it 
supports off-screen shots!)


Any thoughts, ideas, magical incantations ???  TY ... Chris
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-08 Thread william humphrey
I don't even know how to embed a PDF in a RunRev card. I always open the PDF
in photoshop first and save it as a .png which has 300 dot per inch
resolution (or less) and then put that image in the card which I want to
print.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


does anyone have experience printing PDFs from Rev @ full resolution?

2009-12-07 Thread Josh Mellicker
Does anyone have experience printing PDFs from Rev @ full resolution? Meaning, 
vector PDFs will print at the full printer resolution (300dpi/600dpi, etc.), 
and bitmap PDFs will print at the document 
resolution.___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing rubbish

2009-11-30 Thread Richmond Mathewson

Further to what I wrote recently;

XPS is supposedly an open format, but it really is
one of those Microsoft 'things' and reading an
XPS document on a Macintosh is dependent on
non-Free software:

Sana Tech:  http://www.sana-tech.com/xps.html

XPS Convert: http://www.pdftron.com/xpsconvert/index.html

NiXPS: http://www.nixps.com/download.html

---

Okular (KDE) can cope with XPS:

http://okular.kde.org/

[and I intend to 'play' with it as soon as I can
find a spot of free time]

---

I am aware that RunRev leverages the Operating System's
in-built capabilities as far as PDF/XPS/PS are concerned,
and until RunRev can 'cook' some universal format (such
as PDF) itself there is little chance for it being able to spit
out a universally readable (but not editable) document.


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


Re: Printing rubbish

2009-11-30 Thread Richmond Mathewson

On 11/29/09 11:33 AM, Jan Schenkel wrote:

Hi Richmond,

Printing in rev can be a bit confusing at times, but I have some experience 
with it so I can help you find the errors in your ways ;-)

Let's start at the top. In order to print a card to a PDF file, you have to do 
a little more than what you scripted:
##
on mouseUp
local tFilePath
put specialFolderPath("desktop")&  "/test.pdf" into tFilePath
set the printerOutput to ("file:"&  tFilePath)
set the printMargins to 0,0,0,0
print this card
launch document tFilePath
end mouseUp
##
I decided to place the file on the desktop and launch it right after printing. 
The key difference was setting the printMargins. If your 'print' command 
doesn't specify an 'into' rectangle, the engine assumes you're printing from 
the top left of the printable part of the paper.

Important to know, so you get your expectations right:
- graphic objects are printed to 'unlimited' precision, zooming in shouldn't 
result in jagged lines
- the text in objects (fields, button labels, etc.) are also printed to 
'unlimited' precision
- everything else (images, players and other controls) gets printed at 'screen' 
precision and will show jaggies as you zoom in

The reason is simple: rev asks the operating system to draw a button, but gets 
this back as a bitmap; it then prints the label of the button on top of it; 
these are two distinct graphic environments, and while you don't see it on 
screen, you'll see the difference upon printing time.

Anyway, on to the problem of printing a field. The simplest method is indeed to 
use the revPrintField command, so you ware almost there:
##
on mouseUp
local tFilePath
put specialFolderPath("desktop")&  "/test2.pdf" into tFilePath
set the printerOutput to ("file:"&  tFilePath)
revShowPrintDialog false, false
revPrintField the long id of field "MyStyledTextField"
launch document tFilePath
end mouseUp
##
Calling the 'revShowPrintDialog' command allows you to control which dialogs 
are shown (page setup, print) so by passing false twice, we bypass the dialog 
box completely. And the PDF output looked crispy on my Mac.

On Windows, you can use the printerOutput to create 'XPS' files (MS alternative 
to PDF), and on Linux, you can use it to create 'PS' files (PostScript, of 
course)

HTH,

Jan Schenkel
   


Thank you, Jan; that is really fantastic.

However, it would be lovely if there were a way to output to PDF/XPS/PS 
cross-platform as I know that XPS, for instance, is
problematic to read on a Mac and Linux systems that don't run KDE as a 
window manager.

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


Re: Printing rubbish

2009-11-29 Thread Jan Schenkel
Hi Richmond,

Printing in rev can be a bit confusing at times, but I have some experience 
with it so I can help you find the errors in your ways ;-)

Let's start at the top. In order to print a card to a PDF file, you have to do 
a little more than what you scripted:
##
on mouseUp
   local tFilePath
   put specialFolderPath("desktop") & "/test.pdf" into tFilePath
   set the printerOutput to ("file:" & tFilePath)
   set the printMargins to 0,0,0,0
   print this card
   launch document tFilePath
end mouseUp
##
I decided to place the file on the desktop and launch it right after printing. 
The key difference was setting the printMargins. If your 'print' command 
doesn't specify an 'into' rectangle, the engine assumes you're printing from 
the top left of the printable part of the paper.

Important to know, so you get your expectations right:
- graphic objects are printed to 'unlimited' precision, zooming in shouldn't 
result in jagged lines
- the text in objects (fields, button labels, etc.) are also printed to 
'unlimited' precision
- everything else (images, players and other controls) gets printed at 'screen' 
precision and will show jaggies as you zoom in

The reason is simple: rev asks the operating system to draw a button, but gets 
this back as a bitmap; it then prints the label of the button on top of it; 
these are two distinct graphic environments, and while you don't see it on 
screen, you'll see the difference upon printing time.

Anyway, on to the problem of printing a field. The simplest method is indeed to 
use the revPrintField command, so you ware almost there:
##
on mouseUp
   local tFilePath
   put specialFolderPath("desktop") & "/test2.pdf" into tFilePath
   set the printerOutput to ("file:" & tFilePath)
   revShowPrintDialog false, false
   revPrintField the long id of field "MyStyledTextField"
   launch document tFilePath
end mouseUp
##
Calling the 'revShowPrintDialog' command allows you to control which dialogs 
are shown (page setup, print) so by passing false twice, we bypass the dialog 
box completely. And the PDF output looked crispy on my Mac.

On Windows, you can use the printerOutput to create 'XPS' files (MS alternative 
to PDF), and on Linux, you can use it to create 'PS' files (PostScript, of 
course)

HTH,

Jan Schenkel
=
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


--- On Sat, 11/28/09, Richmond Mathewson  wrote:

> From: Richmond Mathewson 
> Subject: Printing rubbish
> To: "How to use Revolution" 
> Date: Saturday, November 28, 2009, 8:18 AM
> I have a card containing a field that
> is 875 wide (on a Mac),
> so when I do this:
> 
> on mouseUp
>    set the printerOutput to "file:
> Rubbish.pdf"
>    print this card
> end mouseUp
> 
> I get rubbish insofar as i get the left half of
> the card in a PDF file; wonder what happened to the
> right half?
> 
> --
> 
> Of course this:
> 
> on mouseUp
>    set the printerOutput to "file:
> RubbishToo.pdf"
>    print fld "fTEXT"
> end mouseUp
> 
> just throws a "bluey"!
> 
> A bit of a shame, really, as printing from text-fields
> would
> be ever-so nifty.
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> 
> I wonder whether this:
> 
> "Output direct to PDF
> Cards or portions of cards can now be output direct to pdf
> format files."
> 
> means that one can do this in Supercard 
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> 
> This:
> 
> on mouseUp
>    set the printerOutput to "file:
> RubbishToo.pdf"
>    print this card from 204,159 to 764,561
> end mouseUp
> 
> proved interesting as it printed out most of the field
> (204,159 being the field's top-left
> and 764,561 being its bottom-right), but chopped off its
> right side (presumably the
> field is too wide).
> 
> ---
> 
> Of course, printing a scrolling field to PDF would have
> been a
> non-starter as what is REALLY being printed is a SNAPSHOT
> of all
> or part of the card.
> 
> ---
> 
> Tried this:
> 
> on mouseUp
>    set the printerOutput to "file:
> RubbishToo.pdf"
>    revPrintField ("field" &&
> "fTEXT")
> end mou

Re: Printing rubbish

2009-11-28 Thread Peter Alcibiades



Richmond Mathewson-2 wrote:
> 
> ..However, I was trying to find a way, in Mac OS X, to print directly
> from
> a field to a PDF file.
> 

Richmond, have you thought of going out to shell and chaining some of the
commands together?  This is what I've usually found it necessary to do.  So
you'd start by putting the contents of the field in a text or rtf or html
file, format it how you want either in rev or something else, being a
dinosaur I use awk, but whatever, then call a converter command line program
on it, or pass it to a pdf virtual printer.  I use cups-pdf, but there are
also lots of command line converters available.  

I do this, for instance, to pass the list output of the kde calendar into a
word processing file, do all the formatting, and then open it in the word
processor for the user to edit and print.

But you could chain together a2ps with ps2pdf, or probably there are lots of
other ways.

Peter
-- 
View this message in context: 
http://n4.nabble.com/Printing-rubbish-tp906910p930652.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   3   4   5   6   7   8   9   10   >