07-31-2002
I'm looking for a more automated process.
Is it possible to define a remote printer in printcap that points to a file location?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm using SCO_SV release 3.2v5.0.7 and would like to know how to print a Graphics file (a .tif file) to a HPLaserJet printer using a SCO unix command.
I've used nothing but the 'lp' command to print reports to different printers.
(I found an answer, I did a find for tiff* and came up with the... (0 Replies)
Discussion started by: Steve_93630
0 Replies
2. HP-UX
Hi,
Could any one please let me know what is the option
available in UNIX to print by specifying the paper size?
We are using Unix11i. I could n't see any option specified in the 'lp' command to print the report by specifying the size of the paper. It would be of great help to me, if... (1 Reply)
Discussion started by: ukarthik
1 Replies
3. UNIX for Dummies Questions & Answers
I am using SCO Unix to print text file. But the word size is too large, it is always over page (A4) when I print. Does Any one know how to use command change word size and make it fit on the page to print text file.
I use command:
lp -d (printer name) textFileName (16 Replies)
Discussion started by: wendyz
16 Replies
4. Shell Programming and Scripting
Hi,
I would like to know how to solve one of my problems using expert unix commands.
I have a file with occasional blank lines;
for example;
dertu
frthu
fghtu
frtty
frtgy
frgtui
frgtu
ghrye
frhutp
frjuf
I need to edit the file so that the file looks like this; (10 Replies)
Discussion started by: Lucky Ali
10 Replies
5. UNIX for Dummies Questions & Answers
on a PROGRESS environment, i create an invoice which at printing it must generate both the .dat for the invoice that was sent to the printer and the .dat for the PDF version. we have never printed PDF files in our lp printer until recently. i've done a bit of googling and it comes down to that i... (2 Replies)
Discussion started by: pdf2ps
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Team,
I have a requirement to print the column or find the column number of a particular string in delimited (;) file.
Ex:
aaa;bbb;ccc;rrr;mmm;
gggg;rrr;mmmm;ssss;eee;aaa;
ccc;gggg;tttt;bbbb;dddd;ggggg;rrr;
my file contains 1000+ rows like above example with semicolon... (3 Replies)
Discussion started by: baskivs
3 Replies
7. Shell Programming and Scripting
I am executing a stored procedure through shell script. In the procedure, i have dbms_output.put_line to log the comments. This is working fine and but logs are available only after the execution of the pl/sql procedure's completion.
I want to print the log comments while executing the procedure... (2 Replies)
Discussion started by: vel4ever
2 Replies
8. Shell Programming and Scripting
I need help with extract/print lines till stop pattern. This needs to happen after every 3rd occurrence of start pattern and continue till end of file. Consider below is an example of the log file. my start pattern will be every 3rd occurrence of ERROR_FILE_NOT_FOUND and stop pattern will be... (5 Replies)
Discussion started by: NSS
5 Replies
9. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
la88cof(8) System Manager's Manual la88cof(8)
NAME
la88cof - Filter for the Simplified Chinese LA88 printer
SYNOPSIS
/usr/lbin/la88cof [-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 Hanzi 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 zh_CN.dechanzi. Specifies the login name of the job owner. This name
can contain Hanzi characters. Specifies the page width in columns. The default value is 132.
OPERANDS
Specifies the file to record accounting information.
DESCRIPTION
The la88cof filter is used to filter text data for the LA88-C 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 la88cof 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 LA88-C printer.
The la88cof 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-C 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 more detailed 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
including the odldb and odlstyle options in the ya field. If you specify a value for the yt field, use fifo. For more information on
these fields, see 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 la88cof 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)
la88cof(8)