Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DEVI TO PRINT?
Message
De
15/04/2009 15:59:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SET DEVI TO PRINT?
Divers
Thread ID:
01395046
Message ID:
01395046
Vues:
133
Hi, friends.

Do case...

Case 1 (USB Printer at home)

SET PRINT ON
SET DEVI TO PRINT
SET CONSOLE OFF
SET PRINTER TO CNOTE.TXT

&& NO PROBLEM. Program creates a file named "CNOTE.TXT" and it remain in current directory. The note I want to print is printed correctly

Case 2 (USB Printer at home)

SET DEVI TO FILE CNOTE.TXT
SET CONSOLE OFF

&& NO PROBLEM like Case 2

Case 3 (Paralell Printer at my client's office)

SET PRINT ON
SET DEVI TO PRINT
SET CONSOLE OFF
SET PRINTER TO CNOTE.TXT && "Printer not ready"

&& No file TXT is created in any directory and. finally the note I want to print is printed on the printer and the screen

Case 4 (Paralell Printer at my client's office)

SET DEVI TO FILE CNOTE.TXT && "Printer not ready"
SET CONSOLE OFF

&& No file TXT is created... and so...

ENDCASE

Anyone knows where I'm wrong?

As I don't have a paralell printer at home to crush it I hope my error is very evident so any of you can see it.

Thank you.

Héctor
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform