Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: Esc40 hp li...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 3853 of 3953
Post > Topic >>

Re: Esc40 hp library

by klas.engwall@[EMAIL PROTECTED] (Klas Engwall) Mar 2, 2008 at 11:47 PM

Gary,

>I imagine I'll have to maintain a static variable for each of the
non-output 
>functions and include the codes in subsequent (with output) function
calls. 

Maybe we both mean the same thing, but just in case ... I think you
need to organize your page setup something like this:

1. Create a set/get function for each of those settings and store the
settings in static variables in those functions.

2. When you are ready to print actual data, call a PageSetup()
function that collects all the settings from all the set/get functions
(some of which may be empty() if they are not needed in a particular
print job) and sends those to the printer before the first data on the
page. Depending on what settings you have and how you eject/end each
page you may have to repeat the PageSetup() function at the top of
each page.

Also, some setting mey belong to the page setup and some to the print
job setup before the first page (tray selection, page orientation etc)

Hope this made sense :-)

Regards,
Klas

-------
klas dot engwall at engwall dot com

http://www.engwall.com/clipper/

The LFN Library for Clipper
The LanMan Library for Clipper
The NFPAT1A Timeslice release patch for the Nanforum Toolkit
 




 6 Posts in Topic:
Esc40 hp library
"Gary N Keefe"   2008-02-29 17:43:48 
Re: Esc40 hp library
klas.engwall@[EMAIL PROTE  2008-03-01 00:35:46 
Re: Esc40 hp library
"Gary N Keefe"   2008-03-01 10:16:41 
Re: Esc40 hp library
klas.engwall@[EMAIL PROTE  2008-03-02 23:47:28 
Re: Esc40 hp library
"Gary N Keefe"   2008-03-04 15:17:04 
Re: Esc40 hp library
klas.engwall@[EMAIL PROTE  2008-03-05 00:26:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 1:43:33 CDT 2008.