Printing Problems

Whether you're using the Standard or Professional Edition of Quartam Reports, this is the place to ask general questions about using this industry-level reporting tool for LiveCode.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
igalperry
Posts:9
Joined:Sat Jan 22, 2011 4:37 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Printing Problems

Post by igalperry » Sat Jan 22, 2011 4:52 am

Hi,

I created a broker button to manage printing labels from a stack. My script brings up a preview window which seems fine (labels show according to the spacing and formatting I specified).
The problem occurs when I click the print... button of the Temp preview stack.
I get the error:
"There was an error executing a script in stack qrtReportsPreview-1309. No More information is available because the stack is password protected"
If on the other hand I select Print Card the program does not print the preview page as is but spaces the information differently and does not even print all the labels. The page margins also get pushed to the right.
Any insight on these anomalies?

Many thanks

Igal Perry

JanSchenkel
Site Admin
Posts:110
Joined:Sun Jul 18, 2010 5:21 pm
Location:Aalst, Belgium
Contact:

Re: Printing Problems

Post by JanSchenkel » Sat Jan 22, 2011 6:30 am

A couple of questions:
- which combination of QuartamReprts version, LiveCode version and Operating System is this happening on?
- dors it happen only inside the LiveCode IDE, only in a standalone, or both?
- is it possible that 'qrtReportsLib' is no longer loaded as a library by the time you click the print button?
-> check if you have a 'stop using stack "qrtreportslib" in there somewhere
- is the hidden temporary stack 'REPtemp-NNN' still in memory at the time you click the print button?

Thanks in advance for the feedback - I've been trying to identify possible causes for these sort of messages, so that I can better report them in the next corrective release.

Jan Schenkel.
Quartam Developer Tools for LiveCode
http://www.quartam.com

igalperry
Posts:9
Joined:Sat Jan 22, 2011 4:37 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Printing Problems

Post by igalperry » Sun Jan 30, 2011 9:01 pm

- which combination of QuartamReprts version, LiveCode version and Operating System is this happening on?
Quartam Reports version 1.1.4
LiveCode version 4.5.0 Build 1080
Operating System Mac OSX 10.4.11

- dors it happen only inside the LiveCode IDE, only in a standalone, or both?
I've only tried in the LiveCode IDE so far.

- is it possible that 'qrtReportsLib' is no longer loaded as a library by the time you click the print button?
-> check if you have a 'stop using stack "qrtreportslib" in there somewhere
I only have "start using stack "qrtreportslib". I don't have a stop.

- is the hidden temporary stack 'REPtemp-NNN' still in memory at the time you click the print button?
Yes, this window is still open at the time.

JanSchenkel
Site Admin
Posts:110
Joined:Sun Jul 18, 2010 5:21 pm
Location:Aalst, Belgium
Contact:

Re: Printing Problems

Post by JanSchenkel » Mon Jan 31, 2011 6:23 pm

Hmm, that is very odd indeed - could you email me a small reproducible test case? Then I can more easily get to the bottom of it.

TIA,

Jan Schenkel.
Quartam Developer Tools for LiveCode
http://www.quartam.com

igalperry
Posts:9
Joined:Sat Jan 22, 2011 4:37 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Printing Problems

Post by igalperry » Sun Feb 13, 2011 4:39 pm

Hi Jan

Thanks for your reply. I am sending you the files to info@quartam.com. Hope we can fine the problem. The print is done from the "Print Labels" button. Please change the path of the files as you need on your computer. Looking forward to hearing from you,

Igal Perry

igalperry
Posts:9
Joined:Sat Jan 22, 2011 4:37 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Printing Problems

Post by igalperry » Sun Mar 06, 2011 4:57 pm

I can confirm that it does work on a different computer so it must be some configuration on this computer. I will clean up this computer and let you know if it works here. Thanks for your help.

JanSchenkel
Site Admin
Posts:110
Joined:Sun Jul 18, 2010 5:21 pm
Location:Aalst, Belgium
Contact:

Re: Printing Problems

Post by JanSchenkel » Mon Mar 07, 2011 6:41 am

Did it make any difference when you used version 1.1.6 as I replied to your email?
At the very least, I hope you received a clearer error message?

Jan Schenkel.
Quartam Developer Tools for LiveCode
http://www.quartam.com

blairetabay
Posts:8
Joined:Thu Mar 27, 2014 3:07 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Printing Problems

Post by blairetabay » Sun Mar 30, 2014 3:30 pm

Hi Jan,

I have the same problem with him Jan,

i been using the 1.1.6 version on my IDE in livecode is working

on my stand alone does not.



best,


blairetabay

JanSchenkel
Site Admin
Posts:110
Joined:Sun Jul 18, 2010 5:21 pm
Location:Aalst, Belgium
Contact:

Re: Printing Problems

Post by JanSchenkel » Mon Mar 31, 2014 9:41 pm

Hi Jaybriel,

There really is no need to tack your separate question onto an existing topic.
I have replied here.

Jan Schenkel.
Quartam Developer Tools for LiveCode
http://www.quartam.com

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable