Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Problems
Message
From
28/02/2006 13:28:31
 
 
To
28/02/2006 12:04:47
Jeff Mckay
Utah Department of Health
Salt Lake City, Utah, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01099631
Message ID:
01100001
Views:
15
Can you post the exact code you use when you print to the dot matrix printer using @...say then? We have an app that prints both frx reports and output via prgs using @...say and ??? (depending on the report) that switches printers constantly. This is deployed at hundreds of sites where the customers have laserjet and Okidata dot matrix printers (always both) and we do not experience that problem.



>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.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform