Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why won't Pdox8 print from legal tray in Win2000?

Status
Not open for further replies.

Jl8jeff

Programmer
Nov 6, 2003
3
US
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?
 
Jl8jeff,

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.

Hope this helps...

-- Lance
 
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.
 
Jl8jeff,

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.

Hopeing to help...

-- Lance
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top