Hi marvaf,
Here you go -
HOW-TO
How to print to a network printer from an MS-DOS-based program in Windows XP:
Method 1
"Use the net.exe command to establish a persistent connection."
Method 2
"Print directly to the printer share..."
http://support.microsoft.com/?kbid=314499
Windows XP TechNote: Printing:
"If you want to connect to a shared printer on Windows XP, using DOS,
Windows 3.x, or from a DOS (16-bit) application under Windows, you
need to map an LPT port to the UNC path using the NET command. For
example: net use Lpt3 \\printserver\printershare"
http://www.techexams.net/technotes/xp/printing.shtml
>>>>>>>>>>
SHAREWARE
DOSPRN 1.76:
"DOSPRN allows you to use a good old DOS program with new printers
irrespective of their types (Yes, USB and network printers,
print-servers, and PDF-printers too!)"
http://www.dosprn.com/
>>>>>>>>>>
Additional Link:
How to troubleshoot network printing problems in Windows XP:
You cannot print from a 16-bit MS-DOS-based program
http://support.microsoft.com/default.aspx?kbid=314073
DOS Tips in XP:
* Windows XP cmd tip (DOS isn?t dead... it just smells funny) Some
command-line folder creation examples:
* To create multiple folders at once, add them directly to the "md" command:
* C:\> md this is a test
* To create a folder several folders deep, use:
* C:\> md this\is\a\test
* Creating a folder with a long name requires the double-quote at the beginning:
* C:\> md "this is a test
* Bonus tip: Windows XP supports the forward slash "/" as a folder
divider. Unix/Linux users: don't let the DOS environment get you down.
Use a Unix-style CD command to change your present working directory:
C:\> cd Windows/system32/drivers/etc"
http://www.onecomputerguy.com/windowsxp_tips.htm#dos_tips
I hope I've been able to help get you up and printing - I've not done
this myself but it sounds good. If you have any questions, or if I've
misunderstood your question, please post a clarification request
before closing/rating my answer and I'll be happy to reply.
Thank you,
hummer
Google Search Terms Used:
windows dos xp lpt printer network |