Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Problems
Message
De
28/02/2006 12:04:47
Jeff Mckay
Utah Department of Health
Salt Lake City, Utah, États-Unis
 
 
À
27/02/2006 16:04:07
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:
01099631
Message ID:
01099965
Vues:
11
I am running two different types of reports 1. Regular Foxpro Reports 2. Special Checks that requires me to make calls directly to the Dot Matrix printer. Everything works as it should until I print to the Dotmatrix printer using the @ Say command. Then after it is called, ALL Print jobs are Routed to the Dot matrix (which is on lpt1). if I change to a different printer on LPT1 it then routes all jobs to whatever is on LPT1

I need help in figureing out why it routes all print jobs to whatever is on LPT1 after I make this call.

As to your suggestion I have already tried all that and still no luck.





Original Message::
am confused. What report are you running? I only see @...say commands but no report form is run that I can see. What happens if you do the following:

lcprinter = SET('PRINTER',3)
set printer to name getprinter()
set device to print

*your code to do the @...says

SET PRINTER OFF
SET CONSOLE ON
SET DEVICE TO SCREEN
SET PRINT TO
SET PRINT TO
set printer to name (lcprinter)

does that work? In my experience, if the printer name does not match exactly the windows printer name, then VFP will print to the windows default printer.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform