Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer to name error
Message
From
20/01/2005 15:27:17
 
 
To
20/01/2005 14:53:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows NT
Miscellaneous
Thread ID:
00978912
Message ID:
00979033
Views:
9
I havneæt used ??? for many years, but I have read many messages about problems with ???. The best solutions seems to be to use a file:
SET PRINTER TO "dummyfile"
??? whatever
??? more whatever
.. other commands to the file
SET PRINTER TO NAME yourprinter
??? filetostr("dummyfile")
>The name is same as I was using. Even better, set printer to worked with the name I am using today!
>HOWEVER, when I try to send a character string that is 70000 char, it gives a syntax error.
>So I typed
>???left(xd,20000)
>???substr(xd,20001,10000)
>and got a syntax error on the second line! ???chr(12) did work.
>Any suggestions here? The printer did print the top of a special letterhead
Previous
Reply
Map
View

Click here to load this message in the networking platform