Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Error, New App, Crashes App
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00464893
Message ID:
00464999
Vues:
24
Hi Albert,
To answer your questions:

1: Yes, PROMPT brings up the printer dialogue. However you could use GetPrinter() also. That may help.

2: You might try setting the required printer as the default and then modify/save the report with the final printer setup. Then try running the report.

Otherwise you've tried most of the things I would have suggested :-((

Barbara

>Hi Y'all,
>
>I read through the many messages related to printing probs under VFP (I am at SP4) but still could not solve this one. New app for client going from a 2.6 app. Am issuing:
>
>REPORT FORM (lcReportName) TO PRINTER PROMPT NOCONSOLE
>
>Environment:
>Win 95 and Win98SE PC's with 128 mb ram, lots of hard disk; two different PC's as two users testing new app
>
>What happens:
>1) prints occasionally but usually not
>2) sometimes nothing prints
>3) sometimes user gets Windows error "Pure Virtual Function Call" in HPBFFB1.drv (the HP 4050T driver) and it crashes the app
>
>What I have tried:
>1) Updated HP 4050 driver to latest HP driver
>2) Tried to find a MSFT driver for above (as suggested by others in threads here) but MSFT just points to the printer manufactorers sites; the 98SE machine shows a driver in its built in list but cannot tell if HP or MSFT
>3) Tried HP 5 driver
>4) Tried HP 4 driver and seems better
>5) Tried nuking out the Exp, Tag and Tag2 fields from record 1 of the report as suggested here (no help)
>6) Tried printing after making sure the desired printer was the default in case it was some problem with it not being that (as users were switching printers from the printer dialog usually from their default)
>
>What I have searched for:
>1) "Pure Virtual Function Call" error; nothing on MSFT or here
>2) looked through lots of "printing error" messages but nothing similar to mine
>3) Searched for this error on HP to no avail
>4) Talked to HP support but got some guy who knew way less than me it seemed
>
>Questions:
>1) Is the "PROMPT" clause reliable for bringing up the printers dialog? The users want it because for this report, it needs special paper and they want to set the tray to manual feed
>2) If this is not reliable, do I have to programmatically set up the report
>
>Seems like it is a VFP error as opposed to a printer driver error since other apps (Word 97, Excel, Groupwise) all use the driver without probs.
>
>Thanks for the help,
>
>Albert
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform