09-20-2000
using c-shell, does anyone know how to send control characters to the printer before the job?
I need to set a printer to print in condensed mode
HELP
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
When my users print they all receive an extra page with the following info:
User Oracle
Host sol02
Class sol02
Job standart input
The printer has the following /etc/lp/printers/PRINTER/configuration file:
Banner: off
Content types: postscript
Device: /dev/null
Interface:... (1 Reply)
Discussion started by: cpuhl
1 Replies
2. Shell Programming and Scripting
Hi,
Can anyone help me with controlling the cursor position from a shell script. Things like moving left,right,up,down etc
Anyone have any ideas? (2 Replies)
Discussion started by: ajcannon
2 Replies
3. UNIX for Advanced & Expert Users
I'm new at the entire spectrum of printing in Unix, and especially when--as I understand it--the printers are on a Windows server. At work we have a variety of printers and printing from Windows, or from Unix via lp or lpr works fine.
The initial problem: Our users will be printing up to 20... (1 Reply)
Discussion started by: effigy
1 Replies
4. Shell Programming and Scripting
Can somebody please help me with the query. ?
I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..!
Please help me (1 Reply)
Discussion started by: iamnoone
1 Replies
5. Shell Programming and Scripting
Can somebody please help me with the query. ?
I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..!
Please help me (13 Replies)
Discussion started by: iamnoone
13 Replies
6. UNIX for Advanced & Expert Users
I ported application from SysV to Linux and run into troubles with printing.
Application uses lp and HP JetDirect-based printers, it inserts HP control codes in the file and uses plain lp -d dest doc-file command to print it.
The Linux (Ubuntu 8) has CUPS system, which I am not familiar... (0 Replies)
Discussion started by: migurus
0 Replies
7. Shell Programming and Scripting
sed -e "s// /g" old.txt > new.txt
While I do know some control characters need to be escaped, can normal characters also be escaped and still work the same way? Basically I do not know all control characters that have a special meaning, for example, ?, ., % have a meaning and have to be escaped... (11 Replies)
Discussion started by: ijustneeda
11 Replies
8. UNIX for Dummies Questions & Answers
Hi,
My files are showing some control characters in vi editor
^M
^@ and somtimes
^H
I removed ^M with %s/^M//g command
but how to represent ^@ and ^H
e.g. for ^M it is hold ctrl then v and m..
Please help..
I am very new to unix.. (7 Replies)
Discussion started by: prabhat.diwaker
7 Replies
9. Shell Programming and Scripting
Hallo Team,
I am trying to get rid of the dollar sign. I managed to remove all the other special characters but i am struggling with this one.
-bash-3.2$ cat -e missing_revenue_20141112.csv|less|head
BW0522168531211141180935668@196.23.110.141$
BW092218784121114-370120610@196.23.110.141$... (4 Replies)
Discussion started by: kekanap
4 Replies
10. Solaris
Solaris 10:
Having some trouble with a new printer printing control codes. This is an HP MFP M632.
Tried a few ppd files and without a ppd file using commands similar to the follow:
lpadmin -p L4102A -v /dev/null -m netstandard -n... (1 Reply)
Discussion started by: kuliksco
1 Replies
LEARN ABOUT OSF1
ln03jaof
ln03jaof(8) System Manager's Manual ln03jaof(8)
NAME
ln03jaof - Filter for the Japanese LN03S-JA printer
SYNOPSIS
/usr/lbin/ln03jaof [-c] [-h host] [-i indent] [-l length] [-L locale] [-n login] [-w width] [accounting_file]
OPTIONS
Prints control characters. Specifies the host name of the job owner. This name can contain Japanese characters. Specifies the amount of
indentation. The default value is no (no indentation). Specifies the page length in lines. The default value is 66. Specifies the printer
codeset. This value must be a valid locale name. The default value is ja_JP.deckanji. Specifies the login name of the job owner. This name
can contain Japanese characters. Specifies the page width in columns. The default value is 132.
OPERANDS
Specifies the file to record accounting information.
DESCRIPTION
The ln03jaof filter is used to filter text data for the LN03S-JA printer. The filter handles the device dependencies of the printer and
performs accounting functions. At print job completion times, accounting records are written to the file specified by the af field in the
/etc/printcap file.
The ln03jaof filter can handle plain text files and files that have been preprocessed by nroff. Either kind of file can contain non-ASCII
characters. The filter translates nroff control sequences for underlining, superscripting, and subscripting into the proper control
sequences for the LN03S-JA printer.
The ln03jaof filter can be the specified filter in both the of and the if fields in the /etc/printcap file. For a description of these
fields, see printcap(4).
The LN03S-JA printer can be configured to use the software on-demand loading (SoftODL) mechanism to print user-defined characters (UDCs).
See i18n_printing(5) for a description of SoftODL.
To enable SoftODL printing, set the ys field in /etc/printcap to 256. You can also set the default SoftODL database, style, and size by
using the odldb and odlstyle options of the ya field. If you specify a value for the yt field, use fifo. For more information on these
fields and associated options, refer to printcap(4).
NOTES
The lpr command supports a number of options and associated arguments to enable localization features supported by various printers. The
following can be used with the ln03jaof print filter: To specify the SoftODL database path To specify SoftODL font style and size
For a complete description of the -A option and its arguments, refer to lpr(1).
ERRORS
The lf field (default value is /dev/null) in the /etc/printcap file specifies the name of the error log.
SEE ALSO
Commands: lpr(1), pr(1), lpd(8), pac(8)
Files: printcap(4)
Others: i18n_printing(5)
ln03jaof(8)