Pdox Win 5.0 - Pick a printer for a Report - How? 
Author Message
 Pdox Win 5.0 - Pick a printer for a Report - How?
If I want a user to print to a specific printer, I believe they have to use File,
Printer Setup and highlight the desired printer, before they produce the report.

After they produce the report, the print dialog box appears, they can pick the # of
copies but not a printer from this box. I would like them to be able to pick a
printer from that box (like a normal windows app does), any ideas?
karen reardon



Sun, 28 Dec 1997 03:00:00 GMT
 Pdox Win 5.0 - Pick a printer for a Report - How?

        You could make your own box by EnumPrinters, showing
the person the list of printers, allowing them to select it, then
Printersetcurrent'ing to that printer.

--
Paradox for Windows Consultant. Member: Borland Paradox Technical Support
            Web Page being relocated- want to provide space?

Borland supplied disclaimer: The services I provide via this message
and all consulting services I may provide are in no way associated with
or sponsored by Borland International or any of its subsidiaries.



Mon, 29 Dec 1997 03:00:00 GMT
 Pdox Win 5.0 - Pick a printer for a Report - How?

Quote:

>If I want a user to print to a specific printer, I believe they have to use File,
>Printer Setup and highlight the desired printer, before they produce the report.
>After they produce the report, the print dialog box appears, they can pick the # of
>copies but not a printer from this box. I would like them to be able to pick a
>printer from that box (like a normal windows app does), any ideas?
>karen reardon

Karen,

        EnumPrinters will fill an array with the printers available on your
machine or network.  I attached a form that i made for this purpose as
an example.

                                        Jack



Tue, 30 Dec 1997 03:00:00 GMT
 Pdox Win 5.0 - Pick a printer for a Report - How?
The following can be used in as a menu option            
var
mainMenu Menu;
printPop PopUpMenu
endvar

printPop.addText("PrinterSetup",MenuEnabled,MenuFilePrinterSetup)
mainMenu.addPopUp("&Print\t", printPop)

-----------
there are many ways but the key word is MenuFilePrinterSetup
look it up.
It allows the user to set which printer they want to use during that
session or until it is changed.

good luck.



Tue, 30 Dec 1997 03:00:00 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. Pdox Win 5.0 Printer Layout Prob

2. Pdox Win 5.0 VS dbase win 5.0 transactions

3. Installing PDOX for Win 5.0 in Win 95?

4. Another Pdox 5.0 printer problem

5. Pdox for Win 4.5 Runtime messes Pdox for Win 1.0

6. Win 5.0 Graph hatching patterns on HP printers

7. Printer switching problems in Paradox Win 5.0

8. Pdox 4.5 DOS, 5.0 Win and NT4 Problems

9. Mini Word Processor in PDOX WIN 5.0?

10. Weird Pdox 5.0 behavior under Win '95

11. Default date Format - Pdox Win 5.0

12. Export - Pdox 5.0 Win 3.x


 
Powered by phpBB® Forum Software