Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: Lucian Ilea
  Where is Lucian Ilea?
 Alba Iulia
 Romania
 Lucian Ilea
 Tags
Subject: RE: Error loading printer driver
Thread ID: 208549 Message ID: 209444 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Sunday, December 28, 2008 10:40:14 PM         
   


> >
> > Hi
> > you can bypass that by this code. If there is at least one printer the code is executed else not executed.
> >
> > IF APRINTERS(gaPrinters) > 0  
> >  REPORT FORM My_report.frx NOCONSOLE TO PRINTER PROMPT NODIALOG PREVIEW OBJECT TYPE 1
> > ELSE  
> >    WAIT WINDOW 'there is no available printers.'
> > ENDIF
> > 

> > regards
>
>
> Thank you. But is there a way of installing a printer (any printer) using code?
>
> All best,
> Lucian Ilea
>
> PS: Happy holydays to you and your families

Hi merci and happy new year to you and your families also.
Printer is detected by the system who asks after drivers for it and install it.

Regards

ENTIRE THREAD

Error loading printer driver Posted by Lucian Ilea @ 12/19/2008 1:02:09 PM
RE: Error loading printer driver Posted by Borislav Borissov @ 12/19/2008 1:05:42 PM
RE: Error loading printer driver Posted by Zeyad Jammal @ 12/21/2008 1:00:12 PM
RE: Error loading printer driver Posted by Yousfi Benameur @ 12/21/2008 3:31:30 PM
RE: Error loading printer driver Posted by Lucian Ilea @ 12/27/2008 10:44:49 PM
RE: Error loading printer driver Posted by Yousfi Benameur @ 12/28/2008 10:40:14 PM
RE: Error loading printer driver Posted by Jun Tangunan @ 12/21/2008 11:48:11 PM