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 OSX
printers.conf
printers.conf(5) Apple Inc. printers.conf(5)
NAME
printers.conf - printer configuration file for cups
DESCRIPTION
The printers.conf file defines the local printers that are available. It is normally located in the /etc/cups directory and is generated
automatically by the cupsd(8) program when printers are added or deleted.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
<Printer name> ... </Printer>
Defines a specific printer.
<DefaultPrinter name> ... </Printer>
Defines a default printer.
Accepting Yes
Accepting No
Specifies whether the printer is accepting new jobs.
AllowUser [ user @group ... ]
Allows specific users and groups to print to the printer.
DenyUser [ user @group ... ]
Prevents specific users and groups from printing to the printer.
DeviceURI uri
Specifies the device URI for a printer.
ErrorPolicy abort-job
ErrorPolicy retry-current-job
ErrorPolicy retry-job
ErrorPolicy stop-printer
Specifies the error policy for the printer.
Info text
Specifies human-readable text describing the printer.
JobSheets banner banner
Specifies the banner pages to use for the printer.
KLimit number
Specifies the job-k-limit value for the printer.
Location text
Specifies human-readable text describing the location of the printer.
OpPolicy name
Specifies the operation policy for the printer.
PageLimit number
Specifies the job-page-limit value for the printer.
PortMonitor monitor
Specifies the port monitor for a printer.
QuotaPeriod seconds
Specifies the job-quota-period value for the printer.
Shared Yes
Shared No
Specifies whether the printer is shared.
State idle
State stopped
Specifies the initial state of the printer (Idle or Stopped)
StateMessage text
Specifies the message associated with the state.
StateTime seconds
Specifies the date/time associated with the state.
SEE ALSO
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2013 by Apple Inc.
29 April 2009 CUPS printers.conf(5)