Printing Troubles -- Will they ever end???

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

Re: Printing Troubles -- Will they ever end???

Post by egolombek » Wed Aug 12, 2020 12:37 pm

Unfortunately, I am forced to select the inclusions because the automatic option does not pick up on database functions for some reason. And... yes, I included the pdf inclusion. But it is called "PDF Printer" not revPrinter... Maybe that is from an old version because it does not appear in the list of possible inclusions.

But, there must be some other inclusion that is missing. The whole thing is very strange, because, like I said, it works perfectly in developer mode. My issue only emerges when compiled.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5246
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Printing Troubles -- Will they ever end???

Post by richmond62 » Wed Aug 12, 2020 12:46 pm

The inclusions icon is disabled if you check "Search for required Inclusions..." in the "General" pane.
Belshazzar's Feast, Man. 8)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7296
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing Troubles -- Will they ever end???

Post by dunbarx » Wed Aug 12, 2020 2:26 pm

Richmond.

The disablement seems appropriate, no?

Mene, Mene, Tekel, Upharsin

Craig

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

Re: Printing Troubles -- Will they ever end???

Post by egolombek » Wed Aug 12, 2020 2:39 pm

Man, this has turned Biblical quickly!

Back to the issue on hand...

Richmond62, can you take your simple stack and run it as a standalone? I would like to see if it is only me that is getting cursed using Hebrew. It is important that non-Hebrew text appear after the Hebrew text on the page (don't ask me why, it just is). It is the Hebrew that is crashing the pdf library but only on the standalone (on windows)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7296
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing Troubles -- Will they ever end???

Post by dunbarx » Wed Aug 12, 2020 4:37 pm

I do not use anything requiring unicode characters.

Thank goodness.

But I do not see how any particular character set might crash the pdf process. That is my uninformed opinion.

I use this command all the time. The card that is printed has dozens of graphics, text fields and colors. I always print the whole card. Is it possible that the "print into..." is the culprit? Have you tried losing that, and as a test, print the entire card? If the problem goes away, we have found a bug.

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5246
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Printing Troubles -- Will they ever end???

Post by richmond62 » Wed Aug 12, 2020 7:00 pm


egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

Re: Printing Troubles -- Will they ever end???

Post by egolombek » Thu Aug 13, 2020 3:01 pm

Hmmm.... I have a general policy of not downloading .exe files. Can you tell me what I will find behind this curtain? Is this the standalone? Does it work?

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

Re: Printing Troubles -- Will they ever end???

Post by egolombek » Thu Aug 13, 2020 3:07 pm

Dunbarx...

Yes, I have tried both print card and print card into.

Again, the problem is only with the standalone. It works fine in developer's mode. That's the annoying thing. It seems to me to either be a missing library. Or more likely, the pdf printer cannot handle the Hebrew. (since that is where it crashes)

I am trying now to work on a solution where I print and use the Microsoft print to pdf printer. So far, promising results. Although... even the Microsoft does not recognize that it is Hebrew meaning it misprints punctuation (that is a pretty typical problem for Hebrew in many programs).

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7296
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing Troubles -- Will they ever end???

Post by dunbarx » Thu Aug 13, 2020 3:08 pm

Usually, though not always, you can trust the peculiar stuff that Richmond proffers.

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7296
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing Troubles -- Will they ever end???

Post by dunbarx » Thu Aug 13, 2020 3:10 pm

Yes, I have tried both print card and print card into.

Again, the problem is only with the standalone. It works fine in developer's mode
I hear you. On the face of it, this should be sent to the team. If you cannot send the actual stack and standalone, can you duplicate the issue with a bit of Hebrew text in a new stack and a standalone made from that?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5246
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Printing Troubles -- Will they ever end???

Post by richmond62 » Thu Aug 13, 2020 5:00 pm

egolombek wrote:
Thu Aug 13, 2020 3:01 pm
Hmmm.... I have a general policy of not downloading .exe files. Can you tell me what I will find behind this curtain? Is this the standalone? Does it work?
There are a Mac standalone, a Windows standalone and a Linux standalone.

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

Re: Printing Troubles -- Will they ever end???

Post by egolombek » Fri Aug 14, 2020 5:07 am

I am happy to send a stack that demonstrates the problem... But... who is the team? And how do I send them something? :D

dunbarx wrote:
Thu Aug 13, 2020 3:10 pm
Yes, I have tried both print card and print card into.

Again, the problem is only with the standalone. It works fine in developer's mode
I hear you. On the face of it, this should be sent to the team. If you cannot send the actual stack and standalone, can you duplicate the issue with a bit of Hebrew text in a new stack and a standalone made from that?

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8280
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Printing Troubles -- Will they ever end???

Post by FourthWorld » Fri Aug 14, 2020 6:53 am

"The team" is the core development team at LiveCode LTD.

You can submit a bug report, with attachment, here:
https://quality.livecode.com/
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

Re: Printing Troubles -- Will they ever end???

Post by egolombek » Mon Aug 17, 2020 2:32 pm

So for humor value... here is how I am "solving" the problem so far.

It turns out that the issue with the Hebrew is that it will rearrange the punctuation. A period at the end of the sentence is bizarrely inserted before the final word. Dashes are moved to one word before the end, etc..

I discovered that if I surround each punctuation mark with very thin letters, and color them white, then the shifting of the punctuation will not occur and because they are white, they look as if spaces. It makes the text slightly off because even a very thin letter like an i takes up some space. Still, it's the best I got. Oh, and I also have to add two white words to the end of each sentence with a space before them. Seriously.

This is a bug that needs some serious attention.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”