Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: David Mustakim
  Where is David Mustakim?
 Jakarta
 Indonesia
 David Mustakim
 To: Arjun/Sangeeta Yadav
  Where is Arjun/Sangeeta Yadav?
 kolkata
 India
 Arjun/Sangeeta Yadav
 Tags
Subject: RE: How to list and select Printer
Thread ID: 395916 Message ID: 395919 # Views: 55 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Tuesday, January 21, 2014 11:10:02 AM         
   


> Hi Experts,
>
> There are two printers attached with a system 1. Dot Matrix 2. Inkjet
> The application has some printing option with dotmatrix and some with inkjet.
> what i want to acheive is that whenever user select a report a popup list appear with the name of printer
> like
> DOT MATRIX
> INKET JET
>
> and upon selection from the listbox/combobox it makes that printer degault and print accordingly.
>
> Please help me how to acheive this.
>
> any code in this regard will be helpful.
>
> Thanks & Regards


You should press the F1 key of your keyboard more often and read thereafteer that the command REPORT FORM printFormName TO PRINTER... has a clause PROMPT to easily answer your question... Before sending a report to printer you actually could also pre-set the destination printer programatically with "SET PRINTER TO NAME printerName" command ...

Regards,
David

ENTIRE THREAD

How to list and select Printer Posted by sangeeta yadav @ 1/21/2014 10:54:19 AM
RE: How to list and select Printer Posted by David Mustakim @ 1/21/2014 11:10:02 AM
RE: How to list and select Printer Posted by sangeeta yadav @ 1/21/2014 5:00:45 PM
RE: How to list and select Printer Posted by Tore Bleken @ 1/21/2014 11:14:19 AM
RE: How to list and select Printer Posted by sangeeta yadav @ 1/21/2014 5:01:14 PM
RE: How to list and select Printer Posted by Pete Sass @ 1/21/2014 11:28:37 AM
RE: How to list and select Printer Posted by sangeeta yadav @ 1/21/2014 5:02:00 PM
RE: How to list and select Printer Posted by Paul Gibson @ 1/21/2014 12:56:59 PM
RE: How to list and select Printer Posted by sangeeta yadav @ 1/21/2014 5:02:48 PM