I wrote it very detailed, please be sure to read it patiently, please don't treat my question as a general novice question~~
Also, my own test process, all the masters must read it carefully before answering, no water injection is allowed!
You are my last hope!!!!!
The thing is like this, my computer is a C3 1G/810E2 motherboard/256MB memory/40GB hard drive, and the printer is LQ-1600K inserted into the LPT1 parallel port!!
The operating system is WINDOWS ME single system, installed in drive C, there are a total of 2 partitions, both drives C and D are in FAT32 format, absolutely no virus, and it has been repartitioned and formatted!!
Use autoexec.bat and config.sys to implement the startup menu. (The specific contents of these two files are given at the end of the article!)
1. Enter winme
2. Enter ucdos
If you press Enter after selecting 1, you will enter the normal startup graphical interface of WINME. The printer has no problems. It is very normal!
Note: In WINME, LQ1600K has been set as the default printer, no other model printer has been installed, no sharing! No networking, no networking!!
If you select 2, you will enter the pure DOS environment of WINME, and then automatically CALL UCDOS.bat to enter UCDOS, and then enter a software in our profession. This software must be used under DOS+UCDOS! And my purpose is to make LQ1600K print things in this DOS environment!!
My problem is here:
After entering 2, the printer's light, only the "power" is green and always on, and the other lights are off! That is to say, the printer has not received any control signals!!!
dir >prn will display an English prompt:
Invalid device request writing device PRN
Abore,Retry,Ignore,Fail?
dir > lpt1 will also display a similar prompt, except that the prompt becomes LPT1.
I have tried all kinds of modes of the LTP port in BIOS, what EPP, what EPP+, what S, etc., and their various versions, but there is no change!!! The problem cannot be solved!
Self-experiment:
Use a 98 boot disk (small floppy 1.44), enter the pure DOS environment of WIN98! The "online" light of LQ1600K lights up with a snap! After entering DOS, operations such as DIR >prn have no problems. Absolutely normal! At this time, the BIOS is set to EPP 3 mode.
The print cable has been changed or N strips! The problem has no change~ the phenomenon is still the same.
In UCDOS, type the command setup and press Enter, set the printer parameters, and almost all settings have been tried, but the problem has no change! The phenomenon is still the same.
Summary:
The printer prints normally in any version of Windows (win95 win98 winme win2000 winxp)!! Even when entering the blue screen of BIOS, the printer is in the "online" state. No abnormalities! 98 boot disk, 98 boot CD, all print without any problems! But only in the pure DOS of WINME can't print!! The prompt "Invalid device..." etc. appears!
What is going on here??? What else do I need to test?
I have found the after-sales service department of the computer. After 10 days of chip-level testing of my computer motherboard, no problem was found! Indeed, I have never had any problems during use! Therefore, the possibility of the computer being problematic can be ruled out now, and this LQ1600K printer has never had any problems since it was bought. It is only when using that DOS software that the problem occurs!
Please don't doubt our professional software. This software is a database system running in the UCDOS environment. It is an audit-specific software for us. When people wrote this software, it was to run in this environment! It cannot be changed~~ And this software has been used normally for more than 5 years, no problem.
My last own suspicion:
I remember that DOS has the redirection function. After I boot with the 98 startup disk, enter UCDOS, use dir >prn and press Enter, but it is displayed on the screen!! Instead of being printed directly??? Could it be that PRN is defined to the screen??? And after QUIT from UCDOS, DIR >PRN again is normal... and can also print...???
My EMAIL: (waiting online for 72 hours!!)
cdma5002@126.com
Finally, attach the contents of the Autoexec.bat and config.sys files:
As for MSDOS
============autoexec.bat==============
@ECHO OFF
SET WINDIR=C:\WINDOWS
SET WINBOOTDIR=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UCDOS;"D:\Backup\"
SET PROMPT=$p$g
SET TEMP=D:\TEMP
SET TMP=D:\TEMP
GOTO %CONFIG%
:WINME
C:\WINDOWS\WIN.COM
GOTO END
:DOS
C:\WINDOWS\SMARTDRV.EXE
CALL C:\UCDOS\UCDOS.BAT
CD\sj
sj
CD\
GOTO END
:END
===============config.sys==============
menuitem=Winme,Windows Me
menuitem=Dos,Dos and Ucdos
menudefault=Winme,10
menucolor=15,0
device=c:\windows\ifshlp.sys
files=60
buffers=40
dos=high,umb
stacks=9,256
==========================
------------------------------------------------
By the way, ask another DOS question:
This problem is problem two!! The above printer one is problem one!
I am a WINME system, but I boot from the 98 boot disk
A:\>sys a: c: Enter
After restarting, change WINME to start with 98
Then want to change back! Boot with the WINME boot disk
A:\>sys c: Enter
After restarting, WINME can start normally.
But why doesn't WINME load AUTOEXEC.BAT and CONFIG.SYS during the startup process anymore?!!!!
--------------------------------------------------
Also, my own test process, all the masters must read it carefully before answering, no water injection is allowed!
You are my last hope!!!!!
The thing is like this, my computer is a C3 1G/810E2 motherboard/256MB memory/40GB hard drive, and the printer is LQ-1600K inserted into the LPT1 parallel port!!
The operating system is WINDOWS ME single system, installed in drive C, there are a total of 2 partitions, both drives C and D are in FAT32 format, absolutely no virus, and it has been repartitioned and formatted!!
Use autoexec.bat and config.sys to implement the startup menu. (The specific contents of these two files are given at the end of the article!)
1. Enter winme
2. Enter ucdos
If you press Enter after selecting 1, you will enter the normal startup graphical interface of WINME. The printer has no problems. It is very normal!
Note: In WINME, LQ1600K has been set as the default printer, no other model printer has been installed, no sharing! No networking, no networking!!
If you select 2, you will enter the pure DOS environment of WINME, and then automatically CALL UCDOS.bat to enter UCDOS, and then enter a software in our profession. This software must be used under DOS+UCDOS! And my purpose is to make LQ1600K print things in this DOS environment!!
My problem is here:
After entering 2, the printer's light, only the "power" is green and always on, and the other lights are off! That is to say, the printer has not received any control signals!!!
dir >prn will display an English prompt:
Invalid device request writing device PRN
Abore,Retry,Ignore,Fail?
dir > lpt1 will also display a similar prompt, except that the prompt becomes LPT1.
I have tried all kinds of modes of the LTP port in BIOS, what EPP, what EPP+, what S, etc., and their various versions, but there is no change!!! The problem cannot be solved!
Self-experiment:
Use a 98 boot disk (small floppy 1.44), enter the pure DOS environment of WIN98! The "online" light of LQ1600K lights up with a snap! After entering DOS, operations such as DIR >prn have no problems. Absolutely normal! At this time, the BIOS is set to EPP 3 mode.
The print cable has been changed or N strips! The problem has no change~ the phenomenon is still the same.
In UCDOS, type the command setup and press Enter, set the printer parameters, and almost all settings have been tried, but the problem has no change! The phenomenon is still the same.
Summary:
The printer prints normally in any version of Windows (win95 win98 winme win2000 winxp)!! Even when entering the blue screen of BIOS, the printer is in the "online" state. No abnormalities! 98 boot disk, 98 boot CD, all print without any problems! But only in the pure DOS of WINME can't print!! The prompt "Invalid device..." etc. appears!
What is going on here??? What else do I need to test?
I have found the after-sales service department of the computer. After 10 days of chip-level testing of my computer motherboard, no problem was found! Indeed, I have never had any problems during use! Therefore, the possibility of the computer being problematic can be ruled out now, and this LQ1600K printer has never had any problems since it was bought. It is only when using that DOS software that the problem occurs!
Please don't doubt our professional software. This software is a database system running in the UCDOS environment. It is an audit-specific software for us. When people wrote this software, it was to run in this environment! It cannot be changed~~ And this software has been used normally for more than 5 years, no problem.
My last own suspicion:
I remember that DOS has the redirection function. After I boot with the 98 startup disk, enter UCDOS, use dir >prn and press Enter, but it is displayed on the screen!! Instead of being printed directly??? Could it be that PRN is defined to the screen??? And after QUIT from UCDOS, DIR >PRN again is normal... and can also print...???
My EMAIL: (waiting online for 72 hours!!)
cdma5002@126.com
Finally, attach the contents of the Autoexec.bat and config.sys files:
As for MSDOS
============autoexec.bat==============
@ECHO OFF
SET WINDIR=C:\WINDOWS
SET WINBOOTDIR=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UCDOS;"D:\Backup\"
SET PROMPT=$p$g
SET TEMP=D:\TEMP
SET TMP=D:\TEMP
GOTO %CONFIG%
:WINME
C:\WINDOWS\WIN.COM
GOTO END
:DOS
C:\WINDOWS\SMARTDRV.EXE
CALL C:\UCDOS\UCDOS.BAT
CD\sj
sj
CD\
GOTO END
:END
===============config.sys==============
menuitem=Winme,Windows Me
menuitem=Dos,Dos and Ucdos
menudefault=Winme,10
menucolor=15,0
device=c:\windows\ifshlp.sys
files=60
buffers=40
dos=high,umb
stacks=9,256
==========================
------------------------------------------------
By the way, ask another DOS question:
This problem is problem two!! The above printer one is problem one!
I am a WINME system, but I boot from the 98 boot disk
A:\>sys a: c: Enter
After restarting, change WINME to start with 98
Then want to change back! Boot with the WINME boot disk
A:\>sys c: Enter
After restarting, WINME can start normally.
But why doesn't WINME load AUTOEXEC.BAT and CONFIG.SYS during the startup process anymore?!!!!
--------------------------------------------------

