Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to remove bad printinfo from expr field from report
Message
From
27/03/1998 16:25:16
 
 
To
27/03/1998 16:20:01
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00087827
Message ID:
00087829
Views:
33
>expr field in first record of report for HPLJ 4L printer looks like:
>
>DRIVER=WINSPOOL
>DEVICE=HP LaserJet 4L
>OUTPUT=\\Marek\hp
>ORIENTATION=0
>PAPERSIZE=9
>COPIES=1
>DEFAULTSOURCE=1
>PRINTQUALITY=300
>YRESOLUTION=300
>TTOPTION=2
>
>To print report properly, some lines of this info (DEFAULTSOURCE=)
>must be removed,
>otherwise when printing to some other printer, e.q. HPLJ 4P printer will try to select always incorrect (upper) tray!
>But some lines (ORIENTATION=) must be remain untouched because they are set by report design!!
>
>Can somebody provide generic code to remove bad information from this
>field? Some lines must be removed while some others not.
>Can Tag and tag2 fields be blanked completely in first record?
>Maybe to add this removing to genrepox?

Tag,tag2 fields should be blanked completely. In Expr field delete driver/printer specific information (IMO, first three lines). I think it's better to do it manually.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform