logo

how to capture the dos print job from dos and send to usb windows print (VB 6.0)
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)
Reply    Reply Using Power Editor
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0
What do you mean "dos print job"?
Nenad Prekupec provided a rated reply to Ranjit Dutta on 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.

Reply    Reply Using Power Editor
Nenad Prekupec, is M.C.S., MCSD for .NET, worked in IT over 15 years with different programing languages (assembler, C/C++, Pascal and others) and databases (MS SQL, Oracle and others). Lately working as Head of R&D department. Programing is his passion as are playing guitar, painting and on-line socializing.

Visit: www.cting.hr if you wish to contact me
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0

dos prints to usb printer ports
Ranjit Dutta replied to Nenad Prekupec on 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
Reply    Reply Using Power Editor
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0

I woudn't want to sound discouraging
Nenad Prekupec provided a rated reply to Ranjit Dutta on 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.
Reply    Reply Using Power Editor
Nenad Prekupec, is M.C.S., MCSD for .NET, worked in IT over 15 years with different programing languages (assembler, C/C++, Pascal and others) and databases (MS SQL, Oracle and others). Lately working as Head of R&D department. Programing is his passion as are playing guitar, painting and on-line socializing.

Visit: www.cting.hr if you wish to contact me
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0

usb printer
sundar k provided a rated reply to Ranjit Dutta on 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

 

Reply    Reply Using Power Editor
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0

dos2usb print
N.S. Rao replied to sundar k on 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.

 

Reply    Reply Using Power Editor
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0

there is a tool for capturing dos print jobs
Augi Nokomodo provided a rated reply to Ranjit Dutta on 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

Reply    Reply Using Power Editor
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0


Didn't Find The Answer You Were Looking For?

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos










  $1000 Contest    [)ia6l0 iii - $228  |  Jonathan VH - $161  |  Huggy Bear - $135  |  F Cali - $95  |  egg egg - $94  |  more Advertise  |  Privacy  |   (c) 2010