05-09-2007
The character exists in the printer font set, the pound sign is given as 0163 which works in Windows but in UNIX it only accepts 163 which is "ú". If I can get an escape sequence that displays on the UNIX without mapchan then my problem would be solved.
Note that with the MAPCHAN I can view the pound sign on screen but It does not print to ttyp configured printers. It prints fine to the local printer connected to the lp0 port, but this only after setting the device locale to cons.858
Quote:
Originally Posted by jgt
Check to see if the character is part of the printer font set, and also see if it is part of the terminal character set, Then send that character to the terminal .
Rather than using mapchan, try sending the character as an escape sequence as in \0nnn where nnn is the octal value of the character.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Surpisingly, I've only found information regarding removal of files with special characters in the name. My problem is this: files are downloaded to my Unix box from mainframe, and each one has a pound sign as the first character of the filename.
original:
#FONT
what I need:
FONT
... (4 Replies)
Discussion started by: kristy
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
Please find the Question Summary below-
In our email template document(.txt) bullets and Apostrophe are getting replaced by the string "£" in our Live environment.We are using sun solaris 8 in live.
Can anybody let me know why this happens and how to prevent this .
Thanks... (0 Replies)
Discussion started by: kaushik05
0 Replies
3. Shell Programming and Scripting
I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Discussion started by: Glider
1 Replies
4. Solaris
Hi,
Any ideas of the character sequence to print the £ sign from Solaris using network printing over Jetdirect software ?
Thanks
Matt (1 Reply)
Discussion started by: mattpar75
1 Replies
5. Programming
Hi All,
I want to print new Indian Rupees sign in my report which is developed in Pro*C code.
Please help me to know:
->What necessary settings i have to do..
I am looking for free product. Please help (0 Replies)
Discussion started by: msbrd
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I am trying to copy a test from database into a file, basically that is what our application do. We will process all values and store it in a Linux file. When i look the database I am seeing as below
spend (£000's)
but after processing and stored to a file , i am seeing as... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
LEARN ABOUT CENTOS
foomatic-getpjloptions
FOOMATIC-GETPJLOPTIONS(8) System Manager's Manual FOOMATIC-GETPJLOPTIONS(8)
NAME
foomatic-getpjloptions - <put a short description here>
SYNOPSIS
foomatic-getpjloptions device
foomatic-getpjloptions hostname port
DESCRIPTION
foomatic-getpjloptions Sends a set of PJL commands and reads back the PJL options and status from a printer over a network connection or
device bidirectional interface such as parallel, USB, serial. printers to standard output. The output can be piped into foomatic-addpjlop-
tions to add options to the database.
Options
device The interface to which a local printer is connected, e.g. /dev/lp0, /dev/usb/lp0, /dev/tty00, etc. For a parallel port, you must
have bidirectional support enabled at the BIOS level and the parallel port driver must support the bidirectional mode. Check
your parallel port BIOS settings for EPP/bi-directional mode.
hostname Host name or IP address of a network printer (HP JetDirect, DLINK, etc.).
port Port on which your network printer listens for socket (Appsocket) connections. Most common ports are 9100 (JetDirect), 10000
(DLINK). Usually you can configure the port via a configuration interface.
EXIT STATUS
foomatic-getpjloptions returns ???
AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. Modified by Patrick Pow-
ell <papowell at lprng.com> to provide betters support for network printers, error messages, and remove CR and FF from output.
WARNINGS
Uni-directional protocols as remote LPD are not supported as no status is returned. Some network print servers which attach to a printer
parallel port do not support bidirectional mode.
Foomatic Project 2001-05-07 FOOMATIC-GETPJLOPTIONS(8)