Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROMPT after TO PRINTER prints in extremely small
Message
From
17/01/1997 18:18:34
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00017494
Message ID:
00017734
Views:
72
>>
>> >>I uses Windows NT
>> server 3.51 be a file server,Apple LaserWriter Select 360 be a shared
>> printer.When I print a report from Visual FoxPro by using REPORT FORM...TO
>> PRINT PROMPT,a dialog shown up let me select no of copies to be printed is
>> nice.But the printout is extremely small.What's going on ?
>> >>This situation does not exist when PROMPT clause is ignored.
>> >
>> >I have the same problem. The following was sent to me by Craig Berntson
>> previously: "There is a bug with VFP 5.0 when using reports converted from
>> VFP 3.0 and using the PRINTER...PROMPT command. MSFT has not entirely
>> acknowledged this bug. The fix is to not use PROMPT."
>> >
>> >I have used the following code to no avail also. It works but no matter
>> what printer they choose, reports still print to their default printer:
>> >
>> >jcPrinterChosen = GETPRINTER()
>> >
>> >IF EMPTY(jcPrinterChosen)
>> > RETURN
>> >ENDIF
>> >
>> >SET PRINTER TO NAME (jcPrinterChosen)
>> >
>> >REPORT FORM report1 NOCONSOLE TO PRINTER
>>
>> Use SYS(1037) to change the printer.
>>
>> Craig
>
>Craig,
>
>(eh ... nothing personal really :-).
>
>Is not the behaviour described by Richard due to the fact that the
>report module overwrites the printer set in the set printer statement?
>
>For those reports where I want the user to print on the network printer
>of Fax that he wants, I empty out the EXPR, TAG and TAG2 fields of the
>first record of the reports .frx.
>
>Marc

That could be. However, I have not had much luck with SET PRINTER TO NAME. SYS(1037) has worked flawlessly.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform