[dba-Tech] Printing from DOS to a networked Windows printer

Jim Lawrence accessd at shaw.ca
Sat Sep 28 16:59:56 CDT 2013


Hi Gustav:

Thank you for that. I was planning on doing some serious testing next week...

Jim

----- Original Message -----
From: "Gustav Brock" <Gustav at cactus.dk>
To: dba-tech at databaseadvisors.com
Sent: Saturday, September 28, 2013 2:09:42 PM
Subject: Re: [dba-Tech] Printing from DOS to a networked Windows	printer

Hi Jim

To list ressources: Net view \\servername

First, map the printer with: Net use LPT1: \\server\printername

Write to the printer:

copy d:\filename lpt1: /b 
or:
print /D:lpt1 d:\filename

/gustav

>>> accessd at shaw.ca 28-09-13 19:23 >>>
Hi All:

If any of you have some techniques for printing to a Windows network printer from the command prompt I would be interested in knowing. Any other related issues I would also be eager to know.

There is a lot of stuff out on the web about such processes but I have a time limit to come up with the best and most flexible method for accomplishing this. Any suggestions or/and sample code would be greatly appreciated.

MTIA

Jim 

_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com


More information about the dba-Tech mailing list