1) Is there an Enum that will give the descriptive constants and values from
the selected printer instead of just the value?
2) Will setting the page length and width, by passing PaperSize be a better
approach given the above?
Ultimately I will use SetPrinterOptions to give the data to the printer.
Anyone have any experience with this?
Thanks,
Jack
Using P10
Take a look at
http://www.thedbcommunity.com/code/print1.htm
Rick Kelly has written a series of articles on controlling the printer
using Windows API.
--
Bertil Isberg
CTECH
FAQ newsgroup: corel.wpoffice.paradox-faq
Paradox Buglist: http://w1.826.comhem.se/~u82608896/
remove spamfilter (reversed) to reply
Not an Enum that I know of but I guess it should be possible to find the
right constant by setting it manually as the default paper size and then use
PrinterGetOpions().
> 2) Will setting the page length and width, by passing PaperSize be a
> better approach given the above?
I think only you can answer that question bu testing yourself. When it comes
to printer issues it is often so many things that interact that testing is
the only sure way.
>
> Ultimately I will use SetPrinterOptions to give the data to the printer.
>
Why? As you are running P10 I think you should give the new print syntax
with the reportprintinfo in the form of a dynamic array a chance. Maybe it
will do what you want.
Anders
thanks
"Anders Jonsson" <g...@takethisawaybredband.net> wrote in message
news:417960ad$1_2@cnews...
> 1) Is there an Enum that will give the descriptive constants and values
> from the selected printer instead of just the value?
Try "constantValueToName ( const groupName String, const value AnyType, var
constName String ) Logical"
and look in the Reference Manual for groupName-constants (PrinterSize
constants included).
Egbert, 15:51 in Germany