Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FAQ 21202 Add/Delete Custom Printer Forms in W2K (Sergey
Message
 
 
To
20/05/2004 16:55:50
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00905754
Message ID:
00905835
Views:
19
Hi Tracy,

I don't have the dot matrix printer however printing to Epson Inkject works fine using your code.

>Sergey,
>
>I am experiencing something rather strange. I added my form 8.5x5.5 and gave it a name of Half-Sheet and it is selectable for the dot matrix printer. I stripped out all of the printer specific stuff in the .frx (like I usually do) and only added PAPERSIZE=167 to the EXPR memo field in the .frx.
>Now, when I print the report to the dot matrix printer it always prompts me for a file name and prints it to a file. Any idea how that happened? It happens even when I select the printer and papersize in MSFT Word.
>
>Just an update: I deleted the printer in windows and added it back. then I created a new form with the same size. I can print normally to the printer in VFP or WORD UNTIL I print using the new papersize. Once I do that, from that point on, no matter what papersize I choose (even letter) it prompts for a filename to print to. Even printing a test page prints to a file after the first time I use the new papersize.
>
>Here is the code I used:
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform