Normal Topic @PrintAForm oddity (Read 785 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
@PrintAForm oddity
Oct 12th, 2007 at 2:23pm
Print Post Print Post  
I have some programming that prints my Customer information form.  The top of the form looks like this:
http://www.jamiara.com/cust-form-top.jpg.
The design of the form sets the visibility of the Lookup element, the yellow button, and the red button to "Only when not printed", and that works fine.  The visibility of the static text "Customer Listing" is set to Visible (true).  HOWEVER, this text does not print on my printout and I have no idea why.  Is there something special about static text elements that would cause them not to print?

Also, I have found that the show_dialog settings are reversed.  That is, when I specify PRINT_NO_DIALOG, the dialog box pops up, and when I specify PRINT_WITH_DIALOG the dialog does not appear.  I have examined the sbasic_include.sbas file and see that the #define numbers do not agree with those listed in the manual, nor do the ones for PRINT_NO_BACKGROUND and PRINT_WITH_BACKGROUND, though I have not tested these.  Is this just my local file or does the distributed sbasic_include.sbas file need to be corrected?

Update:  Search shows that we discussed this last April.  I fixed mine then, but when I downloaded the sbas file again last June the errors carried through again.  The sbas file needs to be corrected.
  

**
Captain Infinity
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: @PrintAForm oddity
Reply #1 - Oct 12th, 2007 at 2:42pm
Print Post Print Post  
Update:  The "Customer Listing" static text prints when I set PRINT_WITH_BACKGROUND (using a corrected sbas file).  Are all static text elements considered background, or did I do something special with this one and forget I did it?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: @PrintAForm oddity
Reply #2 - Oct 12th, 2007 at 3:00pm
Print Post Print Post  
Hey Scott,

What happens when you print white text with a black background without the black background on a piece of white paper?

Ben is writing up the change needed to the INI file as we speak. It appears the Sbas file got reverted to an older one after this was fixed back in April.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: @PrintAForm oddity
Reply #3 - Oct 12th, 2007 at 3:03pm
Print Post Print Post  
Quote:
What happens when you print white text with a black background without the black background on a piece of white paper?

D'oh!
Quote:
Ben is writing up the change needed to the INI file as we speak. It appears the Sbas file got reverted to an older one after this was fixed back in April.

Why do you need to change the INI file?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: @PrintAForm oddity
Reply #4 - Oct 12th, 2007 at 3:08pm
Print Post Print Post  
Quote:
Why do you need to change the INI file?


Because at least in the 2.0.3 Distro's that I checked the lines are as follows

Code
Select All
#define PRINT_NO_DIALOG			1
#define PRINT_WITH_DIALOG		0
#define PRINT_NO_BACKGROUND		1
#define PRINT_WITH_BACKGROUND		0 



But they should be

Code
Select All
#define PRINT_NO_DIALOG			0
#define PRINT_WITH_DIALOG		1
#define PRINT_NO_BACKGROUND		0
#define PRINT_WITH_BACKGROUND		1 



-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: @PrintAForm oddity
Reply #5 - Oct 12th, 2007 at 3:09pm
Print Post Print Post  
That's the sbas file, not the INI, right?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: @PrintAForm oddity
Reply #6 - Oct 12th, 2007 at 3:11pm
Print Post Print Post  
Now it's my turn to go D'OH! I think I need to go get a pot or two of coffee.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged