You are viewing an article about an obsolete product. Information on this page is provided as-is and not supported.

Printer Configuration in SCO OpenServer

 

Configuring a Device for a Printer

Use this procedure to configure a Digi serial device for a printer. Consult your operating system documentation for more information on configuring a serial device for a printer.

Procedure

  1. Connect a crossover printer cable between the port and printer. 
  2. If you wish to set up a print spooler, enter the following command at the UNIX root prompt:

    scoadmin printer

     

  3. Select the Printer item from the top menu using your arrow keys, then press [Enter].
  4. Select Add Local from the Printer menu.
  5. Type in a name and description for your printer entry.
  6. Select the appropriate model for your particular printer. NOTE: It is not recommended that the "dumb" model is selected since it does not provide flow control.
  7. Type the Digi port device in the Device field. You will need to clear out any device displaying in the field first.
  8. Choose the OK option at the bottom.
  9. The baud rate, parity and flow control settings are configured in the Settings item at the top of the printer menu. Make sure the appropriate printer is sected from the printer list below. Use the [TAB] key to move to the printer list for selection and likewise to return to the menu selections at the top. Select the Serial Com option from the Settings menu, then fill in the appropriate settings for your attached printer.
  10. To exit the printer menu, select the Host menu item followed by Exit

Configuring Port Parameters Using ditty

 

  1. You must be root in order to use the ditty command.
  2. The following example will set the port ttya01 to a speed of 38400, disable software flow control, and enable hardware flow control on the port:

     

  3. cat < /dev/device_name > /dev/null &

    ditty 38400 -ixon -ixany -ixoff ctspace device_name

  4. Placing the ditty commands in /etc/rc.d/8/userdef, it will be executed whenever the system is booted so the settings are "sticky".

Configuring a Device for a Printer

Use this procedure to configure a Digi serial device for a printer. Consult your operating system documentation for more information on configuring a serial device for a printer.

Procedure

  1. Connect a crossover printer cable between the port and printer. 
  2. If you wish to set up a print spooler, enter the following command at the UNIX root prompt:

    scoadmin printer

     

  3. Select the Printer item from the top menu using your arrow keys, then press [Enter].
  4. Select Add Local from the Printer menu.
  5. Type in a name and description for your printer entry.
  6. Select the appropriate model for your particular printer. NOTE: It is not recommended that the "dumb" model is selected since it does not provide flow control.
  7. Type the Digi port device in the Device field. You will need to clear out any device displaying in the field first.
  8. Choose the OK option at the bottom.
  9. The baud rate, parity and flow control settings are configured in the Settings item at the top of the printer menu. Make sure the appropriate printer is sected from the printer list below. Use the [TAB] key to move to the printer list for selection and likewise to return to the menu selections at the top. Select the Serial Com option from the Settings menu, then fill in the appropriate settings for your attached printer.
  10. To exit the printer menu, select the Host menu item followed by Exit

Configuring Port Parameters Using ditty

 

  1. You must be root in order to use the ditty command.
  2. The following example will set the port ttya01 to a speed of 38400, disable software flow control, and enable hardware flow control on the port:

     

  3. cat < /dev/device_name > /dev/null &

    ditty 38400 -ixon -ixany -ixoff ctspace device_name

  4. Placing the ditty commands in /etc/rc.d/8/userdef, it will be executed whenever the system is booted so the settings are "sticky".

Last updated: Jun 21, 2019

Recently Viewed

No recently viewed articles

Did you find this article helpful?