Damon -  you have to capture the lpt1 port - here is an excerpt from a file
I keep on a DOS client's server...

  1.. Click on the Start menu.
  2.. Select Run and click on it.
  3.. In the text box labeled Open type "cmd.exe".
  4.. Type the following line:
Net Use lpt1 \\<compname>\<networkdevice>



                                 i.e. net use lpt1 \\sms_3\NEC

                        i.e. net use lpt1 \\ksopprt01\ksopprt29p

i.e. NET USE LPT1 \\WORKSTATION1\HPDeskJet970



            This will set the printer to lpt1 and allow you to print from a
DOS program. If you

            would like to double check to see that the command was
successful just type

            Net Use at the next dos prompt and verify the path following
lpt1.


Good luck!
Sami

-----------------------------------------------------------
Sami Aaron
Software Management Specialists
19312 W 63rd Terr
Shawnee KS  66218
913-915-1971
http://www.softwaremgmt.com

----- Original Message -----
From: [EMAIL PROTECTED]
To: RBASE-L Mailing List
Sent: Monday, January 06, 2003 4:19 PM
Subject: [RBASE-L] - Printing with RBase 6.5++ Dos on Win2K


Well, I can tell my brain is dead today!

Environment is RBase Dos built 1.851xRT03, OS is Win2K, SP3

Command file is:


Output  Printer
Print SubOpen where limit = 10
output screen
Return


Windows Default Printer is :
\\SSW1\HP2200-1.Stalder

VERY simple command, and RBase hangs, and the report doesn't print. These
are old 4.5++ command files that are slowly being upgraded, but I have to
keep them working until the Win versions are working. I can't seem to find
the solution, and it's driving me nuts!

OK, Guru's help a brain drained guy out :)

Damon

Damon D. Kaufman
President
Stalder Spring Works, Inc
ISO-9002 / QS-9000 Certified
2345 S. Yellow Springs St.
Springfield, Ohio 45506
Voice 937-322-6120
Fax 937-322-2126
email: [EMAIL PROTECTED]

Reply via email to