Re: 4D Write Preview Fails on certain workstation (Windows)

2020-03-06 Thread Peter Jakobsson via 4D_Tech


> On 6 Mar 2020, at 18:21, Costas Manousakis via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> We have not seen a blank preview but shrunk previews where it seemed like the 
> normal letter size page was printed, then reduced in size and then placed on 
> a letter size paper

Thanks for the reply Costas !

Actually I spent some time trying to debug it in interpreted mode on the 
workstation concerned and made some progress. It seems to be to do with 
embedded expressions and the document content. When I removed a certain 
expression (a 4D method I use to populate the document with ‘merge’ data) the 
document became visible so it might not be the preview at all.

It’s as if the logic that generates the content works differently on that 
client. Maybe it got coronavirus.

Peter

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Preview Fails on certain workstation (Windows)

2020-03-06 Thread Costas Manousakis via 4D_Tech
Hi
We have not seen a blank preview but shrunk previews where it seemed like the 
normal letter size page was printed, then reduced in size and then placed on a 
letter size paper.  Found out it had something to do with windows screen 
scaling for better viewing. Users had changed the screen scaling in their 
settings instead of changing the resolution.  I m not sure if that is the cause 
for your case but maybe related.  
Have you checked to see what the actual pixel width and height is of the 
generated picture? 

We ve also seen text disappear due to hidden characters when stuff was copied 
into 4d write areas from Word but that was when Mac users were printing 
documents generated by windows users.

Not sure if this helps any, I just feel your pain with weird cases like that 

Regards 
Costas 

> On Mar 6, 2020, at 6:02 AM, Peter Jakobsson via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Hi
> 
> I was wondering if anybody had encountered this issue.
> 
> 4D Write document preview (created using "WR Build Preview”)  displays a 
> blank picture only on one workstation on the entire network (there are 8 
> workstations). There is nothing obviously distinct about that workstation:
> 
> 4D v15 (Client-server)
> Windows 10 Pro
> Intel Core i7-7700 3.6 GHz
> 
> I might try "myPicture:=myPicture|myPicture” to create a bitmap and try 
> displaying that. The preview is transient - does not get stored anywhere. The 
> funny thing is that one type of document displays ok. The other’s don’t so it 
> may be some bad character embedded in the document, however they all display 
> fine on all other workstations.
> 
> If anybody has seen this I’d appreciate any hints !
> 
> Regards
> 
> Peter
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Write Preview Fails on certain workstation (Windows)

2020-03-06 Thread Peter Jakobsson via 4D_Tech
Hi

I was wondering if anybody had encountered this issue.

4D Write document preview (created using "WR Build Preview”)  displays a blank 
picture only on one workstation on the entire network (there are 8 
workstations). There is nothing obviously distinct about that workstation:

4D v15 (Client-server)
Windows 10 Pro
Intel Core i7-7700 3.6 GHz

I might try "myPicture:=myPicture|myPicture” to create a bitmap and try 
displaying that. The preview is transient - does not get stored anywhere. The 
funny thing is that one type of document displays ok. The other’s don’t so it 
may be some bad character embedded in the document, however they all display 
fine on all other workstations.

If anybody has seen this I’d appreciate any hints !

Regards

Peter

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**