Versions des environnements
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
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