Re: [Freedos-user] Printing to a network printer....

2007-12-26 Thread Blair Campbell
 To begins, there must be some software installed in the PATH:
 1. WatTCP (http://www.bgnett.no/~giva/)
 2. LPT2FILE (http://sac-ftp.externet.hu/utiltext15.html)

Perhaps LPT2FILE could be modified to pipe the data to JD.EXE instead
of to a file, so that direct printing would be possible.

-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-03 Thread Bruce M. Axtens
In my (limited) experience, I've discovered that some network printers have
an FTP server. If I open a session to it and put a file, the file gets
printed.

Kind regards,
Bruce.



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-02 Thread Mateusz Viste
On Monday 01 October 2007 23:56, Alain M. wrote:
 If you have Samba in you Linux box, you can share a printer through
 Samba, that is the way to go...

I think that's definetely not the way to go, because if the computer on which 
the printer is shared goes off, the printer become unavailable for all others 
computers... The big advantage of a network printer is that it doesn't 
require a host computer to work.

 By the way, are you printing from a plain dos machine, dosemu... ???

From a plain DOS machine, of course :)
The workaround I found untill now (LPT - File - JD.EXE) is working okay, but 
if anyone found another way of printing to a DirectJet net printer under DOS 
(without using MS Client), I am still interested ;-)

Best regards,
Mateusz Viste

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Printing to a network printer....

2007-10-01 Thread Mateusz Viste
Hi!

I'm wondering, if printing from FreeDOS to a network printer is doable? The 
only informations I found on the net are about using the net command, which 
is obviously present only on the most recent MS DOS operating systems...
There are already ftp clients and web browsers for FreeDOS, even ssh 
software... so redirecting a LPT port to an IP address on port 9100 shouldn't 
be so difficult... Has anyone already done that?

Best regards,
Mateusz Viste

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Robert Riebisch
Mateusz Viste wrote:

 I'm wondering, if printing from FreeDOS to a network printer is doable?

Look for Microsoft Network Client 3.0.
Or visit http://www.geocities.com/ken_yap_aus/.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Mateusz Viste
On Monday 01 October 2007 10:37, Robert Riebisch wrote:
 Look for Microsoft Network Client 3.0.
 Or visit http://www.geocities.com/ken_yap_aus/.

I already saw those resources, but couldn't find anything about direct 
printing to network printers... MS Network Client is a memory hog, and as far 
as I understand, it's designed to print to shared printers on a MS network 
rather than printing directly to a network printer (I don't have a MS 
network, just a plain TCP/IP with Linux computers)...

Regards,
Mateusz Viste

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Robert Riebisch
Mateusz Viste wrote:

 as I understand, it's designed to print to shared printers on a MS network
 rather than printing directly to a network printer (I don't have a MS
 network, just a plain TCP/IP with Linux computers)...

Then try NCSA lpr, WATTCP lpr, or CUTCP.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Mateusz Viste
On Monday 01 October 2007 11:17, Robert Riebisch wrote:
 Then try NCSA lpr, WATTCP lpr, or CUTCP.
Well... I guess LPR/LPQ/LPRM etc... are usefull when printing to a printer 
attached to a Linux/Unix PC. My printer is a _stand-alone_ network printer 
(it doesn't require a PC to work, it has its own IP, etc...). I doubt network 
printers supports LPR protocol... There is the JetDirect one for them (that 
is printing to their TCP/9100 port just like it would be a Centronics 
connection).

The only thing I found for now, is using the jd.exe program from the PPRD 
2.0 package (http://www.smashco.com/wattcp/pprd200.zip)
I load my packet driver, and then I can use the following command:

jd -H192.168.0.21 file.txt

...and I get the file.txt file printed out (my printer have the IP address set 
to 192.168.0.21).
Obviously, it's not very handy, as I would like to print from other DOS 
programs, not only from the command line :(

I guess the best solution would be to have a TSR which is redirecting all data 
from LPT to the jd program...
The JD program can be used that way too:

ECHO This is a test | jd -H192.168.0.21

Obviously, it's still not resoving my problem... Of course I could use some 
LPT2DISK tools, then transmitting the file from the disk to JD, but it is too 
complicated to handle for everyday use, that's why I am searching a solution 
which will allow me to print just pushing the print button of my DOS 
printing application...
Any ideas? ;-)


Best regards,
Mateusz Viste

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Steffen Grunewald
On Mon, Oct 01, 2007 at 01:02:50PM +0200, Mateusz Viste wrote:
 On Monday 01 October 2007 11:17, Robert Riebisch wrote:
  Then try NCSA lpr, WATTCP lpr, or CUTCP.
 Well... I guess LPR/LPQ/LPRM etc... are usefull when printing to a printer 
 attached to a Linux/Unix PC. My printer is a _stand-alone_ network printer 
 (it doesn't require a PC to work, it has its own IP, etc...). I doubt network 
 printers supports LPR protocol... There is the JetDirect one for them (that 
 is printing to their TCP/9100 port just like it would be a Centronics 
 connection).

Well, you could just try and find out, using nmap or another port detector.
Actually, quite a lot of printers (in particular those with port 9100 open)
*do* accept lpr (look for port 525=lpd)

Cheers,
 Steffen

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Robert Riebisch
Mateusz Viste wrote:

 Well... I guess LPR/LPQ/LPRM etc... are usefull when printing to a printer
 attached to a Linux/Unix PC. My printer is a _stand-alone_ network printer

LP* is not limited to UN*X.

 (it doesn't require a PC to work, it has its own IP, etc...). I doubt

So it's not really stand-alone, because it has a PC (print server)
built-in. ;-)

 network printers supports LPR protocol... There is the JetDirect one for

Guessing is not useful. Please read the manual for your printer.

 is printing to their TCP/9100 port just like it would be a Centronics
 connection).

Yes, that's quite common for printers. Nothing special.

 I guess the best solution would be to have a TSR which is redirecting all
 data from LPT to the jd program...

I'm not aware of such an application. Start with WATTCP and distribute
your result. :-)

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Mateusz Viste
On Monday 01 October 2007 13:30, Robert Riebisch wrote:
 I'm not aware of such an application. Start with WATTCP and distribute
 your result. :-)

Until now I got it working the following way:

To begins, there must be some software installed in the PATH:
1. WatTCP (http://www.bgnett.no/~giva/)
2. LPT2FILE (http://sac-ftp.externet.hu/utiltext15.html)
3. JD.EXE from PPRD 2.0 (http://www.smashco.com/wattcp/pprd200.zip)
4. A packet driver for the network card

I made a simple batch file, which calls the application I want to print with, 
catch all the LPT stuff to a file, and finally send the LPT file to the 
network printer:
-- [netprint.bat] --
LPT2FILE
%1
LPT2FILE %TEMP%\PRINTME.PRN
JD %TEMP%\PRINTME.PRN
DEL %TEMP%\PRINTME.PRN
-

Now, I have just to invoke the program I want with netprint program.exe, and 
all printing stuff will be done at the program's end. Of course, wattcp.cfg 
have to be configured according to the given LAN, and those lines have to be 
added:
PRINTERHOST = 192.168.xxx.xxx
PORTBASE = 9100
PRINTERNUM = 0

It's maybe not the most elegant way, but it works :-)
I tested that solution with the following printing software: WordPerfect 6.0, 
MS EDIT 2.0.026, PrintPartner 3.5, BannerMania 1.00, EnVision Pro 2.04, and I 
hadn't any troubles.

Regards,
Mateusz Viste

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Robert Riebisch
Mateusz Viste wrote:

 1. WatTCP (http://www.bgnett.no/~giva/)

Really? Or just a valid WATTCP.CFG?

 It's maybe not the most elegant way, but it works :-)

OK :-)

Robert Riebisch
P.S. Please remove all target=_blank from your home page. ;-)
-- 
BTTR Software
http://www.bttr-software.de/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Alain M.

Mateusz Viste escreveu:
 On Monday 01 October 2007 10:37, Robert Riebisch wrote:
 Look for Microsoft Network Client 3.0.
 Or visit http://www.geocities.com/ken_yap_aus/.
 
 I already saw those resources, but couldn't find anything about direct 
 printing to network printers... MS Network Client is a memory hog, and as far 
 as I understand, it's designed to print to shared printers on a MS network 
 rather than printing directly to a network printer (I don't have a MS 
 network, just a plain TCP/IP with Linux computers)...

If you have Samba in you Linux box, you can share a printer through 
Samba, that is the way to go...

Alain


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Printing to a network printer....

2007-10-01 Thread Alain M.
What you fount are good news...

By the way, are you printing from a plain dos machine, dosemu... ???

Alain

Mateusz Viste escreveu:
 On Monday 01 October 2007 13:30, Robert Riebisch wrote:
 I'm not aware of such an application. Start with WATTCP and distribute
 your result. :-)
 
 Until now I got it working the following way:
 
 To begins, there must be some software installed in the PATH:
 1. WatTCP (http://www.bgnett.no/~giva/)
 2. LPT2FILE (http://sac-ftp.externet.hu/utiltext15.html)
 3. JD.EXE from PPRD 2.0 (http://www.smashco.com/wattcp/pprd200.zip)
 4. A packet driver for the network card
 
 I made a simple batch file, which calls the application I want to print with, 
 catch all the LPT stuff to a file, and finally send the LPT file to the 
 network printer:
 -- [netprint.bat] --
 LPT2FILE
 %1
 LPT2FILE %TEMP%\PRINTME.PRN
 JD %TEMP%\PRINTME.PRN
 DEL %TEMP%\PRINTME.PRN
 -
 
 Now, I have just to invoke the program I want with netprint program.exe, 
 and 
 all printing stuff will be done at the program's end. Of course, wattcp.cfg 
 have to be configured according to the given LAN, and those lines have to be 
 added:
 PRINTERHOST = 192.168.xxx.xxx
 PORTBASE = 9100
 PRINTERNUM = 0
 
 It's maybe not the most elegant way, but it works :-)
 I tested that solution with the following printing software: WordPerfect 6.0, 
 MS EDIT 2.0.026, PrintPartner 3.5, BannerMania 1.00, EnVision Pro 2.04, and I 
 hadn't any troubles.
 
 Regards,
 Mateusz Viste
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user
 
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user