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