[Cialug] OT: Printing to a network printer (resolution)

Morris Dovey mrdovey at iedu.com
Wed Jul 29 20:30:17 CDT 2009


Morris Dovey wrote:

> ...can't figure out how to send print data to it from my application 
> running in a DOS window under XP. I can send the data to the screen or 
> to a file, but haven't a clue how to get it to the printer.

C:\usr\mrd\src\utl>net use lpt1 \\MORRIS\LexmarkC /persistent:yes
The command completed successfully.

# MORRIS is my machine name
# LexmarkC is the share name

C:\usr\mrd\src\utl>dir > lpt1:

# Test: print a directory listing (It worked!)

Many thanks to all who helped/encouraged. :)

-- 
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
http://www.iedu.com/DeSoto/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mrdovey.vcf
Type: text/x-vcard
Size: 22 bytes
Desc: not available
Url : http://cialug.org/pipermail/cialug/attachments/20090729/668c0a0d/attachment.vcf 


More information about the Cialug mailing list