Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DEVI TO PRINT?
Message
From
15/04/2009 15:59:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SET DEVI TO PRINT?
Miscellaneous
Thread ID:
01395046
Message ID:
01395046
Views:
131
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
Next
Reply
Map
View

Click here to load this message in the networking platform