Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Printer Properties Beta Testers Needed
Message
 
To
19/09/2005 04:52:28
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01050441
Message ID:
01050925
Views:
13
>I didn't know VFP 9 support that with SYS(1037,2), thank you.
>
>A small advice: Don't use sys(3) for temporary file names. If you do that in a shared folder, it can be reason filename violation problems. You might use sys(2015) instead of sys(3)
>
>
>
>>Have you ever wanted to change printer properties like duplex mode or the printer tray programmatically? I have a program available in a file called SetPrtProps.zip available for download from my site at www.peisch.com/downloads.html that can do this for you. It comes with a sample program of how to call the class that changes the orientation, paper tray, number of copies and duplex mode.
>>
>>Please note: This program requires VFP 9.
>>
>>I'd really love to get some feedback on this.

Yes, you're right. I shouldn't be using sys(3), but I'll use SUBSTR(SYS(2015),3) as Tore suggests. SYS(2015) returns a string starting with an underscore followed by a number, which is why you need to start with the third character, which is a letter.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform