search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other VB 6.0 Posts   Ask New Question 
how to capture the dos print job from dos and send to usb windows print
Ranjit Dutta posted at Wednesday, February 13, 2008 2:05 AM
    i would like to capture the dos print job from dos and send to usb windows print job (i.e. printers like deskjet and laserjet USB port)

 
  What do you mean "dos print job"?
Nenad Prekupec replied to Ranjit Dutta at Wednesday, February 13, 2008 8:03 AM
Do you mean DOS console application inside Windows OS or just plain DOS somehow calling Windows print job?

To be able to play with interrupts and all that low level programing in DOS/BIOS you'll have to learn assembler for particular CPU you wan to support.
Without proper libraries (to link your application) I don't think you will be able to do something with VB 6.0.

 
dos prints to usb printer ports
Ranjit Dutta replied to Nenad Prekupec at Wednesday, February 13, 2008 8:57 AM
we are using many dos applications that needs to print but it only print through lpt1 port.

now we are using usb port printers

we have tried other programs to print those jobs in usb port, but not comfort

now, i would like create a program who capture all those dos print jobs that goint to lpt1 port and send to usb port where i define.

is that possible can do all this things. i m not a programmer but i have made several small applications, now i would like to try this

thx
 
  I woudn't want to sound discouraging
Nenad Prekupec replied to Ranjit Dutta at Wednesday, February 13, 2008 10:27 AM
but I'm afraid you won't be able to do it because you don't have driver for USB device under DOS (I have never heard for one), but maybe someone had written it already... try to search the net maybe you'll be able to find something, I would only suggest that you try to search c/c++ resources for that.

As for Windows application I think you could do something under windows as there is USB driver support, but mixing DOS application and Windows also could be a problem.
 
  usb printer
sundar k replied to Ranjit Dutta at Wednesday, February 13, 2008 12:22 PM

I just found this site while googling, hope it helps!

HOWTO: Print to a USB Printer from DOS in Windows XP

http://geekswithblogs.net/dtotzke/articles/26204.aspx

 

 
dos2usb print
N.S. Rao replied to sundar k at Wednesday, March 12, 2008 11:19 AM

Happy evening!

you can do it by using  DOS2USB software.. this is a small installation file. you can search it on net.

 

 
  there is a tool for capturing dos print jobs
Augi Nokomodo replied to Ranjit Dutta at Saturday, March 22, 2008 8:32 PM

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)

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

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