Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print command
Message
From
17/09/2007 09:04:10
 
 
To
13/09/2007 15:53:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01254171
Message ID:
01254682
Views:
24
>>>>None of these command produce any print.
>>>
>>>What file you try to print?
>>It is an epl file (label).
>
>How about:
>
>lcEPLFile = FILETOSTR([full path here])
>lcPrinter = GETPRINTER()
>IF NOT EMPTY(lcPrinter)
>   SET PRINTER TO NAME (lcPrinter)
>   SET PRINT ON
>   SET CONSOLE OFF
>   ??? lcEPLFile
>   SET CONSOLE ON
>   SET PRINT OFF
>   SET PRINTER TO DEFAULT
>ENDIF
>
It outputs garbage, nothing else.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform