# Hercules Version 3: System Messages: PR - Printer Emulation

This page describes the printer emulation messages for the Hercules S/370, ESA/390, and z/Architecture emulator.

### Messages

`HHCPR001E File name missing or invalid for printer address`
  Meaning
    There was no file name specified for the printer at address `address`, or else there was one specified, but it was too long.
  Action
    Correct the error in the Hercules configuration file. The device may be made available by specifying a filename with the `devinit` command.
  Issued by
    printer.c, function printer_init_handler
`HHCPR002E Invalid argument for printer address: argument`
  Meaning
    An invalid argument was specified on the definition of the printer at address `address`.
  Action
    Correct or remove the invalid argument.
  Issued by
    printer.c, function printer_init_handler
`HHCPR003E address Error writing to filename: error`
  Meaning
    An error was encountered when writing output for the printer at address `address` to the file named `filename`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function write_buffer
`HHCPR004E Error opening file filename: error`
  Meaning
    An error was encountered when opening the file named `filename`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer
`HHCPR005E address device initialization error: pipe: error`
  Meaning
    An error was encountered when opening a pipe for the printer at address `address`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer
`HHCPR006E address device initialization error: fork: error`
  Meaning
    An error was encountered when starting the program to process the output from the printer at address `address`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer
`HHCPR007I pipe receiver (pid=processid) starting for address`
  Meaning
    The program to process the output from the printer at address `address` is starting. Its process id is `processid`.
  Issued by
    printer.c, function open_printer
`HHCPR008E address dup2 error: error`
  Meaning
    The file descriptor for stdin could not be duplicated for the program to process the output from the printer at address `address`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer
`HHCPR009E address dup2 error: error`
  Meaning
    The file descriptor for stdout could not be duplicated for the program to process the output from the printer at address `address`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer
`HHCPR010E address dup2 error: error`
  Meaning
    The file descriptor for stderr could not be duplicated for the program to process the output from the printer at address `address`. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer
`HHCPR011I pipe receiver (pid=processid) terminating for address`
  Meaning
    The program to process the output from the printer at address `address` has ended sucessfully. Its process id was `processid`.
  Issued by
    printer.c, function open_printer
`HHCPR012E address Unable to execute program: error`
  Meaning
    The program named `program` to process the output from the printer at address `address` could not be started. The error is described by `error`.
  Action
    Correct the error and retry the operation.
  Issued by
    printer.c, function open_printer

If you have a question about Hercules, see the Hercules Frequently-Asked Questions page.

Last updated $Date$ $Revision$