Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Problems
Message
 
À
27/02/2006 15:35:22
Jeff Mckay
Utah Department of Health
Salt Lake City, Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01099634
Message ID:
01101397
Vues:
13
Why do you have to use @ SAY commands? Why not create report form (.FRX) for the check printing and do the checks that way?

-Don

>this is a difficult problem and I am not sure where to place it. I have a problem with printing after printing to a dot matrix printer.
>
>The Set is that I have two printers 1. Laser Printer 2. Dot Matrix printer. The laser printer is networked for printing standard reports. The Dotmatrix printer is connected through lpt1 on the computer and is used to print checks.
>
>I am able to print to the laser printer fine until I print to the Dot Matrix printer. Then at that point everything prints to the dot martrix printer (or more apporpriatly everything prints to whatever is on lpt1). The only way to get out of this is to restart the program and then works fine.
>
>for the code that calls the Dot Matrix Printer I follow the following format
>
>SET DEVICE TO PRINTER
>
>SET PRINTER TO NAME "printer name"
>
>@ ... Say ....
>@ ... Say ....
>@ ... Say ....
>
>Set printer to
>SET DEVICE TO SCREEN
>
>Steps taken to resolve
>
>1. Cleaned the printer infor out of the reports tag, tag2 and exp feilds
>2. Tried manually setting the printer back to the default printer when printing a regular report, I did this with a GetPrinter()
>3. Eliminated the Set Printer to Name "printer name" command to see what would happen, still sent job to the lpt1
>4. Eliminated the @ Say command and replaced with a ??? command for test and seemed to work fine
>
>I am now convinced that using the @ Say command is causing my problems, however I don't really have another option in this case.
>
>Is there away to release foxpro from defaulting everyting to LPT1
Don Knoup
don.knoup@ticomix.com
Ticomix, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform