Korean Solaris User's Guide

Printing with a Line Printer

    To print an EUC file, use the following command:


system% lp euc-filename 

    To print a Packed format file on a printer that supports this format, you can use the following command:


system% lp -T PACK PACK-filename 

    To print a Johap format file on a printer that supports this format, you can use the following command:


system% lp -T JOHAP JOHAP-filename 

For more information on setting up the Packed or Johap filters, see Korean Solaris System Administrator's Guide.

    To print a ko.UTF-8 file to an EUC printer, type the following commands:

The first line converts the file to an EUC file. The print out will be missing any characters that are not defined in EUC.


system% iconv -f ko_KR-UTF-8 -t ko_KR-euc ko.UTF-8_filename >euc-filename
system% lp euc-filename 

    To print a ko.UTF-8 file to a Johap (KS C 5601-1992) printer, type the following commands:

The first line converts the file to a Johap file.


system% iconv -f ko_KR-UTF-8 -t ko_KR-johap92 ko.UTF-8_filename >johap92-filename 
system% lp johap92-filename