Computing.Net > Forums > Disk Operating System > lpr in batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

lpr in batch file

Reply to Message Icon

Name: seynabou
Date: January 20, 2005 at 07:57:22 Pacific
OS: windows 2000
CPU/Ram: p IV
Comment:

hello
I'm trying to run a LPR command in a batch file with this and it is not working

lpr -S 192.168.100.228 -P auto C:\test.txt

the same command works in the DOS prompt. What Am I doing wrong?
Thanks




Sponsored Link
Ads by Google

Response Number 1
Name: SkipCox
Date: January 20, 2005 at 14:40:05 Pacific
Reply:

You're saying it works from the command prompt (no dos in Win2000) but doesn't work if you click on it in Windows?

I think you'll have better luck getting an answer in the Windows 2000 forum.

Likely a pretty easy question for a W2K user.

Skip


0

Response Number 2
Name: Mechanix2Go
Date: January 20, 2005 at 18:59:13 Pacific
Reply:

Where is the batch file and from where are you typing it in?

M2


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


USB2.0 external DVD write... DOS problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: lpr in batch file

What does the % mean in batch files? www.computing.net/answers/dos/what-does-the-mean-in-batch-files/5925.html

Variables in batch files www.computing.net/answers/dos/variables-in-batch-files/12289.html

Choice in batch files on NT4-DOS www.computing.net/answers/dos/choice-in-batch-files-on-nt4dos/11474.html