Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FAQ 21202 Add/Delete Custom Printer Forms in W2K (Sergey
Message
From
21/05/2004 08:44:14
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00905754
Message ID:
00905960
Views:
24
Thanks Sergey, I think I'll see if anyone with a dot matrix printer (preferable an Okidata ML 320 or similar) receives the same functionality or if it is just my system...

Tracy

>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>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform