Re: Print from command line



Pegasus \(MVP\)
07-09-2005, 11:21 PM
"Bill" <acadeckiatinsightbbdotcom> wrote in message
news:emtWYIaVFHA.3184@TK2MSFTNGP15.phx.gbl...
> I am running XP Pro and I was wondering if anyone can tell me how to print
> to a usb printer from the command line. I know i can for example type in
> from the command line "systeminfo > lpt1" to print to a printer connected
to
> the traditional printer port, but how can I do the same thing with usb?
I've
> tried "systeminfo > usb001" to try this, it appears to go through fine but
> nothing prints. My printer is an HP Deskjet 3520. Any help is appreciated.
>

You can print any text file on your default printer with this
command line:

notepad /p c:\systeminfo.txt

Bob I
07-09-2005, 11:22 PM
That's interesting Pegasus!

Last week I set up a similar "bat" file up for a user

dir *.* /on > c:\filelist.txt
notepad /p c:\filelist.txt


so she could drop it into any folder and print a listing.


Pegasus (MVP) wrote:


> You can print any text file on your default printer with this
> command line:
>
> notepad /p c:\systeminfo.txt
>
>


Re: Print from command line