Tech Support > Computers & Technology > Quickbasic sub routine to acess HP ink jet and print
Quickbasic sub routine to acess HP ink jet and print
Posted by none@none.com on December 5th, 2005


Does anyone know of a subroutine for Quickbasic whch will
open an HP inkjet to permit printing
Thanks

Posted by Trax on December 6th, 2005


none@none.com wrote:

|>Does anyone know of a subroutine for Quickbasic whch will
|>open an HP inkjet to permit printing

Do you know the escape codes for the printer? If so just print the
appropriate one to the device.

Are you going to program it yourself? or asking for one? Finding one
might take sometime' writing one yourself is a great start in
programming as this type of program is very simple.


--
Hubble DVD's - Free downloads
http://www.spacetelescope.org/videos...ve/topic/dvd//
Hubble Hall of Fame
http://www.spacetelescope.org/images/archive/bestof/

Posted by Toolman Tim on December 6th, 2005


In news:kfo9p158ka9efcu1h9nosfqkqc13t4j0vd@4ax.com,
none@none.com spewed forth:
Is this a problem because your HP is connected via USB? HP should be fine if
you are on a standard LPT port.

If it *is* USB, I think you can set it up with the Net Use command. In
Windows, SHARE the printer. Make a note of the printer share name and the
computer name. At the DOS prompt, type: net use lpt1
\\computername\printername <enter>

Then run Quickbasic. That may work for you...I don't have QB installed here
at home, so I can't test it.

--
Not that morphing fool...



Posted by none@none.com on December 6th, 2005


On Mon, 5 Dec 2005 18:05:04 -0800, "Toolman Tim"
<no.spam.for.tcm@my.email.is.invalid> wrote:

The port is DOT4_001

I don't know how to use this to make
printer print a string value using Quickbasic
Could you help me ?
Thanks

Posted by Quirk E. Dude on December 6th, 2005


In news:nd6ap11438albqk94eki23nt6ua6h02ufk@4ax.com,
none@none.com spewed forth:
That is the USB port. The information Toolman Tim posted (which you snipped
out) covered that exact problem. Share the printer, Net Use LPT1 printer.

--
We put the "K" in "Kwality"!




Similar Posts