Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Arjun/Sangeeta Yadav
  Where is Arjun/Sangeeta Yadav?
 kolkata
 India
 Arjun/Sangeeta Yadav
 To: Tore Bleken
  Where is Tore Bleken?
 Stokke
 Norway
 Tore Bleken
 Tags
Subject: RE: How to list and select Printer
Thread ID: 395916 Message ID: 395938 # Views: 33 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Tuesday, January 21, 2014 5:01:14 PM         
   


> > 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
>
>
> lcPrinter = getprinter()
> if !empty(lcPrinter)
>    set printer to name lcPrinter
> endif

>
> There's a fine line between helping and adding to the confusion.
>
> How to create sample data


Thanks for your prompt reply

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