Printers
Problem for Printers
Generic problem for all Printers

Dos command print in USB printer




By sahadevameno on Mar 20, 2009

" "
hello sir,

I have a TVS dotmatrix printer and its connectivity is USB. I used the foxpro based programe. I am not able to take the print in this printer. please help me.
Comments:

Mar 21, 2009

- i alredy do the net use command. but not use.

Solution #1

posted on Mar 20, 2009
Somewhat Helpful)

dcolvard

Rank: Guru 
Rating: 92%, 67 votes
Try this.
You can share the printer and then run a command like:
net use lpt1: \\servername\printername

I think you can go one step further even and add /persistent to the end to make it more permenant.

This will allow your program to send a print job to lpt1.

If you need further explanation of this let me know.
Good Luck
Comments:

Mar 21, 2009

- fox pro is a dos based application. the net use command should work. Just in case my instructions were not clear enough. Here is a link to microsoft's instructions http://support.microsoft.com/kb/314499

Good Luck

Mar 21, 2009

- Also if you want to make sure the command was done correctly you can open a command window and type "net use" it should show your printer mapped to lpt1.

Also another way to test if the port is working correctly you can create a generic test.txt file in drive c:\ with some text like this is a test.

Then from a dos command window type the following command

print /d:lpt1 c:\test.txt


If it is done correctly your test doc will print.

Mar 22, 2009

- This might work

On the web you can find utilities that can capture Dos applications output and transform it to other format or spool it to Windows printers, like the following:

http://www.guolo.com/printfil/adveng.htm

It isn't freeware, however a trial version is available for download for testing purposes.
Was this helpful?
Yes
No

Popular Solutions for Printers


Questions and Unsolved Problems for Printers


Answer
brother color wireless mfc laser

Answer
hp laser printers with zerox ,scanner, printing

Answer
Dell 5210 Use to print library barcode labels and spine labels. I print maybe 2 or 3 at a time so... (More)

Answer
I would like to use my scanner function to scan something into a file that I can save and then via... (More)

Answer
My check printer cartridge keeps blinking for no reason. I didn't try to change them or anything... (More)


Didn't find what you were looking for?

Describe your Printers problem:

Select a Category:







Ask our Experts

 

Solve Your Problem Now!
Chat Live with an Expert
Chat Now
Top Printer Experts



Top Printer Repairmen

(800) 836-9287
Celebrating 14 Years Of Outstanding Printer Repair...
Laser Repair 911

(918) 583-5483
Elite printer Services, Inc. is a full service HP...
Elite Printer Services


       
Solve Your Problem Now!
Chat Live with an Expert
Chat Now

Insert Link

What is this?



Select


close

Add to My Products

Add the things you own to your My Products collection and get product information, solutions to problems, manuals & guides, tips and how-to's, reviews & ratings and local repair service - all in one easy place.


Step 1: Select a category & subcategory

 
Step 2: Select a product and click on add
I can't find my product

select

close
Success!

Add another product
Close
close
Save This Product

Enter your email address

We will not share your email. Privacy Policy

I agree to the FixYa Terms of Use

    
Send to friends
Send to: (e.g. Julie@email.com)
(Separate email adresses with commas)
Your name:
Your email address:
Message: