Thanks, Liam:

On the FreeDOS PC:
         * LMHOSTS lists the printer against its IP address; and
         * LOGON.BAT lists the server and print queue, and
           specifies "net use LPT2:, with the server, print queue,
           and password.

That looks good! Great progress from when you first asked.

From the FreeDOS PC, I can print a little over a hundred characters.

But I cannot get PRINT to work!

OK, question 1: why do you need the PRINT command?
Because I want to print, and it's called "PRINT"!

It's a background
spooler. It is not in any way needed for DOS printing.
It does seem to partially work as above. That is, of a text document, the first 3.4 lines appear from the printer.

{PRINT README.TXT}

Did you not specify to print to LPT2:?
I have been experimenting. Whether I do or don't, the result's the same!

Next I read
"Device to direct Print [PRN=0]".

So it's not going to LPT2: – it's going to PRN:
Then I used this option. It only worked after the file name. If before it, I got a "not found" error!
"/d:device"
https://www.computerhope.com/printhlp.htm

[1] You don't need PRINT. To test if printing works, just do

copy readme.txt lpt2:
{README.TXT => LPT2}
I notice a seemingly long time elapsed after entering the command on the FreeDOS PC. So I reboot the printer.

[2] If you *do* want background printing, you need to tell PRINT where
to send the data:

PRINT /D:LPT2: readme.txt
{print README.TXT /D:LPT2:}
{Background...
Version...
FILE ADDED TO QUEUE.
PRINT QUEUE SUBSYSTEM IS INSTALLED
Device to direct Print [PRN= ]:}

But nothing seems to be printing. Perhaps I should be rebooting computers?

If you want to set the default DOS printer, you can use the MODE command. E.g.

mode lpt2:

Yeah, I did that.
But now I'm sick of waiting so will reboot my Ubuntu and FreeDOS PCs.
--
members.iinet.net.au/~kilgallin/


_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to