Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>I've found very weird behaviour of REPORT FORM to FILE command. VFP app runs long nightly batch and sometimes launches REPORT FORM to FILE command to create some files to be used later on. Usually, it works OK, but sometimes "Printer not Ready" error generated. I tested the case and found that REPORT FORM to FILE still needs some printer to be connected with PC and if PC loses connection to Net Printer the problem arises. Is it right behaviour? I cleaned up 'Report Definition' fields from FRX file but still get the same result: if I remove printer from Win Print Setting (no default printer) REPORT FORM to FILE generates nothing! Any ideas? TIA.
To do a REPORT FORM TO FILE either the printer defined at design time must be available or (if you cleaned up the printer definitions in the frx) a default printer must be installed. It's really the printer driver that contains the necessary printer control codes needed by VFP to generate the FILE.
Have you considered REPORT FORM TO FILE ASCII ?. which doesn't need any printer control codes.
HTH
Sorin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement