Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00788571
Message ID:
00790149
Vues:
54
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)
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform