Solved

How do I print from dos using hp DeskJet 710C under win3.1/win95?

Posted on 1999-01-09
9
1,225 Views
Last Modified: 2012-05-04
It(manual) says I need a hp550C/hp660C driver in order for my hp 710C to print in dos under window. However, after installing the driver, there were no respond when trying to print in dos or window. In fact, I followed all instructions, including setting the configuration and so on.
  Still, the printer doesn't respond.
These are the steps to setup my printer in order to use in dos:
1. put the 710C as the default; 2. in the setup window, check for msdos spooling 3. install hp550C/hp660C 4. to print in dos, must be under window (I'm not sure what this means but I guess I have to use the msdos icon under win3.1 in the main group) 5. no driver for dos in win95.
I understand all these steps, however the printer still doesn't respond. Please help. If require steps to configure the printer, please tell in detail of steps because I'm just a novice, thanks.
0
Comment
Question by:visp
  • 6
  • 2
9 Comments
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Have you tried this as a test?  This assumes you are printing to the default port (LPT1) and the port is working.  Exit Windows to MS-Dos.  Choose a small text file (yourfile.TXT), or just test this printing the current directory.  This will send the printout directly to your LPT1 port in MS-DOS mode.

At the Prompt key this in and enter:  TYPE yourfile.TXT > LPT1
or to just print the current directory as test:  Type dir > lpt1
What happens?  
0
 

Author Comment

by:visp
Comment Utility
The printer test works in windows only.
When I tried your test in msdos, an error statement says, "HPFPEM13 caused a general Protection Fault in module HPFC1613.DLL at 0003:10DC."
How do I go about solving this error?
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Did you actually exit to DOS to try this or did you use an MS-DOS Prompt within Windows?
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Please advise your environment, ie. what version of Windows are you running, have you checked device manager for any conflicts, are you using LPT1, etc.  Here are some pieces of information re. General Protection Faults, but again, it all depends on what your set up is.  The strategy used to troubleshoot, varies by operating system, due to the newer diagnostics included with, say, Windows 98.  This information should be helpful to at least answer some of the questions you've encountered.

Here is a link to HPs troubleshooting link for the HP 710C, http://interactive.hp.com/cspt/dj710c.html

The most common reasons for GPFs conflicts with Windows resources, problems with the integrity of stored data (hard drive problems), or a flawed installation.

Exit Windows. Before trying to resolve the cause of the GPF, it is important that stability be restored to Windows. You should do this by closing all applications and programs, saving data as appropriate and exiting or shutting down Windows. When Windows is no longer running, reboot your PC. If you do not both exit Windows and reboot your PC, you may continue to encounter GPFs which are a result of the current unstable condition of your PC memory. Resolve System Configuration Conflicts. Run Scandisk to check the integrity of the data stored on your drive. Defragment your Hard Drive to optimize access to the data stored on your drive.

HP DeskJet Printers - Guidelines for Solving General Protection Fault Errors in Microsoft (R) Windows 3.1X

Here's a link for HP 700 Series troubleshooting and General Protection Fault information as well as driver information that may help:

http://interactive.hp.com/cgi-bin/cspt/cds/dlvr.pl?lid=solve~~~~~~~&fid=bpd02434~~~~~~~~~~~~&pid=dj710c~~~~~~~~~~~~~~#P13_213

Excerpt from this page ... link to get all.

A General Protection Fault (GPF) occurs when a Microsoft Windows program writes to a memory space where it does not have access. The space is usually occupied by a Terminate and Stay Resident (TSR) program, a video driver, or another program.

This document includes procedures for several techniques to help you avoid GPF errors, and additional procedures to troubleshoot video driver conflicts if the other techniques do not work.

Avoiding GPF Error Messages
Occasionally a GPF error message occurs in a particular program, when other programs seem to print just fine. To avoid GPF errors, try one or more of the following techniques:

Technique 1

Restart the computer to clear the computer's memory by using the following steps:

Close the program.
Exit Windows.
Turn off the computer.
Wait ten seconds and turn on the computer again.
Open the software program.
Try printing again.
Technique 2

The program may have a conflict with the Automatic setting in the printout mode. Change the printout mode in Printer Setup from Automatic to Manual. Select Black Text or Color Graphics, with some printer models. Follow these steps to change the printout mode:

In the Main program group, double-click Control Panel, and then double-click Printers.
Verify that the appropriate HP printer is selected as the Windows default printer. If not, select the appropriate printer from the Installed Printers list, or install it from Program Manager using the disks supplied with the printer.
Click Setup.
Click Manual. On some printer models, you may need to select Black Text or Color Graphics.
Click OK.
Close all windows and try printing again.

NOTE: Many fax programs print only if the printer is set to the Manual or Black Text mode. If you are still unable to print from the fax program, change the print quality to EconoMode or EconoFast. Some CD-ROM programs, such as Encarta, Bookshelf, Grollier's, or Compton's require using Manual, Black Text, or Color Graphics mode.

Technique 3
Change the printer port to LPT1.DOS and remove Fast Printing Direct to Port. This will disable the Status Monitor. Also, enter the mode statement into the AUTOEXEC.BAT file, (MODE LPT1:,,P) to keep the printer from "timing out." Follow these steps to change the port to LPT1.DOS:

NOTE: Obtain technical assistance if you are unsure about the procedures to safely edit the AUTOEXEC.BAT file or any other system file. Make a backup copy of the file before making any changes. Follow the steps under Creating Backup Copies of System Files at the end of this document to back up the file. Steps for Restoring Original System Files are also included.

In the Main program group, double-click Control Panel, and then double-click Printers.
Verify that the appropriate HP printer is selected as the default printer. If not, select the appropriate printer from the Installed Printers list, or install it from Program Manager using the disks supplied with the printer.
Click Connect to view the list of alternate ports.
Scroll down the list (using the down arrow next to the list) and click LPT1.DOS.
Clear the check mark next to Fast Printing Direct to Port in the lower-left corner of the window.
Click OK.
Close all windows and try printing again.
To add a Mode statement to the AUTOEXEC.BAT file:

Click File on the Program Manager menu bar.
Click Run.
In the Command Line, type SYSEDIT.
Click OK. You have now accessed the System Configuration Editor.
Click the C:\AUTOEXEC.BAT title bar to bring that window to the front. Please see the note above before attempting to edit any system files.
Move the cursor to the last line in the file and press ENTER to create a new line. Move the cursor back up to the new line and type in MODE LPT1:,,P to add the Mode statement. Note that the Mode statement must appear in the AUTOEXEC.BAT file after the Path statement and before the WIN command.
Click File from the menu bar of the System Configuration Editor.
Click Exit.
Click Yes to save the changes.
Exit Microsoft Windows. Restart the computer by turning it off and then back on; try printing again.
Technique 4

Turn off Print Manager to eliminate spooling of print jobs. Follow these steps to turn off Print Manager:

In the Main program group, double-click Control Panel, and then double-click Printers.
Clear the check mark next to Use Print Manager in the lower-left corner of the window.
Click Close.
Close all windows and try printing again.

0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:visp
Comment Utility
Hey! It worked after setting the printer in LPt1.dos.
However, not perfect, sometimes it prints and sometimes the error (HPFPEM*.DLL) appears.
I guess it is all right  For the time being. Thanks for your help.
0
 
LVL 27

Accepted Solution

by:
Asta Cu earned 10 total points
Comment Utility
This was the posted solution,a part of which worked -- GREAT!

You indicated you're still getting errors for the DLL... have you tried to HP site to see if there is a more recent DLL than the one you have?

Please advise your environment, ie. what version of Windows are you running, have you checked device manager for any conflicts, are you using LPT1, etc.  Here are some pieces of information re. General Protection Faults, but again, it all depends on what your set up is.  The strategy used to troubleshoot, varies by operating system, due to the newer diagnostics included with, say, Windows 98.  This information should be helpful to at least answer some of the questions you've encountered.

Here is a link to HPs troubleshooting link for the HP 710C, http://interactive.hp.com/cspt/dj710c.html

The most common reasons for GPFs conflicts with Windows resources, problems with the integrity of stored data (hard drive problems), or a flawed installation.

Exit Windows. Before trying to resolve the cause of the GPF, it is important that stability be restored to Windows. You should do this by closing all applications and programs, saving data as appropriate and exiting or shutting down Windows. When Windows is no longer running, reboot your PC. If you do not both exit Windows and reboot your PC, you may continue to encounter GPFs which are a result of the current unstable condition of your PC memory. Resolve System Configuration Conflicts. Run Scandisk to check the integrity of the data stored on your drive. Defragment your Hard Drive to optimize access to the data stored on your drive.

HP DeskJet Printers - Guidelines for Solving General Protection Fault Errors in Microsoft (R) Windows 3.1X

Here's a link for HP 700 Series troubleshooting and General Protection Fault information as well as driver information that may help:

http://interactive.hp.com/cgi-bin/cspt/cds/dlvr.pl?lid=solve~~~~~~~&fid=bpd02434~~~~~~~~~~~~&pid=dj710c~~~~~~~~~~~~~~#P13_213

Excerpt from this page ... link to get all.

A General Protection Fault (GPF) occurs when a Microsoft Windows program writes to a memory space where it does not have access. The space is usually occupied by a Terminate and Stay Resident (TSR) program, a video driver, or another program.

This document includes procedures for several techniques to help you avoid GPF errors, and additional procedures to troubleshoot video driver conflicts if the other techniques do not work.

Avoiding GPF Error Messages
Occasionally a GPF error message occurs in a particular program, when other programs seem to print just fine. To avoid GPF errors, try one or more of the following techniques:

Technique 1

Restart the computer to clear the computer's memory by using the following steps:

Close the program.
Exit Windows.
Turn off the computer.
Wait ten seconds and turn on the computer again.
Open the software program.
Try printing again.
Technique 2

The program may have a conflict with the Automatic setting in the printout mode. Change the printout mode in Printer Setup from Automatic to Manual. Select Black Text or Color Graphics, with some printer models. Follow these steps to change the printout mode:

In the Main program group, double-click Control Panel, and then double-click Printers.
Verify that the appropriate HP printer is selected as the Windows default printer. If not, select the appropriate printer from the Installed Printers list, or install it from Program Manager using the disks supplied with the printer.
Click Setup.
Click Manual. On some printer models, you may need to select Black Text or Color Graphics.
Click OK.
Close all windows and try printing again.

NOTE: Many fax programs print only if the printer is set to the Manual or Black Text mode. If you are still unable to print from the fax program, change the print quality to EconoMode or EconoFast. Some CD-ROM programs, such as Encarta, Bookshelf, Grollier's, or Compton's require using Manual, Black Text, or Color Graphics mode.

Technique 3
Change the printer port to LPT1.DOS and remove Fast Printing Direct to Port. This will disable the Status Monitor. Also, enter the mode statement into the AUTOEXEC.BAT file, (MODE LPT1:,,P) to keep the printer from "timing out." Follow these steps to change the port to LPT1.DOS:

NOTE: Obtain technical assistance if you are unsure about the procedures to safely edit the AUTOEXEC.BAT file or any other system file. Make a backup copy of the file before making any changes. Follow the steps under Creating Backup Copies of System Files at the end of this document to back up the file. Steps for Restoring Original System Files are also included.

In the Main program group, double-click Control Panel, and then double-click Printers.
Verify that the appropriate HP printer is selected as the default printer. If not, select the appropriate printer from the Installed Printers list, or install it from Program Manager using the disks supplied with the printer.
Click Connect to view the list of alternate ports.
Scroll down the list (using the down arrow next to the list) and click LPT1.DOS.
Clear the check mark next to Fast Printing Direct to Port in the lower-left corner of the window.
Click OK.
Close all windows and try printing again.
To add a Mode statement to the AUTOEXEC.BAT file:

Click File on the Program Manager menu bar.
Click Run.
In the Command Line, type SYSEDIT.
Click OK. You have now accessed the System Configuration Editor.
Click the C:\AUTOEXEC.BAT title bar to bring that window to the front. Please see the note above before attempting to edit any system files.
Move the cursor to the last line in the file and press ENTER to create a new line. Move the cursor back up to the new line and type in MODE LPT1:,,P to add the Mode statement. Note that the Mode statement must appear in the AUTOEXEC.BAT file after the Path statement and before the WIN command.
Click File from the menu bar of the System Configuration Editor.
Click Exit.
Click Yes to save the changes.
Exit Microsoft Windows. Restart the computer by turning it off and then back on; try printing again.
Technique 4

Turn off Print Manager to eliminate spooling of print jobs. Follow these steps to turn off Print Manager:

In the Main program group, double-click Control Panel, and then double-click Printers.
Clear the check mark next to Use Print Manager in the lower-left corner of the window.
Click Close.
Close all windows and try printing again.


0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
If you can post the exact HP*.dll name, and exact error message, perhaps we can find more to resolve that, and what is running when this error message occurs.

I assume you're using the RS232 cable, and all connections have been checked, no error messages in device manager, etc.  If not, advise please.
0
 

Expert Comment

by:xiaomu
Comment Utility
Visp, the 710/712 printer is a host based printer, meaning that all document formatting and processing is done inside of the computer itself - the printer does not control this.  The printer MUST be able to grab the driver in windows in order to print.
To print from a dos program, you MUST have windows running, and you can use different drivers as a substitute - 520/550/660 DeskJet drivers will work, as will the LaserJet II series.
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
How are you doing, visp?  If the answer I proposed did not serve you, please reject and post an update.  I don't want you to have to flow points to me if the answer did not help you.

Thanks, look forward to hearing from you.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now