JavaStation Client Software Guide

Local Printers

All JavaStation models support local printing over a serial port. Future JavaStation models will also support local printing over a parallel port. (However, this feature is not available at this writing).

To Set Up a Local Serial Printer
  1. Use the javaos.printservice.local.params.serial-port property to set serial port transmission parameters.

    The port portion of this property is the name of a serial port, which can be:

    • SerialA or SerialB for an on-board JavaStation serial port (SerialB is not available on any JavaStation model at this writing)

    • One of SerialP1 - SerialP8 for a serial port enabled by the multiport serial card (MPSC), which is not available on any JavaStation model at this writing

The syntax of the parameters is baud_rate:data_bits:stop_bit: parity: flow_control. For example:


-djavaos.printservice.local.params.serialSerialA=57600:8:1:none:hh

The serial parameters supported are listed under "Printing Properties".

An application running on the JavaStation computer must use the CommPort API to communicate with the JavaStation serial port. To view the CommPort API, go to http://www.sun.com/javastation.

To Set Up a Local Parallel Printer
  1. Use the javaos.printservice.local.params.parallel-port property to enable the parallel port.

    The port portion of this property is the name of the parallel port. At this writing, a parallel port is not available on any JavaStation model. To enable the parallel port, you would set this property to true as follows:


    -djavaos.printservice.local.params.parallel-LPT1=true

An application running on the JavaStation computer must use the CommPort API to communicate with the JavaStation parallel port. To view the CommPort API, go to http://www.sun.com/javastation.