ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



General discussions > General Discussion > printing files over a lan using dos

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread






Author printing files over a lan using dos
Mike_Mc
Harley rider geek
M




Registered: Sep 2000
Location: Massett
Country: Canada
State:
Certifications: A+, MCP, Harley rider
Working on: Was hoping to complete Windows 2000, Oraclebut now having 6 kids & business keeps me to freakin busy

Total Posts: 78
Question printing files over a lan using dos

Anyone know how to send a print file to a network printer using a dos command?
I have been trying to do this and have had no luck...
The print server in there and everything communicates through windows (NT 4) etc.
But the file won`t print unless it`s on a local machine as it seems to want LPT1 to print to.
Here`s an example of the command I tried to use:
copy test.prt\\PRINTSERV\Laser (Laser is the share name)
this command says "network path not found"
So I tried this command:

copy test.prt\\PRINTSERV\LPT1
I got the same error message.

However when I physically move the printer and connect it directly to the local machine and type: copy test.prt LPT1
The file starts to print.

I am stumped and I know it`s something simple or maybe not.
So if anyone can help me I appreciate it! Mike

Report this post to a moderator

Old Post 07-21-01 02:19 AM
Mike_Mc is offline Click Here to See the Profile for Mike_Mc Click here to Send Mike_Mc a Private Message Visit Mike_Mc's homepage! Add Mike_Mc to your buddy list Find more posts by Mike_Mc Reply w/Quote Edit/Delete Message IP: Logged
ccieToBe
Wireless Fanatic




Registered: Jul 2000
Location: Blue Ridge, North Georgia
Country: US
State:
Certifications: CCDA, CNA, MCP, Network+, A+, BSIT
Working on: Security+

Total Posts: 2210

You need to map an LPT port to the network path, then just send jobs to that port. If it's a DOS program being run in Windoze do the following:

Select Start > Settings > Printers
Right click on the printer and Select "Properties"
Click the "Details" tab
Click "Capture Printer Port"

If you're running DOS, there's a command that allows you to do this, but I forget the syntax. Try searching for this on Microsoft's website.

Report this post to a moderator

Old Post 07-21-01 02:43 AM
ccieToBe is offline Click Here to See the Profile for ccieToBe Click here to Send ccieToBe a Private Message Visit ccieToBe's homepage! Add ccieToBe to your buddy list Find more posts by ccieToBe Reply w/Quote Edit/Delete Message IP: Logged
TW2001
Senior Member




Registered: Mar 2001
Location:
Country: USA
State:
Certifications: A+,MCP
Working on: BS CompSci

Total Posts: 1413

print /d:\\<printserver>\<sharename> <drive>:\<path>\<filename>

Report this post to a moderator

Old Post 07-21-01 04:08 AM
TW2001 is offline Click Here to See the Profile for TW2001 Click here to Send TW2001 a Private Message Add TW2001 to your buddy list Find more posts by TW2001 Reply w/Quote Edit/Delete Message IP: Logged
Mike_Mc
Harley rider geek
M




Registered: Sep 2000
Location: Massett
Country: Canada
State:
Certifications: A+, MCP, Harley rider
Working on: Was hoping to complete Windows 2000, Oraclebut now having 6 kids & business keeps me to freakin busy

Total Posts: 78
TW2001?

so the command line print /d:\\<printserver>\<sharename> <drive>:\<path>\<filename> should work?

Ok I think I see now, but where does /d: come in? is that a drive?
I`m actually working from within windows with a dos window.
Ok humour me for a minute while I type this out to see if I have it or not:

print /d:\\PRINTSERV\Laser e:\maps\map.prt

so this line is the actual names and share names for what I want to do and the file I want to print resides in the maps directory on the E drive.
I`m still trying to figure out what the /d: is for.....
man I should know this! I appreciate your helpQ! Mike

Report this post to a moderator

Old Post 07-21-01 04:47 AM
Mike_Mc is offline Click Here to See the Profile for Mike_Mc Click here to Send Mike_Mc a Private Message Visit Mike_Mc's homepage! Add Mike_Mc to your buddy list Find more posts by Mike_Mc Reply w/Quote Edit/Delete Message IP: Logged
Taqwus
Warrior-Poet
M




Registered: Apr 2000
Location: Norco, La
Country: USA
State:
Certifications: A+, N+, MCSA, HP APS + All LaserJets, World Class Pain In The Äss
Working on: A bottle of Captain Morgan and whatever else my company will pay for

Total Posts: 414

You could try the Net Use command to redirect a network connection to the LPT 1.
Where I work at we have a few programs we need to do that to.
the syntaax is:
net use lpt1 //(UNC printer name)
then you can use the normal dos printing

__________________
Help Fight Cancer by Joining the United Devices Wheel of Time Team at:
United Devices


If tommorrow never comes, How do we get out of today????

Push to test, Release to detonate

Report this post to a moderator

Old Post 07-21-01 11:52 PM
Taqwus is offline Click Here to See the Profile for Taqwus Click here to Send Taqwus a Private Message Visit Taqwus's homepage! Add Taqwus to your buddy list Find more posts by Taqwus    Taqwus's ICQ status    Send a message to Taqwus Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Featured site: MCSE, MCSD, CompTIA, CCNA training videos



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps