printing control characters


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers printing control characters
Prev   Next
# 1  
Old 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

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question
la88of(8)						      System Manager's Manual							 la88of(8)

NAME
la88of - Filter for the Japanese LA88 printer SYNOPSIS
/usr/lbin/la88of [-c] [-h host] [-i indent] [-l length] [-L locale] [-n login] [-w width] [accounting_file] OPTIONS
Prints control characters. Specifies the amount of indentation. The default is no (no indentation). Specifies the host name of the job owner. This name can contain Japanese characters. 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 la88of filter is used to filter text data for the LA88-J printer. The filter handles the device dependencies of the printer and per- forms 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 filter can handle plain text files and files that have been preprocessed by nroff. Either kind of file can contain non-ASCII charac- ters. The filter translates nroff control sequences for underlining, superscripting, and subscripting into the proper control sequences for the LA88 printer. The la88of filter can be the specified filter in both the of and the if fields in the /etc/printcap file. For more information on these fields, see printcap(4). The LA88-J printer can be configured to use the software on-demand loading (SoftODL) mechanism to print user-defined characters (UDCs). The i18n_printing(5) reference page describes the SoftODL mechanism. 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 in the ya field. If you specify a value for the yt field, use fifo. Refer to printcap(4) for more information on these fields and associated options. 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 la88of 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) la88of(8)