Normal Topic 2-Page forms and PrintString() (Read 729 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
2-Page forms and PrintString()
Mar 20th, 2007 at 5:30pm
Print Post Print Post  
I've mastered PrintString() enough that I'm able to print some nice looking Invoices.  Now I've come to my Workorder forms.

These are 2-page forms, with the top page containing all the info the Riggers need to do the job, and the bottom page being a legal Bill Of Lading they need to carry machinery over the road.

Which would serve me better, setting my page size as 850, 2200 and measuring everything from the top of the first page to determine my Y coordinate, or using two NewPage()/FinishPage() structures on the same "Print Workorder" command button?  My main concern is that everything flows correctly onto the page.  Some of the stuff that needs to print on page 2 is quite close to the top of the paper, so if FinishPage() introduces a little "push" before the next page begins, that might be a problem.  I haven't experimented yet, but if anyone has experience with this I'd appreciate your insight.
  

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



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: 2-Page forms and PrintString()
Reply #1 - Mar 20th, 2007 at 5:34pm
Print Post Print Post  
Infinity wrote on Mar 20th, 2007 at 5:30pm:
if FinishPage() introduces a little "push" before the next page begins, that might be a problem.

It shouldn't matter since you can dictate a specific coordinate for the first line anyway, making it start wherever you want.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
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: 2-Page forms and PrintString()
Reply #2 - Mar 20th, 2007 at 5:35pm
Print Post Print Post  
Hello,

You'll have to use 2 NewPage()/FinishPage() structures. If you just specified 850, 2200 as the page size it would split one piece of paper into 2200 units tall by 850 units wide.

-Ray
  

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



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: 2-Page forms and PrintString()
Reply #3 - Mar 20th, 2007 at 5:37pm
Print Post Print Post  
Plus what Ray said.  Grin
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
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: 2-Page forms and PrintString()
Reply #4 - Mar 20th, 2007 at 5:38pm
Print Post Print Post  
Thanks guys!
  

**
Captain Infinity
Back to top
IP Logged