Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO doesn't work?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00124375
Message ID:
00128457
Views:
24
>set printer to should work; however, REPORT FORM MyReport TO PRINT PROMPT works better--the user can pick the printer. If you want it to be a specific printer, try this:
>
>(Where SPECIFICNAME is the name of the printer to which you want to print)
>
>mPrtr =ASCAN(aPrintall, [SPECIFICNAME])
>
>* at this point, if mPrtr is 0, you would warn the user that the printer doesn't exist
>
>mPrintName =aPrintall(mPrtr)
>SET PRINTER TO NAME (mPrintName)
>
>JR
>
>>VFP5a SET PRINTER TO doesn't work? Or is there a trick somewhere? The print driver always ended up to a particular driver despite issueing the command.

I used REPO FORM TO PRINTER PROMPT , and also used _MFI_SETUP in the sys(1037) to activate the page setup dialog box. but the preview doesnot show 132 col, it always shows 80 col.
Previous
Reply
Map
View

Click here to load this message in the networking platform