Print under MS DOS
ignotus 2008
-
michel1964 Posted messages 7 Status Membre -
michel1964 Posted messages 7 Status Membre -
Hello everyone,
PC running Windows XP Pro SP2
HP Photosmart 2575 printer connected via USB2.0 to USB3 port (as indicated by the system)
I assume that more information about the configuration doesn't add anything more.
No issues with scanning, printing, or other utilities under Windows. But printing is not possible under MS DOS.
I don't recall the installation software asking me if I wanted to print under DOS. I reasonably thought that DOS being, in this case, a Windows application, the problem shouldn't arise.
Thank you for any ideas
PC running Windows XP Pro SP2
HP Photosmart 2575 printer connected via USB2.0 to USB3 port (as indicated by the system)
I assume that more information about the configuration doesn't add anything more.
No issues with scanning, printing, or other utilities under Windows. But printing is not possible under MS DOS.
I don't recall the installation software asking me if I wanted to print under DOS. I reasonably thought that DOS being, in this case, a Windows application, the problem shouldn't arise.
Thank you for any ideas
Configuration: Windows XP Internet Explorer 7.0
1 réponse
Hello!
Some reading!
[quote]The PRINT command
The PRINT command is used for printing. The printing job goes through a "print queue file" (a SPOOL or SPOOLER file) that receives the print job, stores it, and sends it to the printing device (when it is ready) via the parallel port. The PRINT command functions like the TYPE command, meaning it works well when it comes to text files in ASCII characters.
To print a letter:
C:\>print C:\folder1\letter1.txt
The first time the PRINT command is used on a computer, it displays a message for printer configuration:
"Printer name [PRN] :"
You must confirm by pressing the ENTER key to accept the standard parallel printer, which displays the following message:
"Resident part of the PRINT command installed"
Only then is the file "C:\folder1\letter1.txt" sent to the printer.
Several files can be successively sent to the "print queue," even before the first print job has been completely printed. The "print queue" will accumulate the print jobs and redirect them to the printer as they come, but having too many files waiting in the SPOOL file can cause congestion...
To stop the printing, you need to use the switch (/T):
C:\>print /t
To generate a copy of what is displayed on the screen:
Show what needs to be printed on the screen, with a TYPE for example…
Press the SHIFT + PRINT SCREEN keys simultaneously.
The "continuous printing function" (or "printer echo") allows sending to the printer all characters that will be displayed on the screen, as long as the "continuous printing function" is not stopped.
To start "printer echo":
Press the CTRL + PRINT SCREEN keys simultaneously.
To stop "printer echo":
Press the same CTRL + PRINT SCREEN keys simultaneously.
To print a long directory listing:
CTRL + PRINT SCREEN
C:\>dir
CTRL + PRINT SCREEN
To print the contents of a file:
CTRL + PRINT SCREEN
C:\>type C:\folder1\letter1.txt
CTRL + PRINT SCREEN
The switch (> PRN) means to the printer
The switch (> PRN) means to the printer. The PRN switch refers to the printer and the greater-than sign (">") means "to."
To print the result of a command, that is to say, to print what appears following the validation of a command and before returning to the prompt:
C:\>dir a: > prn
To print a file:
C:\>type readme.txt > prn
When the switch (">") is doubled (">>"), it allows concatenating (adding to the end) what is sent in direction of, and not sending it while replacing what was there before.
The @ command
The @ command is used to ECHO OFF the command line that follows. The @ command is used within AUTOEXEC.BAT and/or CONFIG.SYS files.
To disable the display of a single command line:
@ what follows will not be displayed[/quote]
Some reading!
[quote]The PRINT command
The PRINT command is used for printing. The printing job goes through a "print queue file" (a SPOOL or SPOOLER file) that receives the print job, stores it, and sends it to the printing device (when it is ready) via the parallel port. The PRINT command functions like the TYPE command, meaning it works well when it comes to text files in ASCII characters.
To print a letter:
C:\>print C:\folder1\letter1.txt
The first time the PRINT command is used on a computer, it displays a message for printer configuration:
"Printer name [PRN] :"
You must confirm by pressing the ENTER key to accept the standard parallel printer, which displays the following message:
"Resident part of the PRINT command installed"
Only then is the file "C:\folder1\letter1.txt" sent to the printer.
Several files can be successively sent to the "print queue," even before the first print job has been completely printed. The "print queue" will accumulate the print jobs and redirect them to the printer as they come, but having too many files waiting in the SPOOL file can cause congestion...
To stop the printing, you need to use the switch (/T):
C:\>print /t
To generate a copy of what is displayed on the screen:
Show what needs to be printed on the screen, with a TYPE for example…
Press the SHIFT + PRINT SCREEN keys simultaneously.
The "continuous printing function" (or "printer echo") allows sending to the printer all characters that will be displayed on the screen, as long as the "continuous printing function" is not stopped.
To start "printer echo":
Press the CTRL + PRINT SCREEN keys simultaneously.
To stop "printer echo":
Press the same CTRL + PRINT SCREEN keys simultaneously.
To print a long directory listing:
CTRL + PRINT SCREEN
C:\>dir
CTRL + PRINT SCREEN
To print the contents of a file:
CTRL + PRINT SCREEN
C:\>type C:\folder1\letter1.txt
CTRL + PRINT SCREEN
The switch (> PRN) means to the printer
The switch (> PRN) means to the printer. The PRN switch refers to the printer and the greater-than sign (">") means "to."
To print the result of a command, that is to say, to print what appears following the validation of a command and before returning to the prompt:
C:\>dir a: > prn
To print a file:
C:\>type readme.txt > prn
When the switch (">") is doubled (">>"), it allows concatenating (adding to the end) what is sent in direction of, and not sending it while replacing what was there before.
The @ command
The @ command is used to ECHO OFF the command line that follows. The @ command is used within AUTOEXEC.BAT and/or CONFIG.SYS files.
To disable the display of a single command line:
@ what follows will not be displayed[/quote]