You can use the commands in this section to print files of different formats to a line printer.
Use this command to print an EUC file.
system% lp euc-filename |
Use this command to print a Packed format file to a printer that supports Packed format.
system% lp -T PACK PACK-filename |
Use this command to print a Johap format file to a printer that supports Johap format.
system% lp -T JOHAP JOHAP-filename |
Use commands such as the following to print a ko.UTF-8 file to an EUC printer.
The first command line converts the file to an EUC format. The second line prints the file.
system% iconv -f ko_KR-UTF-8 -t ko_KR-euc ko.UTF-8_filename > euc-filename system% lp euc-filename |
The printed output includes only the characters that are defined in the EUC code set.
Use commands such as the following to print a ko.UTF-8 file to a Johap (KS C 5601-1992) printer.
The first command line converts the file to a Johap format. The second line prints the file.
system% iconv -f ko_KR-UTF-8 -t ko_KR-johap92ko.UTF-8_filename >\ johap92-filename system% lp johap92-filename |
The printed output includes only the characters that are defined in the Johap code set.