Sponsored Content
Full Discussion: printing control characters
Top Forums UNIX for Dummies Questions & Answers printing control characters Post 24 by Neo on Wednesday 20th of September 2000 04:42:46 PM
Old 09-20-2000
Question

Can't you just echo the control sequence with the appropriate escape chars and then redirect the output
to the device file (/dev/lpr or whatever)?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Disable printing control file

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

screen control characters

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

Printing to Windows and maintaining control

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

Urgent : Control Characters

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

Control Characters

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

CUPS printing and control escape codes

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 replacing specific characters and control characters by escaping

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

Control characters in UNIX

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

Control Characters

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

Printer printing control codes

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
la380of(8)						      System Manager's Manual							la380of(8)

NAME
la380of - Filter for Japanese LA380 printer SYNOPSIS
/usr/lbin/la380of [-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.sdeckanji. 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 la380of filter is used to filter Japanese text data for the LA380 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 la380of 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 LA380 printer. The la380of filter can be the specified filter in both the of and the if fields in the /etc/printcap file. For more information about these fields, see printcap(4). The LA380-J printer can be configured to use the software on-demand loading (SoftODL) mechanism to print user-defined characters (UDCs). For a description of the SoftODL mechanism, refer to i18n_printing(5). To enable SoftODL printing, set the ys value 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 spec- ify a value for the yt field, use fifo. Refer to printcap(4) for more information on these fields. 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 la380of 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) la380of(8)
All times are GMT -4. The time now is 02:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy