Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Printer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00788571
Message ID:
00790171
Views:
51
Cathy,

Thanks. I knew it would be tough.

As to the reminder, I have made a small prg (build()) which does all the things that need be done to make an exe. The reports thing is one of them.

I'll have another look at it one of these days. I'll post the answer when I find it.

Gregory
___________________

>I'm not sure what to tell you at this point. If you've removed all the printer-specific information from the EXPR field and blanked out the TAG and TAG2 fields .. then using REPORT FORM MyReport TO PRINTER PROMPT PREVIEW should prompt you for the printer and you should be able to pick any printer .. whether or not it's the default printer!!
>
>As a reminder .. once you blank out the TAG, TAG2, and EXPR fields .. please remember that if you go back and make any changes to the report .. you have to blank them out again!!
>
>Cathy
>
>
>>Cathy,
>>
>>Thanks for replying. I'm down to a point where I have just the ORIENTATION line left.
>>
>>I must say that the printer selected in the PROMPT popup is a network printer.
>>
>>Reading the kb articles, they say that removing tag, tag2 & expr is a way to have it print to the windows default printer. I would say they are right ;-)
>>
>>
>>>Besides clearing the TAG and TAG2 fields of the first record, you also need to edit the EXPR memo field and selectively get rid of any of the lines that are printer specific. For example, you can get rid of the DEVICE= line, but leave the ORIENTATION line.
>>>
>>>Cathy
>>>
>>>
>>>>Cathy,
>>>>
>>>>I'm having a strange problem. I'm using
>>>>
>>>>REPORT FORM somereport NOEJECT NOCONSOLE TO PRINTER PROMPT
>>>>
>>>>Tag, Tag2 have been cleared, expr contains 'DRIVER=winspool ... ORIENTATION=0'
>>>>
>>>>The strange thing is that when I run the report in development mode, I can direct the output to another printer
>>>>
>>>>In runtime however, the customer's output always goes to his default windows printer, whatever printer he selects in the PROMPT popup
>>>>I could not believe it. Have seen it via pcanywhere, have done it myself via TerminalServer (put two printers into pause printing and watch both the queues)
>>>>
>>>>I've spent most of the day on this
>>>>
>>>>If I do
>>>>
>>>>set printer to name NotTheWindowsDefaultPrinter
>>>>
>>>>after that (have not fully tested this) he can print to the printer selected in the PROMPT
>>>>
>>>>Does that ring any bell ? (vfp6sp5)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform