Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2.5 DOS app not printing in Windows XP
Message
From
26/09/2005 10:35:56
 
 
To
26/09/2005 09:40:41
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
01010135
Message ID:
01053051
Views:
15
Nobody changed the printer. This is Dell All in One Photo 962 printer and all reports are .FRX.


>Did you by anychance change printers as well? Were you printing to this printer before in the program and if so, did you try a different printer driver? Is the report an .frx or is it a report created in code using @...say or ?? If the report is not an .frx, if the printer is new, is the printer a GDI printer by anychance?
>
>
>>Thanks, John
>>Tried to do the same way and the only success I've got - printing blank pages.
>>This is from the system that works perfectly for the last 7 years.
>>Before I did command you reccomened, nothing was happened at all.
>>What do you think.
>>TIA
>>Jerry
>>
>>>Hi Jerry,
>>>
>>>I created two simple batch files. One tells the machine to print to the server's printer (you would change "\\server\Okidatam" to the location of your server's printer):
>>>
>>>@echo off
>>>echo Disconnecting LPT1 from any other connections
>>>net use lpt1 /delete
>>>echo Rerouting printing to \\server\Okidatam
>>>net use lpt1 \\server\Okidatam
>>>pause
>>>
>>>And the other tells it to break that connection so it goes back to printing locally:
>>>
>>>@echo off
>>>echo Disconnecting from the Server's printer
>>>net use lpt1 /delete
>>>pause
>>>
>>>Good luck!
>>>
>>>>Hi, John
>>>>I have a similar problem. Can you please, put some details of the trick.
>>>>Thanks
>>>>Jerry
>>>>
>>>>>Did the trick. I mapped his USB printer to LPT1 using NET USE and everything is fine. Much appreciated!
>>>>>
>>>>>>You've to share USB printer and than map the share to LPT1.
>>>>>>
>>>>>>>The printer he's trying to use isn't on our network - it's connected directly to his notebook via a USB port. Would your answer still work? Mapping the computer to his LPT1 using the NET USE command for a printer that's directly connected to the notebook via USB?
>>>>>>>
>>>>>>>>You've to use NET USE command to map LPT1 to the network printer queue. For Exapmle
NET USE LPT1 \\PrintServer\PrintQueue
>>>>>>>>
>>>>>>>>
>>>>>>>>>I've got an old FPD 2.5 application that's running on our XP network. The app runs just fine, but when the user tries to print anything, nothing happens. Their printer is set up properly, as they're able to print from other apps (Microsoft Office, etc.), but not from this FPD app. I look at the printer, and it doesn't show any jobs out there, so it's as if the job isn't being sent to the printer at all. The code hasn't changed in years, so their shouldn't be any problems programmatically.
>>>>>>>>>
>>>>>>>>>Any suggestions as to what I can look for?
>>>>>>>>>
>>>>>>>>>Thanks very much!
>>>>>>>>>
>>>>>>>>>John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform