Totzkeeeeee's Blog

Just because I can...

  Home  |   Contact  |   Syndication    |   Login
  196 Posts | 4 Stories | 303 Comments | 324 Trackbacks

News


My blog is worth $14,678.04.
How much is your blog worth?

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Blog Roll

Cool Sites

Scott Hanselman has a post on his weblog about getting a shared network printer to work in DOS.  That's not really all that tough and actually got me thinking about a similar experience I had recently.

In my previous job I had the great misfortune of having to support a DOS based point-of-sale application.  When you sell stuff, you need to give out receipts.  We used the nice little T-88's from Epson.  Very nice little units that were fairly reliable.  When it came time to buy some more, I chose to go with the USB interface rather than parallel because hey, it is the 21st century after all. 

What I forgot about was the fact that DOS doesn't know a gosh darn thing about USB.  With parallel, it's easy.  IJW.  Even if you want to use a network printer it's dead simple.  Prior to Windows XP you can just go into the printer properties and there's a little button there to capture the printer port and map it to a network printer.  In XP you have to know the NET USE command to make it go as the GUI interface disappeared.  Odd that.

But what do you do when you don't have the printer connected to the parallel port and you're in a stand-alone type of scenario?  Now, the first thought you have is that you'll just share the printer and then use the old NET USE command to capture the printer port and map it to the USB printer.  QED.  This works.  Well, at least it works in the office.  Where I happened to have the POS computer plugged into the network to load the software and apply updates etc.  But once you disconnect the network cable, the network goes away and so does your shared printer.  It doesn't matter that the shared printer is connected to that very machine because as far as Windows is concerned it's on the network and the network has packed it in.

My initial solution to at least get the new store up and running was to simply give them a small 4 port hub to plug into.  Windows doesn't care if there are other computers to talk to on the network, so long as the network has punched in and is on the clock.  This, as you are no doubt thinking, is a less than an optimal solution. 

It's funny the things you forget about or at least put into the deep-archive, tape backup of the mind.  I put the issue aside for a few days but it was always nagging at my mind and then one day my wet-ware mainframe finally dredged up something from the archive.  LOOPBACK ADAPTER it flashed across my mind.  Five or six years ago that would have been the first obvious solution.  Sure enough, it's still around in XP. 

For the kids out there, the Microsoft Loopback Adapter is basically a software based network adapter that simulates a live network.  It was designed for this very purpose.  Testing network functionality in the absense of a live network.  Anybody out there remember the PWS on Win95?  (that's personal webserver - and you could even do ASP on it) Packets basically travel up and down the TCP/IP stack through the adapter and get fed right back to you.  So now, as far as Windows is concerned, the network is not only clocked in, but willing to work overtime if neccessary.  Sweet.

So here, for your edification and reading enjoyment are step-by-step directions on making this work.

In order to print from DOS in an offline environment like the stores, you will need to do a couple of things.

 

1)      Install the Microsoft Loopback Adapter

a)      In Control Panel, double click on Add Hardware.

b)      Click Next

c)      When the scan finishes, select "Yes, I have already connected the hardware"

d)     Click Next

e)      Scroll to the bottom of the list and select "Add a new hardware device"
Click Next

f)       Select "Install the hardware that I manually select from a list (Advanced)"

g)      Click Next

h)      Select "Network Adapters"

i)        Click Next

j)        Select "Microsoft" under the Manufacturer list.

k)      Select "Microsoft Loopback Adapter" in the Network Adapter list.

l)        Click Next

m)    Click Next

n)      Click Finish

 

2)      Configure the Adapter

a)      The loopback adapter is a virtual network adapter and can be configured the same as a regular network card.

b)      Set the adapter to have a static IP address such as 192.168.1.1/ 255.255.255.0

 

3)      Share the printer.

a)      I recommend you use a share name that you will remember.  I used “Printer” in the new machines that are already deployed.

 

4)      Capture the printer port.

a)      NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES

Now, not that I like to encourage this type of behaviour, but if you have done the above and still can't get it to print, you may find some help through one of the articles located here.

Dave
Just because I can...

posted on Sunday, March 13, 2005 1:36 PM

Feedback

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/16/2005 1:06 PM henrik tholle
hi .. just greate ..

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/6/2005 12:14 PM Rod
I have a regular network (not USB) and a USB printer. Can't seem to make the USB printer print anything from a DOS window. It shows the document being spooled, reports falsely that it has "printed" and that's it. All I get is a report that printing was successful, no errors or anything, but nothing printed!! Weird.



Rod

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/6/2005 5:02 PM Rod
Yup, it works to print from windows. I tried DIR >LPT1 from the command prompt and although it gave no error message, it still didn't print.

By the way, the printer is a Brother MFC-3220C combination fax machine/printer/copier.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/18/2005 8:25 AM kjocean
to make use of this network share method to allow dos to print to usb printer, you need to config printer's processor paremeter to "TEXT"

even though this method will work happily with normal texts under dos... it may not work with dos programs that use larger pages.. (since no utility is present to shrink the page for you)

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/28/2005 4:46 PM pgwalters
This even works in Win 2k. I too have a legacy app that requires captured ports to work. Most people use the Netware utilities to accomplish this, but when that server goes down (and it does), this is a sweet workaround. In fact I replaced the Netware capture with this. It's faster, too! Same steps apply, except you'll follow the Win 2k dialog scheme. Thanks for the tip.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/28/2005 7:14 PM bigwhite
One step is missing, you have to change the print processor from any to TEXT mode (start-setting-printer&faxes-right click on the printer - properties-advanced-print processor change to TEXT and click on OK), now it should work


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/28/2005 11:05 PM David Totzke
Thanks for the comments. I never ran into the TEXT mode problem but that's a great tip. I'm just glad that I don't have to worry about this kind of crap any more. :)

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/8/2005 3:16 AM Yvonne Luimo
When I try to do 'net use lpt' trick I have recieved a huge amount of paper with garbage instead of my document.

Then I found simple utility DOSPRN ant it printed my draft correctly on my Canon LBP-810.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/19/2005 12:02 PM Jeff FIsher
I emailed this to you. Is there a way to do this in Win98? I keep getting the error 2106 that I am not in a network environment. Win98 also does not seem to like the persistent command...

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/19/2005 5:32 PM Jack Logan
Hi Dave,

I have a USB printer on a local machine that I need to print to from a DOS app. The PC is connected on a local network, and the printer is shared out with a simple name. However I receive an error when trying to connect to the printer with the NET USE command, "The network name cannot be found." I have turned off Windows Firewall, and can see and connect to the printer by browsing the network. It's probably something simple, but what am I missing?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/25/2005 11:09 AM Jani
Instead of \\\printer in net use command, you can use normal printer sharing address like \\computername\printer
That helped me when I had that problem.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/6/2005 3:08 AM AIMAN
first: Instead of installing the loopback adapter u may do this:
net use lpt1: \\127.0.0.1\printer

Even though, there is a problem with windows-only printers that they get the printing and does know how to handle it.
the solution in this case to send the printing to a file and then send it by windows to the printer.
Anybody knows any software that do this????

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/21/2005 8:43 PM P.Harikumar
Dear Sir
I have *.prn files.
I want to print in USB port HP1000 laserjet printer through dos prompt.
eg. >print filename prn
but it is not printing.
please help me
P.Harikumar


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/22/2005 7:38 PM J.Jelicos
Since this was one of the first sites I found in searching for solutions to my printer problems for the benefit of others experiencing similar problem I thought I'd add a bit of clarification on a few points and solutions to several other problems along the way. I'm running XP and the printer involved is an hp designjet 3650.

After following the loopback instructions above, when I entered the NET USE command I received the following error messages:
System error 66 has occurred
The network resource type is not correct

Minor note: at least in XP for those who don't like to type or can't spell /p:y be used for /persistent:yes and /d for /delete.

It turned out this was a firewall problem. In Norton's Personal Firewall under Configure>Home Networking I hit the add button to Add a "Individual" ip address. 192.168,1,1, This is the address entered in the Loopback set-up above. I presume the same should work for other Firewalls. Window's Firewall didn't appear to be creating any problem. After I did this the Net Use command worked fine.

Once I had this resolved and I began trying to send things from DOS to the printer I not only failed to get anything printed but I frequently ended up with print jobs which hung up the printer and which I couldn't delete without rebooting. (Note: if rebooting doesn't delete the job try erasing all the files in \windows\system32\spool\printers (one of them was always locked but it didn't seem to matter if that one got deleted or not) then reboot again.)

Eventually I came to realize that not only did the HP printer I was using no longer accept PCL codes but that it no longer excepted even straight text. Instead it expects data to be in a propietary graphic format (search for PPA or Printing Performance Architecture if interested). As such, when the print processor is set to RAW and text is sent to the printer it is recieved as meaningless garbage. If the print processor is set to TEXT the text sent to the print driver is converted to a graphic image in the correct format and so prints okay.

Unfortunately, my main reason for wanting to print from DOS was to use a program I'd written which used PCL5 codes for print formatting. As this wasn't crucial and I haven't found any "good" way to get around this, I'm for the time being leaving things at that, but hopefully some of the above will help other users from having to go through what I did to get to this point.


# re: HOWTO: Print to a parallel port Printer to usb in Windows XP 6/29/2005 8:07 AM husain
i can not detect my parallel printer to my usb in windows xp please do the needful.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/12/2005 3:39 AM Rob Vredeling
Hi Dave,
I just implemented & tried everything from your marvelous tip. However: on giving the "Net Use" command (via RUN/CMD) I get that error-message (in my case in Dutch, translated something like) "Systemerror 66 - Wrong sourcetype".
What could be wrong? Thankx in advance for replaying, we indeed do have that unique DOS-app that only wants to print parallel...
Rob

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/16/2005 10:01 PM Sumant Singh
dear sir
i wana Print a ".prn" file to a USB Printer "hp1010 laser" from DOS command in Windows XP. how i can do this please resolve my problem.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/3/2005 2:42 AM Gopinath
Pl let me know hw to configure the network printer and it should b support dos based print.



# Print to a TCP/IP-Printer from DOS in Windows XP using LPT 8/8/2005 2:09 AM Eric
How can I print from a dos-program that doesnt support TCP/IP? I got a new Sharpprinter and it got a IP-address. But the DOSprogram can't write to a IP-address.

Somehow there must be a posibility to point it to LPT1 or LPT3. But how?

Thank you

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/17/2005 2:57 AM SOMENATH
HOW TO INSTALL A DOS BASED PRINTER IN WINXP

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/23/2005 11:36 PM sarahmeggs
Hi, thanks so much for this great tip, and have followed the instructions above and found a few things.
*Unable to set loopback IP address (properties greyed out)
*when I set printer processor to text, nothing will print at all ;( printer is an HP 1020.
*I setup the net mapping to LPT1 it works fine and it says the jobs are printing, but nothing comes out of the printer.

Any ideas?

Thanks, sm

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/28/2005 7:17 AM Ali ARsalan Junejo (Pakistan)
Yes, You can do it on the same PC the USB Printer is installed.

Steps to follow:

1. You have to edit the hosts file in your windows directory e.g. c:\windows\system32\drivers\etc(for XP), c:\winnt\system32\drivers\etc(for W2k) and add the following entry
YOUR-SYSTEM-IP COMPUTER-NAME
Now save the host file.

2. Use following command
(For Temporary Basis)
Net Use LPT1 \\computername\printersharedname

(For Permanent Basis)
Net Use LPT1 \\computername\printersharedname /yes

I have tested it on my PC(XP) and it works fine.

Enjoy.

Ali Arsalan Junejo
Pakistan


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/9/2005 3:25 AM ffoo
FireFox

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/14/2005 2:56 AM malik
Dear Sir
I have *.prn files.
I want to print in USB port HP1000 laserjet printer through dos prompt.
eg. >print filename prn
but it is not printing.
please help me


# re: HOWTO: Print from DOS to Windows Printer 9/19/2005 8:20 AM Christopher Lent
Mr. Ali Arsalan Junejo is on the right track, but misses one neat trick. Rather than editting up the %windir%\system32\drivers\etc\hosts file, we realize that a TCP/IP loopback already exists.

Microsoft preinstalls "localhost" to be a name for the "127.0.0.1" address. So you can use "localhost" as the hostname. But why bother. For a long time straight IP addresses have worked in Windows.

So the simplest solution (no extra loopback drivers needed) is:

1. Share the printer say as "hp404"
2. At the CMD prompt, type:
net use lpt1: \\127.0.0.1\hp404
3. Check by:
A.
COPY CON LPT1:
Type in a line of text
Control-Z

B.
COPY CON PRN:
Type in a line of text
Control-Z

C. PRINT SOMEFILE.TXT



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/21/2005 2:53 AM steve
what about non-dos compatible printers? does the mapping of lpt port to a shared network printer work around the fact that the printer is non-dos compatible?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/12/2005 12:35 PM Kalpesh
You can use DOS2USB Software to print on any printer from DOS including USB Printer wether its Laser/Inkjet or Dotmatrix

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/17/2005 8:56 AM Bill
Hi -

Can anybody tell me how to print to a USB printer from DOS in Windows 98 (rather than XP)?

# re: Simpler - HOWTO: Print to a USB Printer from DOS in Windows XP 10/24/2005 2:40 AM Rok Kolar
It's simpler to use "printer pooling", just select LPT1: and USB ports, and select "printer pooling" at bottom. Even codepage change TSR programs work ok that way.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/31/2005 11:41 PM sad
don't work any of these ideas.
winXP sp2, hp laserjet 1020.
job is hold on "spool"
this is all

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/2/2005 8:58 AM Jimmy Parker
Does this have to do with host based drivers versus non host based.

# re: HOWTO: Print to a USB Printer from DOS in Windows 98 11/17/2005 10:36 PM paramesh
Print to a USB Printer from DOS in Windows 98

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/20/2005 6:26 AM Kalpesh
Use DOS2USB software
it can print on any USB printer as well as Dotmatrix printer which connected via USB cable.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/11/2005 12:13 PM Sanomo Kuitti
What is the DOSPRN? Where from I can get it?

I tested dos2usb and it hanged up my computer immediately.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/11/2005 12:20 PM Dirk Mueller
P.S. sorry for broken link. look here:
http://www.dosprn.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/20/2005 12:13 AM Datatec Computer Services
Many Thanks for putting something like this available to us all. got a client with a dos based accounting program. Does not want to spend hundreds on new software as old program work fine for them. Ran this solution with a HP5440 and it works like a dream.... Gold Star and all that......

# re: HOWTO: Print to Use DOS2USB software 1/2/2006 5:23 AM dak
how to print to dos 2 usb in windows 98 /2000 / xp

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/2/2006 8:22 PM Riyaz
Hi...cud you please let me know how to remove the mapped usb to lpt via net use..

thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/3/2006 8:25 AM David Totzke
To remove a mapping issue the following command:

NET USE LPT1 /DELETE



# Printer get handged at the time of Printing 1/6/2006 2:36 AM Manish
Hi, My name is manish, i have buyed a new printer from HP, my model no is 3950HP. There is a problm persist, that when i start printing from the word application, it get hanged after printing 1st line and the computer get hanged. I have installed win98 with 64 MB. Please give me some solution for the same.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/15/2006 3:53 PM Eli Fitch
Thanks for this information. It is a good thing that blogs like this do exist. For syre, this will serve as a guide and information. Like you, I also had problems with my printer. Although I choose not to do some troubleshooting, something tells me that the damage has to be repaired. With these everything will be fine.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/20/2006 6:16 AM Jonathan
Thanks so much for posting this information! This was tremendously useful to me.

I have some tips to add that may help people who've had some difficulty with this.

1) Adding the loopback adapter is not necessary if the PC is on any sort of network... even a non-Internet connected LAN. In the case of networked machines, you can merely share the printer, and attach to the printer over 127.0.0.1, as someone else mentioned. For standalone machines, or ones that use dialup, you can either add the loopback adapter exactly as Dave describes, or you can wait until you're dialed into your ISP to print. Standalone machines may give "system error 1231" when you try the "net use lpt1 ..." command, if you're not networked.

2) Setting the shared printer's driver to "TEXT" mode is only required if the application you are using is "dumb" and does not know about specific printers. If your application can be configured for the printer you have, you can leave the setting at "RAW", since the DOS program will have the correct escape codes for the printer.

3) Most personal firewalls will block printer sharing. You need to allow for printer sharing over 127.0.0.1. For Norton Personal Firewall (part of Norton Internet Security), open the configuration window for the firewall. In the "Networking" tab, first choose the proper settings (Home, Away, Office, or Default). Click the "Trusted" tab below, then "Add...". In the window that comes up, make sure "Individually" is selected, and enter "127.0.0.1" as the host to allow. Click "OK" in this window, and "OK" again to leave the Firewall configuration. If you want to allow sharing under different locations, change "Settings for:" in the pull-down menu to and repeat the steps to add 127.0.0.1 as a trusted host. I was getting "system error 66" when trying the "net use lpt1 ..." command until I completed this step.
Other firewalls probably have similar settings to change.

Hope this helps answer a few lingering issues for folks.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/21/2006 10:07 AM Kalpesh
Print with DOS2USB is simple, just install the DOS2USB, start the DOS2USB, Start your DOS Software (Dont try dir > prn) and print as normaly you print. It redirect your print job by formating it as per ESC code to your default printer.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/29/2006 2:33 AM Vali
i need

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/29/2006 4:52 PM Me Myself and I


C:\>ipconfig

Windows IP Configuration

0 Ethernet adapter :

IP Address. . . . . . . . . : 192.168.0.101
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 192.168.0.1

1 Ethernet adapter :

IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :

C:\>net use lpt2: \\192.168.0.101\samsungptr
The command was completed successfully.

C:\>copy test0106.prn lpt2:
1 file(s) copied


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/1/2006 5:58 PM Scott Sawyer
Excellent information, thank you very much for posting this up.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/6/2006 9:38 AM Ken
I have a client with this very problem. I've tried the loopback adapter, net use, dosprn, dos2usb. I'm all out of ideas. NET USE captures the port fine and the print jobs appear in the queue as normal, but nothing happens on the printer. Any thoughts?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/7/2006 6:02 PM Tony
Hey--you're missing a critical step.

DOS considers LPT1 to be text-only (7-bits). Most .prn files are binary (8-bits), but DOS chops off the last bit of every character.

Use the following command to force DOS to send all the data in the .prn file and it will print like a charm:

C:\>copy /b test0106.prn lpt2:


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/2/2006 7:01 PM Bill
I have a question...I am able to use the net use command just fine, but when I use TEXT, the print does not compress on a form that I print. If I use RAW, the font will compress but the print is too light to see. The application that I use uses 027 038 107 050 083 for compressed print and 027 038 107 048 083 for normal print. The printer is a HP Photosmart 7450. Any help would be greatly appreciated! BTW, I tried using the USB2DOS program, but it did not work for me...just prints garbage from the application and locks up if I do a mem>lpt1. TIA

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/5/2006 11:11 AM Kalpesh
Insted of using mem > lpt1 use the "copy" or "Type" command with dos2usb.
"copy file.ext c:\dos2usb.spl" or
"type file.ext > c:\dos2usb.spl"

# Printing .prn to network Printer with no PC 3/8/2006 7:55 PM Dazzler
Hi All
What is the DOS command required to copy a .prn file to a stand alone printer that is not connected to a PC. Do is still call LPT1 or LPT2 ports on this printer.
When I look at the properties of the printer I see that the port is set to.
IP_104.78.16.39 OFFICEPRINTER


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/12/2006 10:16 AM Don Johnson
Your excellent solution used to work for me I'm sure, but now I cannot get the printer to share - despite having the Loopback Adapter set up. I get:
"Printer settings could not be saved. Operation couldnot be completed."
I've Googled that message but nothing seems to work - you seem to have a good grip on the subject - any ideas ? Please, please!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/15/2006 7:49 AM Shirley
i have a lexmark X1185,,it will not print to my usb port,,it keeps jumping back to lpt..it worked fine until windows sp2 downloaded..now it want print what i need,,and now it skips most of the text from network

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/15/2006 4:33 PM George Arreguin
ok I made my printer send the information to the server printer , but I got another problem , the file I send from a DOS aplication , stay in the printer spooler in the server but never print , any idea

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/24/2006 6:16 PM Davide Guolo
You may want to have a look at Printfil, which, in addition to this, allows also to automatically obtain a graphical print preview, you can add background images, colorize the text, choose the font, export in PDF format and more.
More info and a free trial version is available for download at http://www.printfil.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/8/2006 10:54 AM Rob Wheeler
Try the freeware utility from Lee Woo, prnter v1.0 It works great for me!

# How can a xp shared printer with win98, although both PC is connect by network. Only printer was not shown in win98. plz solve this q. 4/22/2006 2:17 AM narayan
I am sure that you should solve this problem
thanking you


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/16/2006 7:16 AM AH
Thanks, you saved me time and money. The loopback is a nice way to start the network service specially when you've a stand-alone PC.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/20/2006 4:54 AM Oro Iquico
I installed dos2usb and it prints NOTHING. I spent full day with this apps but my program still does not print.

Even more as soon as tried to uninstall dos2usb my DOS program cannot print documents on my old epson lx-300. this f@cked dos2usb damaged something in my operation system ...


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/23/2006 9:57 PM Chandresh Kothari
We have installed more then 200 copies of DOS2USB and we have not found this kind of problem yet. However any one have any problem with DOS2USB then they can contact to dos2usb@mitrashell.com, even in eveluation mode.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/26/2006 4:55 PM Thompson
Can not set IP address in XP SP2.
XP SP2 uses a network bridge and the Loopback driver has few settings, no IP address.


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/26/2006 6:10 PM Thompson
How to print a filename.PRN file in Windows XP

This is useful if you are away without a printer for your laptop or want to print from an application that is not installed on your system. The correct printer driver must be used for the print to work on the system doing the printing, eg. making a PRN file using an HP printer will not print on a Lexmark printer.


Make a text file 'print-prn.bat' with the following:
@ECHO OFF
COPY /B %1 "\\LAPTOP\LEXMARK Z42"

Now you can go to the CMD window and type 'print-prn filename'
or
Drag & Drop a PRN file to 'print-prn.bat'

What's going on:
COPY - an old DOS command to copy something to something
/B - specifies binary mode
%1 - filename from the command line or the Drag & Drop
"\\LAPTOP\LEXMARK Z42"
- the network printer
\\computer-name\share-name
printer sharing must be enabled for this to work
Start -> Settings -> Printers and Faxes -> right-click -> Sharing


For more on COPY get an old DOS book or CMD -> HELP COPY


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/29/2006 9:46 AM Satish Atakare
Hi,

I like this article very much, thanks the organiser.

Did anybody have software which compile text reports and show text report preview, like it will show compressed, 10CPI, 12CPI, Expanded text like any report writer, in windows.



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/29/2006 9:46 AM Satish Atakare
Hi,

I like this article very much, thanks the organiser.

Did anybody have software which compile text reports and show text report preview, like it will show compressed, 10CPI, 12CPI, Expanded text like any report writer, in windows.



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/2/2006 7:19 AM Arnold
Same problem as some others: Running on a standard network; shared printer; net use executes properly, document appear in the queue but nothing sent to the printer. I have set mode to TEXT as suggested, does not help. Seems to lock up queue since even Windows test page is waiting for the document that is "printing". I have tried the other programs mentioned here but I need something user-friendly that the operator does not need to run.

Bottom line: it's in the queue, how do I force it to go the printer?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/6/2006 6/6/2006 8:48 AM Maher
Hi There
Thanks very much , its work perfect

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/7/2006 5:59 AM KANWAL CHOPRA
I DO NOT HAVE A PARALLEL PORT IN MY NOTEBOOK PC I AM PRINTING THROUGH A USB TO PARALLEL PORT CONVERTER ON MY DMP. I TRIED NET USE BUT I AM NOT SUCCESFUL. I TRIED USB2DOS[IT WORKS] BUT THIS IS NOT A FREE SOFTWARE. IS THERE ANY FREE SOFTWARE AVAILABLE


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/12/2006 2:21 PM mike
sorry to say! but there is no way to print to a laser printer directly from your dos apps if you dont have the appropriate DOS drivers for your laser printer and the printer itsef das not support dos. As the most of them do!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/28/2006 7:53 AM bhullar
Hi I have same problem I want to print from Accpac plus dos to usb printer, it not working for please help!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/21/2006 11:36 PM Harbhajan Singh
I have a loptop but

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/27/2006 10:16 AM MikeR
Dave,
Like you I have an old DOS based POS program that works great for what we need but it is time to replace our oki pin printer and $380 for another one is not an option. I tryed what you have recomeded and I can see the job in the que but it will not drop to the printer. any ideas?
Thanks
Mike

# re: HOWTO: Print to a USB Printer from DOS Appication 7/27/2006 12:22 PM wwwcoin@yahoo.co.in
I Want Vb6 program convert to dos print.(dos2usb)

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/28/2006 3:00 PM Chandresh Kothari
Use DOS2USB to get printing on any kind of printer from DOS
http://www.dos2usb.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/15/2006 11:11 AM Whitemoon
Quote:
2) Setting the shared printer's driver to "TEXT" mode is only required if the application you are using is "dumb" and does not know about specific printers. If your application can be configured for the printer you have, you can leave the setting at "RAW", since the DOS program will have the correct escape codes for the printer.

I was trying to install a Dell later Printer (Super Cheap 30$ version) and it does not support DOS and it is USB.

If your print goes in Queue but does not print or hang there, just change your printer to text and it will work perfectly. Worked for me anyways.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/19/2006 6:36 AM Shaun
how to make printer print in draft mode - I have it set in windows printer properties to be draft but when I print from DOS program it always prints nice quality but too slooow

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/9/2006 2:11 PM Bill
Does this net command have to run everytime you turn on the pc or can it be stuck inside some startup routine?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/9/2006 2:15 PM David Totzke
/PERSISTENT:YES

That part of the command ensures that the mapping persists across sessions and reboots.

Dave


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/23/2006 12:20 AM Maruga
I tried 'net use' command but my canon prints nothing. Then I installed printfil and dos2usb and received garbage on the paper. Can anyone help me?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/27/2006 10:24 PM Chandresh Kothari
Contact on dos2usb@mitrashell.com to resolve your problem.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/5/2006 12:10 PM Maruga
I'd contacted dos2usb team and the suggested to use dotmatrix printing mode. Unfortunately my dos app does not allow select printers.

I think I'll try to download dosprn utility tomorrow. This is my slender hope <g>

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/24/2006 5:17 AM D
in answer to Marua - dosprn is brilliant on windows 98, works like a glove.

cannot get it to work on windows xp.
D.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/25/2006 9:32 AM Chandresh Kothari
To Maruga
Have you clarified your problem to DOS2USB team? that you cant use the Dotmatrix printing mode?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/28/2006 10:25 AM B J Gill
Ihave some old DOS Horse race handicapping programs, that I use frequently.

How can I print the data to a Samsung 1430
Laser Jet ?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/29/2006 3:27 PM William PAtterspm
Any ideas on how to print to a canon ip1500 via a dos program called Q&A v4? It supports older canon like the BJ200 but not this new one. This is so frustrating

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/31/2006 2:40 AM ARUN
I AM GETTING PRINTING BY DIR>PRN BUT NOT GETTING ANY PRINT FROM MY FOXPRO BASED DOS SOFTWARE HELP ME


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/3/2006 9:16 AM LP
Can anyone help me print a file to a non-HP inkjet? I have two printers--an HP laser and an Epson inkjet. I have an old printer file to print--a color graphic. I was able to print it to the HP by sharing the printer, mapping it to LPT1, and using the copy /b filename lpt1 command. But when I mapped the Epson to LPT2 and tried the same thing, I got pages of printer code instead of the file itself. Why did this work on the HP laser and not on the Epson inkjet? Thanks for your help.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/3/2006 1:14 PM Laura
You just saved my bacon. We had an identical problem, only the folks were already set up for the show (for some reason we hadn't had the chance to test the printers). I talked them through it, reading aloud from this entry. I was delighted to hear the chattering of the printer in the background. THANKS!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/4/2006 9:57 PM Davide Guolo
For Mr. Satish Atakare: about print WYSIWYG preview
You may want to have a look at Printfil: http://www.printfil.com


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/4/2006 10:04 PM Davide Guolo
For Maruga: Garbage on paper when printing DOS jobs through Printfil.

Please have a look at the manual (Start->Program Files->Printfil->Manual), Chapter 5: "Control Codes", then you may want to download some extra .SEQ files at http://www.printfil.com/eextra.htm

If you still need help, please write us at support@printfil.com because we do not monitor this page often (and probably this is not the best place to offer support for 3rd parties products)

Regards,
Davide Guolo
aSwIt s.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/14/2006 11:48 AM Siraj
Am amzd @ what pple can achve. I passed on the info to a pal and he thanks me evry day 4 the tip.

I mst thnk U 2. Grear Job!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/14/2006 11:51 AM Siraj
Am amzd @ what pple can achve. I passed on the info to a pal and he thanks me evry day 4 the tip.

I mst thnk U 2. Great Job!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/16/2006 7:33 AM Michael B.
Tip: If you have a nice laser printer that supports direct PDF printing, like the HP Color Laserjet 3800n, you can use the DOS COPY command to the shared printer to copy PDF files directly to the printer!
i.e.:
COPY /B *.pdf \\delldesktop\LJ3800N

will print all the pdfs in current directory.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/16/2006 10:54 AM Malcolm D
A simpler solution for all your DOS printing problems from XP may be the following:

Assuming you have a printer working on a USB port. Add a new printer which is the same as the one on the USB port (same name ,same driver) but say that it is on LPT1:.
Go to your USB printer port settings and turn on printer pooling between ports USB00x and LPT1:

Any jobs sent to LPT1: will be automatically rerouted to the USB port because the fake printer on LPT1: is always off-line.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/17/2006 12:28 AM TONY
I just bought an Brother MFC7220 5-in-1 printer that says will work with parallel or USB port.

After setting up the printer, it has no problem printing "Windows" reports. But when I tried printing from my Accpac Plus program, the printer went ahead with the printing routine but the papers that came out were blank.

Is there a way to make this printer print Accpac Plus reports (DOS) properly?

Thanks a lot for your help.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/19/2006 10:57 PM tony
It's me again. Just to let people know that I requested a good link for the "dos2usb" utility and the software developer sent me the most recent one.

Here is the link:

http://www.dos2usb.com/d2u159b2.exe

From the link, I installed the utility and it worked like a charm on my Brother MFC7220 Windows Only printer.

I bought the utility for less than $20US and would recommend it anytime.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/21/2006 10:34 AM Nick MacW
Tried DOS2USB and PRINTFIL with no luck but this worked very well indeed.
Many thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/23/2006 10:32 PM Tony
Hi Nick, if you tried DOS2USB and PRINTFIL with no luck, what was it that worked very well indeed?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/29/2006 10:29 PM Marco cheung
can this soluation works on a network environment?
the printer is being setup on one station and share it with the network, try to run the "net use"commond and i never get pass the username and password stage where the printer is being share with everyone.
is there a soluation for this problem or i'm in a dead end?
thx

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/3/2006 12:48 AM vinit
no comment

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/3/2006 12:49 AM vinit
dos to usb2 print

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/10/2006 3:40 AM John O'Hare
Excellent solution - many thanks.

John.

# sample VB codes for Plastic card printing for Zeebra P300i Printer 12/27/2006 3:20 AM Pasanna Kumara
I need the help to print the in the plastic card and also for magnetic encoding of the values from Visual Basic

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/10/2007 10:36 PM TJ Chiam
I found this appl called prfile32 that let me print text files to a USB printer directly. It's free too. It can acts as a print spooler or work in command line mode.
http://www.lerup.com/printfile/

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/11/2007 10:18 AM Lucio Antoniolo
Use Pz-Spooler to print in USB Printer using a DOS application.

http://www.puzzle.com.br/produtos/sistemas/pzspooler.asp

Puzzle Automação Comercial

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/15/2007 11:14 PM Maruga
I unstalled many different utils last month and I reverted to DOSPRN software at least.

http://www.dosprn.com

This program is inexpensive and powerful. It prints all my text files and DOS reports properly.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/24/2007 2:54 PM Bob
Long story short: Have used NET USE to get DOS to print from 2000/Xp via USB with no problem on many systems. Now faced with a system where NET use completes successfully and can print one job, then fails on 2nd. NET USE shows printer is disconnected. Do NET USE /DELETE and then configure it again and same thing - 1 print job ok, but no luck after that. Any hints on why the printer gets disconnected all the time?

Thank's in advance.
Bob

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/25/2007 4:01 AM ashok
how can i delete unavaileble unavaileble lpt connection

# dos2usb SUX, PERIOD 1/26/2007 11:50 AM Fajis
dos2usb sux, the net use command is better, is free and is already in your pc.

dont wast your money on dos2usb or others programs that does nothing.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/29/2007 7:31 AM Davide Guolo
Fajis: net use is free, alredy on your PC, and does not work neither for Windows-Only (AKA GDI) printers, nor for virtual printers (Ms-Fax, Adobe Distiller, ...)

I can ensure you Printfil is much more than a "net use" clone and very far to be a program which "does nothing".

Please see http://www.printfil.com

Kind regards,
Davide Guolo
aSwIt s.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/11/2007 12:38 PM Kalpesh Joshi
We does not need to say anything, our users says.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/21/2007 9:41 PM Ucok (INA)
TO : Malcolm D

*** Assuming you have a printer working on a USB port. Add a new printer which is the same as the one on the USB port (same name ,same driver) but say that it is on LPT1:.
Go to your USB printer port settings and turn on printer pooling between ports USB00x and LPT1:
Any jobs sent to LPT1: will be automatically rerouted to the USB port because the fake printer on LPT1: is always off-line. ***

Thank a lot for your simple solution..

Works for me..


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/22/2007 10:22 AM adish
i want to print from my dos applications to a usb printer free of cost please tell me links for free software download

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/12/2007 7:35 PM Seggy
Hi refer to this link. Its explains how to print for Windows 2000 but works for XP.

http://www.decompile.com/dataflex/tips/usb_printer.htm

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/19/2007 1:37 PM Two Jugs
Does any of this work with Vista? I have a legacy accountng program and need to print from a DOS window under Vista.

Thanks

Two Jugs

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/24/2007 6:22 AM hemant kumar
Thank you spots command ,

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/27/2007 11:06 AM Davide Guolo - Printfil
Two Jugs: The "NET USE" Command works under Vista too, provided you run the Command Prompt as Administrator (elevated) AND the destination printer is DOS compatible.

Printfil works under Vista too (even for printers which are NOT dos compatible). If you need to configure it to capture the LPT output please see http://www.printfil.com/efaq14.htm

Kind regards,
Davide Guolo
aSwIt s.r.l.
http://www.printfil.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/29/2007 10:38 AM Clipper Cobol to USB
You could use Pz-Spooler to print in USB Printer using a DOS application.

http://www.puzzle.com.br/produtos/sistemas/pzspooler.asp

Puzzle Automação Comercial

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/8/2007 9:20 AM harey
It does not work with my HP 1018.

Depending on the spooler properties (I did not write down):
- the document appears in the spooler as printed and disappears
- in the spooler menu, the document never finishes to print

In any case, nothing goes to the printer.

P.S.
A small simplification: NET USE LPT1: \\%ComputerName%\Printer /PERSISTENT:YES (avoids typos)


# How to print from foxpro2 to Hp Deskjet 3550 printer 6/8/2007 3:37 PM Dalal P D
Dear Sir,

How to print report written in foxpro2.6 on HP Deskjet 3550 Printer.


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/15/2007 1:25 PM Rajiv
I have developed software in foxpro 2.6, but i want to know which command i will use that can be use to print on USB printer.

Can anyone explain me with a good example.

Thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/22/2007 9:05 AM John Watt
I have recently had to migrate a Dos based Payroll build upto gross application to XP. Having set up the Printer on a usb port. I enabled print pooling and added LPT1 to the same printer. (Note without adding a second printer.) This works with one codasil the Printer must support Dos Printing. Check the Printer documentation.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/8/2007 9:20 AM harey 6/22/2007 9:25 AM John Watt
It is likely that the Hp 1018 used by harey does not print Dos output. The report is sent to the Printer, it's just that the Printer refuses to print it. This can be demonstrated by changing the Printer properties to keep the Printed output in the Print Queue. You will then see that the report is then spooled, printed and deleted, it isn't printed but remains in the queue instead disappearing from the system.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/25/2007 1:29 AM suresh panchal
sir,
i am configure what u suggest above but still i dont find
the 4th number stap

4) Capture the printer port.
a) NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES

in my computer i have a windows xp with service pack 2 ana i have a laser printer hp 1018 so please send me a suggestion what i have to do now and how can i configure the port . my email id is

sureshpanchal31075@yahoo.co.in


please send me a reply

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/17/2007 12:45 AM nagaraja
I have both DOS and windows 98 operating system. I have vibration analysis software that runs on DOS. But, I am not able to print report directly from DOS. I get a "printer error" message. How to solve? is there any software?

# re: HOWTO: Print to a USB Printer from DOS Program 7/20/2007 3:29 AM melfox
hi, im IT staff in one of the company here in the philippines
this company produce a MB Micro Banking system DOS mode at the same time imthe one to install this said program my problem is if the printer is USB port this program cannot print, the only port that they print is parallel port,,as todays technology some printers are in USB port already. the printer is passbook type printer,,,please help me how this program print in USB port......thnx

#  HOWTO: Print to a USB Printer from DOS in Windows XP 7/20/2007 6:44 AM ENOR
How do you route/redirect printing to a UTMA/ thin client? We have a UTMA device which has a USB port where printers are attached. This is mapped by windows as a virtual printer in its session for a particular UTMA device. The device is connected to its host via TCP/IP.

With Windows, printing through the UTMA USB port is not an issue. However, one of our Foxpro-based application is not able to print to that (virtual) port.

I am not sure if Net Use can be a solution, though, it should be since the UTMA device is TCP/IP connected. As to this writing I havent done so.

Many thanks.




# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/25/2007 2:43 PM DOS2USB
Visit http://www.dos2usb.com and you will find the complete solution.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/3/2007 5:41 AM Print from DOS to Windows
The HP 1018 is not only USB, it'a also an "Host based" printer. Please see
http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/18972-18972-3328059-14638-3328066-1814092.html
This means it cannot print from DOS simply by redirecting the data through a NET USE command because that printer is not smart enough to render that data on paper.

In order to use host based printers (also known as GDI printers) with DOS programs, you can use Printfil - http://www.printfil.com - which can manage ANY Windows printers, including USB, GDI, print servers, and virtual printers (fax modems, PDF writers ...)

Kind regards,
Davide Guolo
aSwIt s.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/14/2007 5:33 AM mohd junaid
dear sir/madam,

i do as the above mentioned and i print successfully.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/14/2007 2:50 PM Manzoor
Sir

i have make the print report in foxpro 2.6 dos base.

set print on
set device to printer
?"Manzoor Ahmad"

But Problem here that printing is not going on laser printer

Please tell me the solution.

thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/15/2007 6:07 PM Adrian
I've just did what Dave said in the first post (Microsoft Loopback Adapter) with a HP Laserjet 1015 under WinXP and it works fine (printing from FoxPro 2.6 DOS in this case).
Thank you Dave.

TO SURESH:
4) Capture the printer port.
a) NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES

You have to open a DOS window (Start->Run-> and type "command"
Then you type the a) statement there, e.g.:

NET USE LPT1: \\shureshpc\MyPrinter /PERSISTENT:YES

MyPrinter = the name you use to share your printer


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/25/2007 1:02 AM MICKY
hello sir,
I am having a hp-notebook 2124 with no parallel port......recently i bought a tvs champ-250 with usb-to-parallel converter for my DOS based program...i used a "NET USE" ,it works.....BUT
Now, the problem is that, it gets disconnected after 1st print job....and after restarting my computer Printer gets "Offline".
Now tell me da solution for this.....

# re: HOWTO: Print to a USB Printer from DOS in Windows 98 8/28/2007 9:13 AM nilesh
how to print a USB printer from dos in windows 98

the printer have a usb & parallel port.


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/1/2007 2:54 PM MICKY
hello sir,
I am having a hp-notebook 2124 with no parallel port......recently i bought a tvs champ-250 with usb-to-parallel converter for my DOS based program...i used a "NET USE" ,it works.....BUT
Now, the problem is that, it gets disconnected after 1st print job....and after restarting my computer Printer gets "Offline".
Now tell me da solution for this.....




# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/5/2007 3:21 PM Kalpesh
The solution is DOS2USB.
DOS2USB can Capture your DOS Print job directly and print to any windows printer (i.e. USb Printer, Virtual Printer, Network Printer, PDF Printer etc).
Visit http://www.dos2usb.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/14/2007 1:19 PM DOS printing with USB ports only
MICKY: Ensure the printer itself and the usb-to-parallel cable works properly in Windows (for example by using Ms-Word or Notepad).
If so, you can use Printfil to forward your DOS jobs to the dot matrix printer, in RAW mode, without having to share it and 'NET USE'ing a parallel port (Printfil will forward the jobs from LPT1 to the right port: USB or whatever). - http://www.printfil.com
If other Windows programs, and the Printfil's trial works, then the problem is in your networking services and/or the NET USE command. You may want to check them.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/14/2007 8:08 PM Cuscatleco
Thank you all for the answers, I'm going to try them now and see whether or which works for me and will post results later. I really need to print dos files from WinXP, Win98, and vista also. I'm going to the computer in my bedroom right now.

# HOW: to take a print from a laptop which is having no lpt1 port but having a dos based blling software 10/8/2007 5:50 AM samadhan khandare
my problem is that, i am having a billing dos based software, which support only lpt1 port for printing, i want solution which should support my dos based software to print from USB2.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/10/2007 7:45 PM Jerry
I have a HP DeskJet K80 & Windows XP OS. It is connected to my computer through a Parellel port. I can print from DOS with no problem. However, when I have closed the DOS application, the printer stays tied up and I cannot use it to print from windows applications unless I shutdown the computer first. This is quite a nuisance.

Can you give me a suggestion on how to solve this problem?

Jerry

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/13/2007 4:11 AM gangadhar
I used NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES command but printer is starting & its not taking the paper

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/18/2007 12:31 AM Subhakar Kumar
Dear Sir,

Sir we have run the dos application in Xp os and take a printouts in HP laser printer which is not having any LPT.pls let us know the converters if any.

Thanking you,

Regards,


K.Subhakar Kumar

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/2/2007 7:59 PM Steve in Austin
I can successfully print from an old DOS program to a USB printer using the above recommendations of the "net use" command, and by creating a duplicate printer in XP on LPT1 and enabling printer spooling, but I'm now having problems in a regular Windows program where sending multiple reports to the USB printer results in most of the reports printing, and at least one or a few reports failing. Looking in the printer's status window shows that the failed report(s) was erroneously sent to the LPT1 port (which doesn't really exist) instead of going to the USB port along with all the other reports in that batch (even though within the Windows program is shows that print output will go to the USB printer). Any suggestions on how to fix this problem?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/3/2007 10:11 AM Abbas Fattahian
send for me

# Print to a USB Printer from DOS in Windows XP 11/3/2007 11:55 AM Praveen
I am priting from dos program. having DMP printer EPSON LX 1170 Printer is lpt port but computer atteched by usb port .
usb to lpt port cable use
pls tell me how to print dos dy using this priter

thanks

praveen
09764113399
India

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/7/2007 12:51 AM satish
printer troubleshoot

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/12/2007 7:17 PM Ed Davis
Windows XP home:

I have an Epson Stylus CX7000F attached to a USB port. I named this printer "EPSON-STYLUS".

I created a dummy printer, named EPSON-LPT1, and assigned it to the LPT1: port.

I tried the following "net use" command, but get the following error:

C:>NET USE LPT1: \\%ComputerName%\EPSON-STYLUS /PERSISTENT:YES
System error 66 has occurred.
The network resource type is not correct.

What did I do wrong?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/12/2007 10:18 PM Bcasey
Well I read all of these posts and thought these guys aren't talking about an answer to the question, they're all just trying to showcase arcane and convoluted ways to reinvent the wheel, until I got about halfways through it, then Dos2usb writes Visit http://www.dos2usb.com and you will find the complete solution. I thought well here at least is someone who isn't trying to show off his unappreciated Dungeons and Dragons like mindset, but I figured he's probably trying to sell his software, still I took a look and guess what, a free download!
So I download it onto my laptop, install it and restart my laptop and desktop computer being sure to empty my print queue on my desktop computer because it was all bolloxed up with failed print attempts from some of the other suggestions.
Once I restarted both computers I loaded up my dos program on my laptop and picked one of it's print functions. I get up and walk over to my desktop, and the printer that is connected via USB, and before I even enter the room I hear the printer working.
I'm like kewl! A complete solution just like he said! how refreshing!
So just for laughs I read through the rest of the suggestions and notice a little while later someone else say to try the dos2usb software and it appears like that suggestion got totally ignored too, And I thought people are probably overlooking the dos2usb suggestion because the posts are like one line long and they hardly take up any bandwith on the page. and everyone is actually reading all these long winded explanations probably because they think this problem is so complicated the solution must be at least a half a page long.
So I deciced to make a post with a lot of long winded drivel and to mention Dos2usb and to tell the readers to forget reading about accounting programs running on old 8088 computers still connected to your network via dial up phones from PuertoRico, You aren't going to find the solution in that post! Go to the dos2usb page!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/16/2007 9:01 PM Ran
this application takes care of all printing from DOS.
including Terminal Server printing which NET USE does not help with. you can also print from DOS directly to Email, Word, Fax, HTML, RTF, BMP, JPG and more.
Right to Left Visual to Logical ordering, Add logo, use all windows fonts to print from DOS applications. process output to fit your needs... nice application. recommended.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/16/2007 9:02 PM Ran
sorry, The application is Tao ExDOS, www.taocomputers.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/17/2007 5:25 PM Magdy Abdraboh
I am working in the field of information technology as a technical support and system integrator for barcode and access control systems .Also I have some experience in the field of arabization .

I have the following solutions:

1 – A software solution to run Arabic dos application under windows xp .
2 – A software solution to print from any dos application to the windows printer.
3 – A software solution to convert any Text or DBF files with Arabic code page from dos to windows code page.


If you need this service or software , pls contact me and I will help you .
Also you can help me by sending this email to any user who is still using arabic dos applications.



Waiting for your reply

Best regards
Magdy Abdraboh
magdy_salam@yahoo.com
magdy_salam@hotmail.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/18/2007 11:21 PM Sheikh Nayyer Raza
Sir.
I have adopted the following way but all in false.
Please Guide me.

In order to print from DOS in an offline environment like the stores, you will need to do a couple of things.



1) Install the Microsoft Loopback Adapter

a) In Control Panel, double click on Add Hardware.

b) Click Next

c) When the scan finishes, select "Yes, I have already connected the hardware"

d) Click Next

e) Scroll to the bottom of the list and select "Add a new hardware device"
Click Next

f) Select "Install the hardware that I manually select from a list (Advanced)"

g) Click Next

h) Select "Network Adapters"

i) Click Next

j) Select "Microsoft" under the Manufacturer list.

k) Select "Microsoft Loopback Adapter" in the Network Adapter list.

l) Click Next

m) Click Next

n) Click Finish



2) Configure the Adapter

a) The loopback adapter is a virtual network adapter and can be configured the same as a regular network card.

b) Set the adapter to have a static IP address such as 192.168.1.1/ 255.255.255.0



3) Share the printer.

a) I recommend you use a share name that you will remember. I used “Printer” in the new machines that are already deployed.



4) Capture the printer port.

a) NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES

Nayyer



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/23/2007 2:10 PM Magdy Abdraboh
Printing From any DOS application directly to windows printer( Parallel , Serial and USB Interface )

Installation Steps
Step 1
• Download the setup program from the link :
http://www.4shared.com/file/29349032/4d7869d0/Dos2win_setup.html?dirPwdVerified=7a4c70fc
• Extract the compressed file and run setup.exe to install the software into c:\dos2win directory
• After installation, extract the attached file dos2win.zip to any directory.
• Make sure you have the directories : c:\dos2win , c:\dos2win\prtjobs and c:\dos2win\prtcomp on your drive c:
• Make sure you have a copy of wordpad.exe into the directory c:\dos2win.
• Now you can run the program c:\dos2win\dos2win.exe

Step 2

From Windows XP you will do the following :

• Under Settings/Printers add a new printer. The printer type or model is not important! We will use the printer port only, not the driver.
• Right click on the newly created printer icon. Go into Properties / Ports / Add Port / select Local Port / click New Port / Enter a port name: "C:\DOS2WIN\PRTJOBS\TEST.PRN"., click Close.
• Right click again on the printer icon. Click Sharing on the menu. Then click on Shared as. Input a network name for the printer, something like "DP1".
• Click Start then select Run and type command.com then press Enter Key
This will open the command prompt screen then type NET USE LPT1 \\MyPcName\DP1
Where MyPcName is your network computer name and DP1 is your printer's Share Name .
Later, you can insert this line in a batch file, right before calling your program.
• You can start your DOS program now, and every print gets redirected to c:\DOS2WIN\PRTJOBS\TEST.PRN.
Every printed job will open the WordPad program to view the file before printing but you can ask me to modify the software to print directly without print preview.

Please test this solution and send to me the results

Waiting for your reply
Best regards

Magdy Abdrabpoh
Magdy_salam@yahoo.com
magdy_salam@hotmail.com



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/12/2007 1:27 AM harjeet
dos to usb

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/18/2007 7:54 AM manish
dos to print usb printer printing software/driver

# HOW TO: Print to a USB Printer from DOS in Windows XP Not Connected Lan Card 12/18/2007 9:29 AM virendra bharati
Enthrnet Card Not Connected My pc . I whant usb Printing from Dos in Win Xp Only My pc Not Lan Instrol .


# print Dos file to LPT printer via USB PORT 12/27/2007 12:39 AM Basha
I bought a new comp which have USB ports but no Parellel port. I have dos based package and a dot matrix printer with no usb port. HOW do i print.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/1/2008 7:14 PM Tom
If your new computer isn't a notebook, buy a parallel port card. They are cheap and it's by far the easiest solution. If you've got a notebook, you'll have to follow advice from previous posts ... and then buy a USB to parallel cable ... also cheap.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/8/2008 4:34 PM J
This instruction was very helpful. The posts about using an alternate program specifically DOS2USB speak of customer service problems and I wanted to chime in to say DO NOT BUY DOS2USB!!

I came here specifically because my licensed copy of DOS2USB would not work after I upgraded my hard drive (machine specific license). After contacting the makers of the software I was told I would need to provide them not with the machine specific license but THE ORIGINAL ORDER NUMBER from when I paid for the product a year before.

After extended search in my archived email I was able to supply this number to them, THREE TIMES, and they never responded.

DO NOT BUY DOS2USB. Use this guide or buy any other DOS Printing product but not DOS2USB

# notebook with no parallel port 1/13/2008 6:32 AM Pete
Hello,

I'd like to ask for your help/advice.
I need to buy a notebook and nowadays they have no parallel port, so printer will be connected to via USB. There is a DOS program we still need to use, which prints to LPT by default.

As also described above, with desktop PC its not a problem - personally I use the pooling solution as it seems the easiest for me, but what if a notebook has no parallel port but the dos program prints to it by default?

I have seen that in PCMCIA, you can buy that, but in some forums a read that it doesn't work in this context all the time.

Do you have any ideas?

Many thanks in advance
pete

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/17/2008 11:15 AM Paul Gys
I had printing problems with Dos on XP Pro. What follows is very important altough it is not mentioned on this website. If you capture lpt1 with "net use" YOU MUST DISCONNECT THIS PRINTER first in the XP operating system ! This is different from WIN2000 pro where you must not diconnect LPT in the OS.

How to in XP; (translation from Dutch)
control Panel > System > Hardware > Devices > click on Ports (LPT & COM) > rightclick on LPT1 (or other) > disconnect.
Now "net use lpt1" will work in XP, otherwise you will get error messages.

Regards,
Paul

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/26/2008 5:05 AM Franco
i've succed with the command 'net use lpt1' in stand alone machine,but when i've tried in my network it doesn't work there is error message 'system error 67 has occured','the network name cannot be found'/.
can anyone help me out with this problem pls?

# Dos to USB Print from Windows XP/98 1/28/2008 10:54 AM arab faruk
re: HOWTO: Dos to USB Print from Windows XP/98

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/28/2008 4:35 PM Wolfgang
I use win98SE. I tried to capture LPT1 and redirect to \\127.0.0.1\printer and keep getting "not found" after timeout and when redirecting to \\computer name\printer, with the cpu connected to a live hub, I get error messabe saying can't send to yourself. Any help ?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/3/2008 3:54 AM nitin
how to use
4) Capture the printer port.

a) NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/5/2008 7:54 PM Dirk
I found the instructions in http://www.decompile.com/dataflex/tips/usb_printer.htm to be excellent and clearly written, and by following those instructions, within ten minutes I was able to print a text file from a DOS window to a USB printer without buying any extra software or installing anything from anyone.

However, I still have a problem, since many files I'd like to print contain extended-ASCII characters such as line-drawing characters. W*ndows turns them all into crap and they print that way on the printer. Does anyone know how to get the USB printer to print standard extended-ASCII characters (those with the high bit set) correctly?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/7/2008 11:47 AM shaukat
i am a devloper, intialy a was working in dos and clipper
but now i am developing windows base application, in a package i was realy very disturb, thanks to this utility, i shoul try this.
actuly i am using print-server which is attach to network and from a local machine i want to print from dos base application, if this utility works ill b very happy

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/7/2008 8:28 PM Clipper DOS printing
About printing from Clipper to Windows printers, please see: http://www.printfil.com/article/clipper-print-windows-printer.htm

About printing DOS box-drawing characters (as well as other extended/national glyps) with Printfil: http://www.printfil.com/efaq22.htm

Kind regards,
Davide Guolo
aSwIt s.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/9/2008 9:36 AM Stephen Vire
I have purchased DOS2USB and it works fine for me, however my hard drive crashed and I had to replace. DOS2USB says now it is not licensed and I cannot get the program author to contact me to resolve the issue. If you guys read this blog, PLEASE REPLY TO MY EMAIL TO YOU !!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/13/2008 9:07 AM vipin narula
Dear sir,

How can i print from msdos basis programme to usb printer hp laserjet 3055 directly

Thanks

# how to install a hp photosmart 1750 printer without the cd 2/27/2008 7:21 PM pam
I have a printer without the cd for installing; how do I do this?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/9/2008 9:53 AM subhash jain
dear sir i am having the software in foxpro programe i want to print the data to usb printer hp1018. so kindly help the same to solve the problem andgive the commond line to accept the same

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/13/2008 5:40 AM MR. MARUFALI TIGADI
Sir I have Foxpro Dos base Code earlier i used a dot matrix printer to printer text. but now i have purchase hp inkjet printer in this i am unable to print the ordered information.

please tell me the solution directly from the source code level.

tq.

maruf tigadi
belgaum,
Karnataka,India

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/14/2008 5:32 AM anil sharma
Sir I have Foxpro Dos base Code earlier i used a dot matrix printer to printer text. but now i have purchase hp laserjet usb port printer in this i am unable to print the ordered information.

please tell me the solution directly from the source code level.

regards

anil sharma

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/25/2008 5:58 PM GLL
My problem is the reverse of this. I have a notebook cpu w/usb only and I need to run a program that uses a "key" plugged into an lpt port. Is this possible and with what equipment?

Thanks,
George

# HOW TO CHANGE THE SIZE OF LETTERS 3/26/2008 7:00 AM V.RAMASUBRAMANIAN

We are printing the dos file from dos edit mode thro win xp
to Samsung laser printer but we are not able to change the
size of letter (small or big )

if we give chr(14),chr(15),chr(18) this will change the
size of character to epson dot matrix printer the same
command not working in Samsung Laser Printer .

How to change the charecter size and print to the samsung
laser printer . please guide me

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/26/2008 12:00 PM Alan J
I have been trying to use the net use command to redirect output to lpt2 (there is another printer on lpt1). I get the following results:

copy %1 lpt2 - results in nothing printing.
print %1 /d:lpt2 - prints to the printer on lpt1

Any ideas what may be the problem?

# dos base printing on dmp in laptop not having parellel port 4/3/2008 9:32 AM Sanjeev kumar
i am using laptop which has not a parellel port
i have to print on dot martix printer for dos based printing
is it possible on laptop if yes then please guide me the way to
to such settings

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/10/2008 3:31 AM ATAM PRAKASH METHWANI (INDIA)
I want to print dos base printing (From Foxpro dos or clipper) to usb port printer Inkjet or Laser Jet .

thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/10/2008 3:40 AM ATAM PRAKASH METHWANI
I AM HAVING TROUBLE PRINTING DOS JOBS TO USB INKJET & LASERJET PRINTERS

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/14/2008 8:06 AM anshul mantri
hey i have not yet understand
i dont want that to share at network but i only want my print in usb printer from dos

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/20/2008 3:00 AM RAJU RAUT
dear sir
i want to print from dos based program to usb printer. pls help me.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/22/2008 9:34 AM babubhai
dear sir
i want to print from dos based program to hp leserjet 1020 printer. pls help me.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/24/2008 5:29 AM amreli
hp1010 print dos

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/26/2008 7:58 AM mehul vaishnani
dos 2 usb

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/3/2008 3:37 PM anthonyshelton46
I don,t know what I,m doing.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP from hp 1022 5/5/2008 11:25 AM amul
i want feedback for the same..

i m using lenovo.. dual core...

i want to submit some data... for dos to usb and i m using hp 1022

plz help me for the same

thankyou

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/17/2008 5:44 AM S.K. JHALANI
Dear Sir

I am developing Software Solution on Foxpro-2.6 but ,
my softwares doesn't work on USB Printers Like Laser Printer
Please suggest me some solution for them.

I can also pay some amount for the said solution instantly as
like DOS2USB OR DOSPRN




# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/25/2008 6:41 AM BASUDEV YADAV
I AM CONECT TO tvs printer USB TO LPT THAN ERROR PRINTING , PTRINTING IS VERY SLOWLY

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/26/2008 3:13 AM CHINMOY MAJI
PLEASE SEND ANY SOLUTIONS IN MY EMAIL -CHINMOY_MAJI2003@YAHOO.CO.UK

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/29/2008 1:12 PM BASU
I AM USE TO COMPAQ CPU AND TVS PRINTER | BUT CPU PORT IS USB AND PRINTER PORT IS LPT | I AM INSTAL THE PRINTER PROPERLY BUT PRINT OUT IS NOT PROPRALY ? PLEASE HELP ME |

# report problem 6/3/2008 3:11 AM chandresh
foxpro 2.6 gives print in a file or *.txt, but don't give in window base foxpro 2.6, i want to take print in a file or word.
where i can send the report through mail to my boss.

plz help me.

thanks

chandresh

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/9/2008 3:50 AM DOS print jobs via e-mail
chandresh: Printfil captures your legacy print jobs and even allows you to automatically send them via e-mail as PDF attachments, with or without user intervention.

Please find more info and a trial version to test at http://www.printfil.com

Regards,
Davide Guolo
aSwIt S.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/12/2008 7:56 PM mam_gye
chandresh : try using freeprimo, this freeware installs a new printer in you computer, make it you default printer, then print normally from your program, it will capture your document and convert into a PDF document, that's all, I'm a fox26 programer (DOS) it's a great tool but... some times needs help.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/25/2008 9:24 AM pankaj
even when I give net use lpt1: \\server\printer /y

the HP1050 does not print

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/28/2008 1:00 AM elsa
how can i edit my device id under system files of printer port?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/15/2008 8:28 AM Salman Askari
I want to print Prn dos Files From USB Port Install Dot metrix
printer

when i run my .bat file which having prn cammand it
not print the document from dos application

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/24/2008 3:49 AM derd
rajesh hardware

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/28/2008 3:32 AM ARISTIADIS
Print from dos to usb printer?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/31/2008 4:06 PM Lorie Compoli
Dont do any of the above just download dos2usb.com software install it and your good to go

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/3/2008 12:34 PM dharmendra gohel
dear sir,

i try this one from laptop to Epson LX300+ printer. it running but some time print is not comming. But next time when i start my computer it started printing.

can i use same thing for dos to any Laser printer?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/5/2008 6:10 AM nandlal
i do all think but i codld not gate the print from dos mode
my problem is my printer is DMP. and i will conect to USB cable and i use my dos software so i can nat take the print

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/12/2008 2:44 AM Gary Raynor
You can use utilities like File2PRN.exe or WFil2PRN.exe to copy files to any type of printer - including USB printers. See
http://www.procon.com.au/Utils.htm

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/13/2008 3:21 AM pankaj
thanks, it is working, thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/20/2008 10:43 PM RANDY PALMIRA
I'd tried share my printer and command on cmd net use lpt1.. it's work my usb printer but i got a problem because the line on my report it became ascii Character

# take a window foxpro 2.6 report in winword 8/25/2008 6:01 AM chandresh
i want to take window foxpro 2.6 report in word,

plz help me, how is it possible.


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/25/2008 5:38 PM Ric Chalmers
There is a small utility which allows to DOS programs print to the any Windows printer and emulates drivers for matrix printer (Epson FX-80 and similar). It works correctly with my Foxpro programs.

If you have any problems you can contact authors. They answer quickly.

You can download this program from http://www.dosprn.com


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/27/2008 6:58 AM kbs
This i'll try at home, but what will happen when the System gets formatted??

# re: I AM FINDING THE DOS COMMAND FOR USING THE PRINTER WORKCENTRE M118 IN DOS 8/29/2008 9:30 AM PRANAB DAS
I AM FINDING THE DOS COMMAND FOR USING THE PRINTER WORKCENTRE M118 IN DOS

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/1/2008 7:34 AM Barathi
Dear Sir
I have *.txt files.
I want to print in USB port to parallel port printer through dos prompt. (laptop which is not having parallel port)
eg. >type filename.txt > prn
but it is not printing.
please help me


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/1/2008 7:35 AM Barathi
Dear Sir
I have *.txt files.
I want to print in USB port to parallel port printer through dos prompt. (laptop which is not having parallel port)
eg. >type filename.txt > prn
please help me to find the solution for the same


# How to print a word document in dos prompt 9/2/2008 8:04 AM Jyoti
Hi
I have typed a document in Word and I want to take a printout in Dos Prompt. Is it possible?

If its possible then could you please tell me the procedure?

Thanking You,

Regards
Jyoti

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/2/2008 12:28 PM Daniel
@Rod

I know the reply comes 3 years late, but better late than never. The problem you are having is possibly because your printer is a windows-only printer, i.e.: it doesn't have a spooler CPU, but all the spooler is managed through Windows. Therefore, you cannot print from MS-DOS programs because they assume that your printer has a proper CPU capable of controlling the spooler, not a "dumb-printer" that needs to be managed via Windows because it cannot work by itself.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/8/2008 12:35 PM Davide Guolo - @SwIt Printfil
Daniel,

that's exactly the utility of Printfil. It automatically captures the source DOS job and converts it into a Windows GDI print job.
This allows your DOS programs printing to GDI (AKA Windows-only) printers, as well as to virtual printers, like PDF writers and fax-printers.

Please find more info and a free trial version to download at http://www.printfil.com

Regards,
Davide Guolo
aSwIt s.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/11/2008 1:05 PM Rajeev Aggarwal
I got successs to print to the hp printer but command don't work on Samsung 4521 four in one printer. How Can I do it .

# re: HOWTO: Print to a dotmatrixPrinter from DOS in Windows XP 9/12/2008 6:30 AM anand
pl give me solutions

anand

# re: HOWTO: Print to a dotmatrix Printer from windows in Windows XP 9/22/2008 1:23 PM DevPrakash
i am trying to give a print from my Tvse MSP255 printer in windows XP but whenever i give a print the print goes offline.i changed the parallel mode options in the BIOS settings still it doesn,t worked,theni tried in the cmd mode also (dir>prn) there also it,s going offline, pls tell me what could be the problem.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/25/2008 2:21 AM NARESH PANCHAL
i have dot matix prtiner lpt1. i use laptop. i want print from dosbase software from usb port on dot matix printer

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/1/2008 12:20 PM satish Gowda
I have connected a network printer through
NET USE LPT1 \\comp name\printer name /persistent:yes
print file transfering from local computer to network printer on server where printer is connected but not printing it save in printer buffer

But how to print to a local USB Printer through DOS

How to convert/ divert LPT to USB

Thanks


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/7/2008 11:39 AM Maurice Dyke
I have written a freeware program X2USBP which can be used to print to USB printers in the DOS command windows of W98, WXP, and VISTA. It can be downloaded at X2TEK.COM

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/8/2008 7:27 PM Eske Rahn
Please note that the simple solution with printer pooling might fail if you don't have a lpt1:, or if it reacts as a sink.
On my old x41 it works perfectly docked (and parallel port not used of course)
But it doesn't work un-docked.

The above description is more complicated than needed though. You do NOT have to add the printer on lpt1. Just open the USB printer, ports, enable printer pooling, tag Lpt1, and click Ok.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/11/2008 5:14 PM Sami-Omran
my proble is Double in one
how to print to usb printer by arabic dos font page nafitha 720 from dos Application ? i think it is Unpossible is it ?!!!!!!!!



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/28/2008 11:31 AM hamidi
this is ok

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/28/2008 11:32 AM hamidi
filkxklahud udywsuydtc ljhdsut6uw hkshdls

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/28/2008 11:35 AM Amin
hi all;

what about command line switch for "printfil" or "dos2usb" ?

or

how can i pass a filename to "print to file" dialogue box ?

any body knows?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/6/2008 12:50 PM sarfraz ahmed
i have a permanent solution if u r interested call me at this number 09835936446. (New Delhi India)

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/14/2008 1:36 AM George
Excellent - After an hour using Google I found this way of getting an IP address without any network adaptadors. Thanks!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/15/2008 8:09 PM Joisey
OK
but I need to connect a new usb hp printer to the paralled port of a windows 98 computer which has no usb support, so that both windows and dos programs using LPT1 output to the new hp all in one ink jet.
any suggestions,,,,,,

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/21/2008 1:26 PM Printfil: print from DOS to file
Dear Amin,

why should you need command line switches for Printfil ?
Perhaps this man page may help you with your print-to-file needs: How to archive print jobs

For any further question, please do not hesitate to contact us directly at the Printfil Support Page

Kind regards,
aSwIt s.r.l.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/23/2008 4:03 PM Ventura
Hi. I have the same problem as Bob and Micky. After some time (I'm not sure if after first print) the print share becames "Disconnected". Its a EPSON LX300 with a print server connected from 3 XP PCs with "net use" command as administrator. I made a batch file "reconlpt.bat" to "net use lpt2 /d" and "net use lpt..." again, to be called before every print, but some times it stops the "net use lpt2 /d" by pending works.
Hey Bob or Micky, did you solved your problem ? Anyone has any ideas ?
Thanks
Ventura

# re: HOWTO: Print to a USB Printer from DOS in Windows Vista 11/28/2008 11:49 PM Hoa Nguyen
can you show me how to print Qbasic IN Vista environtment

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/1/2008 3:33 AM Vishal
Hi ,
My usb print work in dos and working properly but my printer not work in any dos application like batch file, dos base busy software and another dos base applications. Pls help me

thanks.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/11/2008 6:08 AM Dharmen
We sucessfully run LPT1 printing on USB port by using NET USE command :
If you are in truble to get pringing of LPT to USB please take stapes :
START>RUN>CMD
TYPE "NET USE LPT1: \\[COMPUTER NAME]\[SHARE PRINTER NAME] /PERSISTENT:YES

IT WORKS: BUT PROBLE OCCURED THAT:
WE USE IN OUR PROGRAMME CHR(14), CHR(15) OR OTHER CHR(...) FOR BOLD, ITALIC, ENLARGE FONTS WHICH IS COMFORTABLE AND SUCESSFULLY PRINT ON DOT MATRIX PRINTER. BUT NOT WORK ON USB PORT:

SUGGEST ME HOW TO PRINT THE SAME:
MY EMAIL ID IS softnetamgaon@gmail.com

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/15/2008 1:48 AM Raguraman.S
The have tried with below given commands but i am getting error on second step.

C:\> net use lpt1: \\accounts\jao presistent:yes

C:\> print /d:\\accounts\jao C:\tasl.txt
unable to intialize device \\accounts\Jao

Kindly suggest me somebody else to solve this error.

Regards,
S.Raguraman

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/16/2008 12:58 AM anand mishra
how to use hp1000 printer for dos program C

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/16/2008 12:59 AM anand mishra
how to use hp1000 printer for dos program C

Kindly suggest me somebody else to solve this problem

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/17/2008 8:56 AM Amol Patil
Dear sir,
My problem is Actually m using Epsonlx300+II and my problem is printing dos to usb plz solve imidiatly

regards
amol patil

# Hw to delete USB Printer from DOS in Windows XP 12/18/2008 10:00 PM Ravi
I was able to install network printer to print dos file using "net use lpt1: \\127.0.0.1\printername"

How do I delete the net printer and make parrarel printer to print from dos istead of rebooting.

Also would dos files with ecsp2 codes for epson work on new laser printers?


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/20/2008 7:50 AM Saravaneshwar
20.12.08

Hello

I am seeing many people still having problem. Do the following after installing your USB laser printer.

1. Create a new dot matrix printer or the one compatible to your software to LPT1.

2. go to properties of dos printer and change the port to usb printer port

3. Share this dot matrix printer for mapping

4. map lpt1: to the shared dot matrix printer
(net use ltp1: /persistent:yes)

5. to remove the lpt1: mapping with out restarting
(net use lpt1: /delete)

Regards

Saravaneshwar
India.

Happy printing to USB from DOS.



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 12/23/2008 8:09 AM Steven
Hello,

Anyone tried this?

In Windows
1) Install the printer in windows.
2) Close all programs
3) Click on "Start"
4) Choose "Settings" then "Printers and Faxes"
All of your printers should now be listed.
5) Do a "right mouse" click on your printers name
6) Choose "Properties" from the popup menu
7) Click on the "Ports" tab at the top
8) Write down the name of your USB port name (just incase)
9) Click on the "Enable Printer Pooling" checkbox
Note: This should put a checkmark in that box.
10) Now scroll up or down through all of your listed ports
and click on the "LPT1" port to place a checkmark in it.
Note: You should now have 2 ports selected - USB & LPT1
11) Click on “Advanced” tab.
12) Click on “Print Processor..” button.
13) Select “TEXT” from “Default datatype:” list.
14) Click “OK”
15) Click on "Apply" and "Ok".
16) Restart your program and try printing.


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/7/2009 2:07 PM SoapStop
How about from Vista? Anybody have any good ideas. DOS program, recognizes LPT1 only. New computer with Vista, no Parallel printer port, only usb on computer. Printer has a parallel printer connection only. Back in XP, I could "net use" the port to fake out the DOS program to print to a "virtual" LPT port, but it was always at another computer that was "shared". I can't get Vista to print out even a test page to the Dot Matrix printer I have connected to it (via a USB to Parallel cable) with driver loaded, etc etc. Any ideas out there?

Robin

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/15/2009 4:17 AM Chandan Karmakar
Dear sir,
My problem is Actually m using HP Lasear Jet 1020 and my problem is printing dos to usb plz solve imidiatly

regards
Chandan Karmakar

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/18/2009 1:15 PM Sanjaya
Thanks to Steven.

your tips works like charm:

>Hello,

Anyone tried this?

In Windows
1) Install the printer in windows.
2) Close all programs
3) Click on "Start"
4) Choose "Settings" then "Printers and Faxes"
All of your printers should now be listed.
5) Do a "right mouse" click on your printers name
6) Choose "Properties" from the popup menu
7) Click on the "Ports" tab at the top
8) Write down the name of your USB port name (just incase)
9) Click on the "Enable Printer Pooling" checkbox
Note: This should put a checkmark in that box.
10) Now scroll up or down through all of your listed ports
and click on the "LPT1" port to place a checkmark in it.
Note: You should now have 2 ports selected - USB & LPT1
11) Click on “Advanced” tab.
12) Click on “Print Processor..” button.
13) Select “TEXT” from “Default datatype:” list.
14) Click “OK”
15) Click on "Apply" and "Ok".
16) Restart your program and try printing.





# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/19/2009 5:05 AM ABRAR hUSSAIN
i have don all setting but the printer give some text missing
so please help in this Regards


Abrar Hussain

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 1/21/2009 6:55 AM Lucas
Hi!
I'm in Romania, and I have a problem from Vista!!
I can't get Vista to print in DOS mode(LPT1) from networking-printer( EX: 192.168.1.100=Printer).
Still having problem , I using ---> net use lpt1 , but ????
Regards,
Lucas.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/1/2009 2:46 PM Tim Meddick (Peckham)
I have a HP Deskjet 1500 USB and wanted to print from within the DOS prompt. I first tried all the steps from "Dave" installing LOOPBACK, NET USE..., etc., But although the document showed up in printing document properties, it failed to print.
Further to the additional advice from "Steven", for me it was only the Print Proccessor setting that was cuasing it to fail. When I changed it to "winprint" and TEXT as default data type it worked okay. Enableing printer pooling had no effect except to jam HP's Ink Level display tool from "comunicating with the device". I don't know what may happen changing the Print Proccessor setting from "hpzpp5mu" to "winprint" I guess I'll have to wait and see!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/1/2009 2:59 PM Tim Meddick (Peckham)
I have a HP Deskjet 1500 USB and wanted to print from a DOS prompt. After doing all the steps offered by "Dave", installing LOOPBACK, NET USE..., etc., although the document then showed up in print document properties it failed to print.
Further to the advice from "Steve" it was the Print Proccessor setting that was causing it to fail. After setting it from "hpzpp5mu" to "winprint" and TEXT as the default data type, it started to work fine! Although, the step of enableing printer pooling had the undesired effect of not allowing the HP Ink Level diagnostic to "communicate with the device", but had no effect on printing.
I don't know what long term bad effects changing the Print Proccessor will have in the future, but I can't see any at the moment.
Thanks to both Dave and Steve.

# re: HOWTO: Set Various Fonts to Desljet Printer from DOS in Windows XP 2/12/2009 9:40 AM Swati Joshi
I am using DOS Based Foxpro 2.5. I have been using the font setting commands like chr(15), chr(18), etc. for dot matrix printer, but these do not work for Deskjet or Laserjet printer. Can any body suggest any soluction, please.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/17/2009 3:19 AM Ajeesh
I have a Lexmark Z600 printer and wanted to print from DOS prompt.I had mapped printer as lpt1 by using net use and its showing in pending documents as 'Local DownLevel Document' and it will be deleting automatically after some time.Can anybody give a solution

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/18/2009 8:20 AM Ljubisa
Hvala. Puno ste mi pomogli.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/21/2009 11:45 PM dlkantharao
Sir
I have Foxpro dos base code earlier i used a dot matrix printer to print text file, but now i purchased Compaq Atom Processor Computer, It is having only USB Ports. In this i am unable to print the text file

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 2/23/2009 11:46 PM umapati
I am using dos2usb software.It works very nicely without any pain or setting.Get it from here..http://www.dos2usb.com/index.htm.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/13/2009 11:07 AM Smishad
Dear

I am smishad. My printer is HP Deskjet F380 All-in-one.

Please help me

Regards,

Smishad


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/19/2009 12:26 PM Jimbo
I did the loopback adapter and did the NET USE LPT1 command and everything works great, but when I shut down my computer it is no longer connected and I have to put the command back in. How do I prevent this from happening? Thanks for all the information. Jim

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 3/26/2009 7:17 AM Americo Patetta
Precise and helpful (and icredibly free!). Thank you very much.

# re: HOWTO: Print to a DMP Printer from DOS in Windows XP through USB cable convertor in Desk Top & Laptop 3/29/2009 2:53 AM Manoj
Resp. Sir,
I have 1 DMP LQ DSI 5235 (Wippro). Kindly give me its solution & Drivers (free of cost).
Thanking You.

Yours,

Manoj


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/2/2009 10:57 AM francis
The loopback adapter thing works perfectly well for me but the problem i have is where i have lines/underline in the Dos report some characters are printed instead of the line.

Can someone help me out?

# HOWTO: Print to a USB Printer from DOS in Windows XP 4/10/2009 6:21 AM SOYEB
Dear Sir,

How to print on HP Laserjet 1018 Printer from dos prompt and how can print foxpro programme report on HP Laserjet 1018 Printer f

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/15/2009 9:26 AM sai
dos 2 usb software support in winxp demo

# re: How Print to a USB Printer from DOS in Windows XP 4/21/2009 9:59 AM abdul
My accounting software doesnt support USB port but my system with hp1300 lazerjet installed doesnt have parralel port. Help me to configure the printer to print through LPT1.
Thanks in advance GentleMen

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 4/27/2009 2:12 AM Ashok Saini
Dear SIR,

i have core 2 duo system and LPT port is not here and i have a printer HP Laserjet P1007. so i want print from DOS so tell me How Can Possible it?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/15/2009 8:11 AM Suyog
hello;
i'v toshiba satelite m800 d3311 laptop installed winxp with sp2
i dont have printer post on its that why i'v purchased usb to printer port covertor i can print from windows but not able to print from dos is there any solution to get print from there i'v epson lx-1170 dotmarix printer as my billing software requred dos print i need solotion badly !

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/16/2009 4:19 AM Joseph Rutere
I have tried this and it has worked, thanks Dave and all others for this solution.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/18/2009 4:00 PM djamloops
So here is what I did to eliminate the need to change the printer settings/processor and provide 100% compatibility for all printers.

1) Share the local Windows printer (interface is irrelevant)
2) From the command prompt issue the "net use" command (NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES)
3) Add a new local printer (uncheck Auto Detect), select LPT1:, find the "Generic/Text only" printer listed under the Manufacturer "Generic".

Voila. You now have a DOS printer that can be redirected to ANY PRINTER, CONNECTED TO ANY PORT!!!!

And best of all, is FREE!!!



# re: HOWTO: Print to a USB Printer from DOS in Windows XP 5/21/2009 3:21 AM Alon
You can also use the Tao ExDOS 2009 software, which solves all the DOS printing woes, to any printer, including fax, PDF and image files.

http://www.taocs.co.il

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/1/2009 1:08 AM weili
i want print use nokiprint but my operating system Windows XP how i can print if nothing driver because the nokiprint just design use application warnet

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/3/2009 6:41 AM Rakesh Bhardwaj
Yes, you can print a .prn files created with same printer driver where you want to print the file. For this purpose you only need to have a software called Initial Heidelberg Digimaster Print file Downloader.
For more info visit the following link

http://advancetechnology.today.com/2009/02/13/print-through-prn-files-through-usb-printers-attached/

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/21/2009 9:11 PM Bart L Madriaga
Thank you Dave. Printing was successful We now can print DOS-based FOXPRO program using USB port.
Great day ahead, God bless

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/22/2009 1:50 PM Kayla Dallinga
I have a bit of an odd problem, and I think you might be able to help. I am connecting an Zebra Label printer printer to an XP machine, however, it has a parallel connection on it, and the machine it's connected to only has USB. I've used an adapter, however, my POS doesn't know how to talk to the USB port. I'm using Windss btw. Any ideas on how I can get them to talk?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 6/26/2009 11:31 AM Leah
Thanks Dave. This was very helpful. I am glad to see that it works.

-Leah

# Draft mode printing in USB Printer 7/6/2009 8:09 AM Jignesh Sheth
I want to print draft mode printing in USB Printer in VB 6.0. Please guide me what should i do?

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/10/2009 8:04 AM Anitya Sharma
exellent command

# Good site 7/10/2009 1:55 PM Chrisitano
Hello, I'm Christiano, glad to be a member :)
Just want to say thank you very much for the information.
I found it very useful for my project
and i will follow your post to find more and more useful information.
Best regards, Christiano, Alabama.

# Good site 7/12/2009 12:41 PM diana27
wooooo hi! nice
take care about your health.
buy drugs online
regards.





# Good site 7/12/2009 6:50 PM weightloseherpes
hello, this is an information dedicated to:
Weight lose buy xenical online
Herpes hpv cure hpv herpes treat

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/14/2009 2:40 AM Cheap Used Dell Computers
I have don all setting but the printer give some text missing
so please help in this Regards.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/27/2009 5:11 PM web tasarımı
I have don all setting but the printer give some text missing
so please help in this Regards.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 7/31/2009 6:19 AM hareram chauhan
i want to do dos print on usb cable

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/18/2009 11:13 AM Matt
Google rulz!

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 8/25/2009 1:48 AM kailash puri
sir i am able to print from dos in inkjet printer but it is printing without changing any font like condensed = chr(15),chr(18) etc...please help me out for this solution

thans


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/10/2009 5:24 PM Nate
okay So I have a more interseeting problem. I am running a program that is dos based on a computer that does NOT have windows. The software is dumb its only print function in the software is just print. I cannot select which printer to choose from. Currently it comes with a dot matrix printer. Is there a way to print to a USB laser jet without having windows on this machine. The machine is dedicated for some expensive instruments

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/13/2009 2:50 PM Calvin Chan
oh, it works! thanks!

# re: HOWTO: Print to a lpt Printer from DOS in Windows XP 9/15/2009 11:15 AM Shameer
HOWTO: Print to a lpt Printer from DOS in Windows XP

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/25/2009 3:25 AM vishal
I connected printer via network following command
Net use LPT1: \\computername\printersharename
i just delete this printer, what I do?


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 9/26/2009 2:53 AM external hdd drive
I wonder If this turotial is actual.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/3/2009 2:59 AM radha krishna
I am using DOS Based Foxpro 2.5. I have been using the font setting commands like chr(15), chr(18), etc. for dot matrix printer, but these do not work for Deskjet or Laserjet printer. Can any body suggest any soluction, please.


# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/3/2009 4:04 AM radhakrishna
I am using DOS Based Foxpro 2.5. I have been using the font setting commands like for dot matrix printer, but these do not work for Deskjet or Laserjet printer. Can any body suggest any soluction, please.


# how to print dos program to usb printer 10/6/2009 5:06 PM tamara
problem: Epson Stylus CX 420 printer will not allow me to print from my dos program...no erro message ...just nothing..

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/14/2009 12:03 PM Kris
Can I use an IP address in place of the \\[Computer Name] in the net use command?

# i want to print a usb printer from dos 10/16/2009 1:00 AM CHANDRAKUMAR
please send immediate reply with fully details

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 10/24/2009 9:31 PM bibhas guria
thaks for help.

# HOWTO: Print to a USB Printer from DOS in Windows XP 10/29/2009 9:47 AM Manish
I have HP laser printer. my application is in DOS. Some report generate directly to printer or in PRN files. it does not support the printer. Kinly suggest how can i print report in laser printer.

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/2/2009 5:28 AM Morten G. Jensen
Thusand times thanks for your advises - great help.

To: Manish - just do as Christogher Lent write - and save it in a "bat"-file. Then you just run this little program before you start you dos-app - and verything you send to a lpt-printer will do as described. GREAT

# re: HOWTO: Print from DOS to Windows Printer 9/19/2005 8:20 AM Christopher Lent

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/5/2009 1:02 AM Gautham S
Hi,
I have got a sotmatrix printer where in only the USB support is there for the pinter. I have connected and shared the printer epsonlx as the share name. In command prompt i have given ""C:\>net use LPT2 \\testing\epsonlx /Persistent:Yes "". But when i give dir > prn it is not priniting anything. I also tried dir > lpt2 then also nothing is happening. Can u suggest me what i need to do.

Thanks in Advance

Regards
Gautham S

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/7/2009 3:43 AM Ravi Sharma
I have connected a network printer through
NET USE LPT1 \\comp name\printer name /persistent:yes
print file transfering from local computer to network printer on server where printer is connected but not printing it save in printer buffer

But how to print to a local USB Printer through DOS

How to convert/ divert LPT to USB

Thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/7/2009 3:44 AM Ravi Sharma


How to convert/ divert LPT to USB

Thanks

# re: HOWTO: Print to a USB Printer from DOS in Windows XP 11/19/2009 12:11 PM Jesse S
If I have a serial port printer connected to a usb converter will my dos software allow me to find it and print to it?

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: