We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Good day, everyone!
Could anybody explain me the following situation.
If I'm running similar script:
Var="anna.kurnikova"
Var2="Anna Kurn"
echo $Var | tr -t "$Var" "$Var2"
Why the output is :
anna KurniKova
instead of Anna Kurnikova?
:confused:
Thank you in advance for any... (2 Replies)
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Hello All,
I have a problem in counting number of process getting run with my current script name..
Here it is
ps -ef | grep $0 | grep -v grep
This display just one line with the PID, PPID and other details when i print it in the script.
But when I want to count the numbers in my... (11 Replies)
Discussion started by: sathyaonnuix
11 Replies
LEARN ABOUT SUNOS
jprconv
jprconv(1) User Commands jprconv(1)NAME
jprconv - Filter for printing Japanese text on a dot-matrix Kanji printer or Japanese language page printer
SYNOPSIS
jprconv [-T terminfo] [-r ]
/usr/lib/lp/text/jprconv
AVAILABILITY
SUNWjfpu
DESCRIPTION
jprconv is a filter for printing Japanese text on a dot-matrix Kanji printer (EPSON VP-5085 or NEC PC-PR201) or Japanese language page
printer (Canon LASERSHOT). Control codes for each printer are as follows:
+-----------------------+-----------------------------------+
|Database |Control code |
|EPSON VP-5085 |ESC/P24-J84 of EPSON ESC/P |
|NEC PR201 |NEC 201PL |
|Canon LASERSHOT |LIPS-complied control code |
+-----------------------+-----------------------------------+
If the above control codes are supported, Japanese text can be printed on another printer.
jprconv reads Japanese characters from the standard input, converts them to each control code, and writes to the standard output. If the
input character code includes any user-defined characters, JIS X 0212, IBM Extended characters, or NEC-selective IBM Extended characters,
these fonts are also printed. For the other characters, fonts installed on the printer are used.
You can use sdtudctool to define user-specific characters (see sdtudctool(1)). To print JIS X 0212, IBM Extended characters, or NEC-selec-
tive IBM Extended characters, the SUNWjcs3f package is also needed.
OPTIONS -T Specifies to use terminfo database. Any one of the following must be spefified.
canon-ls-408 In case of LIPS format
nec-pr201 In case of NEC 201PL format
epson-vp5085 In case of ESC/P24-J84 format
-r Does not convert NL to CR-NL when printing. By default it is converted.
EXAMPLES
To print file1 in the ESC/P24-J84 format, type:
example% jprconv -T epson-vp5085 < file1
ENVIRONMENT VARIABLES
To run this command, the locale must be set to ja, ja_JP.PCK or ja_JP.UTF-8.
FILES
/usr/lib/lp/text/jprconv.conf
/usr/share/lib/terminfo/e/epson-vp5085
/usr/share/lib/terminfo/n/nec-pr201
/usr/share/lib/terminfo/c/canon-ls-a408
SEE ALSO jtops(1), jpostprint(1), sdtudctool(1), lpfilter(1M)
Japanese Environment User's Guide
NOTES
In general, it is not necessary to use the jprconv because jprconv is used as a filter on the printer server side. For the setting on the
printer server side, see Japanese Environment User's Guide.
Only Japanese characters are printable in the ja_JP.UTF-8 locale.
SunOS 5.10 10 Jan 2003 jprconv(1)