Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP NOT RESPONDING when ??? used to output to printer
Message
From
09/12/2002 11:22:48
Angela Haws
Seminole County Tax Collector
Debary, Florida, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
VFP NOT RESPONDING when ??? used to output to printer
Miscellaneous
Thread ID:
00730939
Message ID:
00730939
Views:
86
Hello all. I have been experiencing problems when using ??? to output to the printer. Before I call my report created in VFP 7.0(which has been hacked of all printer driver inofrmation), I call my procedure below.
When I issue:
do pytpe with "SLIP", the appropriate printer is selected and prints fine.

When I issue:
do ptype with "PLAIN", is when I have the problem of VFP hanging up.

Procedure ptype
Parameters FormVar
Do Case
Case Formvar = "PLAIN"

??? Chr(27)+Chr(27)+"PTRN1"+Chr(27)+Chr(27) && printer #
??? Chr(27)+Chr(27)+"7" && select PRINTEK mode
??? Chr(27)+Chr(76)+"3" && select 1,3
??? Chr(27)+Chr(27)+"2" && select EPSON mode
??? Chr(27)+ "@" && Resets the form

Case Formvar = "SLIP"
??? Chr(27)+Chr(27)+"PTRN3"+Chr(27)+Chr(27) && printer #
Endcase
RETURN

What else is needed to get this report to print to a Triform (Epson) printer?
Please help!
Thanks, Angie
Next
Reply
Map
View

Click here to load this message in the networking platform