Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows XP and Dot Matrix printers
Message
From
10/07/2002 09:16:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/07/2002 09:11:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00676715
Message ID:
00677012
Views:
33
>That is how we did it on literally hundreds of reports up until recently. However, many of our customers (we have around 700-1000 at any given time) are now purchasing GDI printers (or they come with their new systems) so we are converting our reports (sheesh, what a task!) to VFP reports using the report writer to accomodate both the older dot-matrix printers that use perforated halfsheets and laserjets and GDI printers. Using a report generated with the VFP report writer, I cannot set the page size to anything other than predefined form sizes in windows 2k and XP unless I setup a new form in windows on all OS versions that our customers use. I need to be able to do this programmatically from within VFP so the form exists in windows before they attempt to print the report after it has been redone using the report writer. For instance, if the customer is printing to a laserjet, then I want the pagesize to be letter, but if the customer is printing to halfsheets on a dot-matrix,
>then I want the papersize to be 8.5X5.5. Any ideas? All accommodating reports generated using the vfp report writer, not sending codes to printers as GDI printers don't accept codes.

Get rid of the "GDI crap". No, really I have no clear idea how to solve this.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform