One of our user's had their PC upgraded to Win2000 when their hard drive crashed. Now the application won't print any of the reports on the legal paper like it does in Win98. Has anyone else run into this problem and what's the solution?
If memory serves (and it may not) Paradox 8 relied on the printer driver to accurately document the paper trays correctly. In some cases, this didn't happen, so you basically needed to fiddle with the values assigned to the PaperSize member of the dynarray used in the thrid variant of Report.print(), e.g. the one that accepts a dynarray of settings.
Now, it's possible that this variant was added later in the product cycle; that is, in either Paradox 9 or 10. (I only have v10 installed on this machine).
If so, then you'll need to set the tray setting in the print driver (using PrinterSetOptions). In some versions of Paradox (7.0 and earlier, I belive), you had to do this while the report was opened (or loaded) in order to update the settings vaed in the Report.
I'm not sure which of these options will serve your needs, but I believe one of them will.
Thanks for the help. I've tried the settings with printersetoptions and the dynarray and printeroptioninfo and I can't get the printer to grab from the legal tray with Win2000. It works perfectly fine in Win98 so it must have something to do with Win2000 printing.
Not necessarily. Remember that 2000 is essentially NT, which has very different API's than 9.x. If, for example, you're not using an NT-specific driver, you may not have full access to your printers capabilities.
I don't have access to a printer with a legal tray, but I'll see if I can't some up with something useful.
Thanks for the help. My thinking right now is that our tech guys have not learned enough about the printer queues in Win 2000 and so our printers aren't set up properly. If we figure out what the problems are, I'll post the results. Thanks again,
Jeff.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.