Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Printer
Message
From
16/05/2003 11:06:16
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00788571
Message ID:
00789249
Views:
49
use sales.frx
repl tag with ""
repl tag2 with ""

yourprinter="HP laserjet"

repl expr with ;
"DRIVER=winspool;
DEVICE=&yourprinter ;
OUTPUT=LPT1:;
ORIENTATION=1;
PAPERSIZE=9;
COPIES=1"

you can learn printer names with aprinter()
orientation= 0 - portrait 1-landscape

you can learn legal papersizez from vfp help - prtinfo()

also vfp8 has a new property. in report screen you can unmark printer info bar from report menu. so you can select printer after from printer dialog.
Previous
Reply
Map
View

Click here to load this message in the networking platform