165 pts.
 AS/400 printer not starting
Hi, 

I have made a printer available but once I try to start it, I get a message waiting. It shows the following:- 

Message: Hardware failure on device PRT02 

Cause: File QPSPLPRT in library QSYS for job 360092/QSPLJOB/PRT02 is being processed. The device must be made ready before an active job will give up control of the device. 

I do not understand what the ‘Cause’ is trying to say.  Please help me. 

Thank you.

Software/Hardware used:
AS400
ASKED: August 31, 2011  2:18 PM
UPDATED: March 31, 2012  5:17 PM

Answer Wiki:
1. Ensure the device (printer) is powered on. 2. Check the device status again. WRKCFGSTS *DEV XXX. Vary on the device if status is VARIED OFF. 3. AS/400 also provides the F1 = HELP facility and suggest recovery options to take. Did you try them?
Last Wiki Answer Submitted:  September 7, 2011  7:40 am  by  Jon400   20 pts.
All Answer Wiki Contributors:  Jon400   20 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

The message you refer to seems to be CPA5201. Continuing down the message text, you should find:

  • Recovery . . . : Press the Stop key and the Start key, or press the
    Start/Stop key to clear any indicator lights. The device may need to be
    turned off and then on again to clear the error. For additional problem
    analysis information, check the printer writer job log or your job log if
    not using a printer writer (SPOOL(*NO)). If the problem continues, start
    problem analysis (ANZPRB command).
  • Technical description . . . . . . . . : The device response code is nnnn.
    Device response codes and their meanings follow:

That would be followed by a list of the most common response codes and short descriptions.

Did you try the suggested recovery? Did you check the printer writer job log? Was there a response code?

Tom

 108,135 pts.

 

The response code we received was Unable to connect to device. This has been sorted out but now the printer doesn’t print at all.

It accepts the job but the printer just rolls out the paper without physically writing to it.

It is a dot matrix printer, and previously to just rolling out the paper, it would print garbage characters.

 165 pts.

 

The response code we received was Unable to connect to device.

I’m not aware of any such response code for CPA5201. It might be a different message ID; if so, please supply the message ID. It might be a different OS release — it doesn’t match from V5R4 through i 7.1. What OS release are you running?

A response code should be 8 hex digits (possibly only 4.) Where were you seeing ‘Unable to connect to device.’? Something isn’t clear about how the connection with the printer is structured. Some general descriptions might help.

Tom

 108,135 pts.

 

…the printer just rolls out the paper without physically writing to it.

It is a dot matrix printer, and previously to just rolling out the paper, it would print garbage characters.

That all makes it sound as if the printer device description is for the wrong printer type. What kind (manufacturer/model) is the printer? What ‘Manufacturer type and model’ is set on the device description?

Setting type/model essentially associates a printer driver with the printer. When spooled output is generated for it, appropriate printer control codes can be inserted into the printer data stream.

Tom

 108,135 pts.