11-13-2000
We have a Canon GP215 that when printing a unix dump to will only print one line the whole page would appear on the line if the page was long enough,
I have been told it is because there are no carriage return triggers
where do I look and how do I rectify the problem????
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I try to test the carriage return in a variable.
$ LENGTH=`expr $VARIABLE : ".*"` will return the length of the variable. But this doesn't work if $VARIABLE has zero length.
Any help will be well appreciated.
Thanks in advance.
Giovanni (4 Replies)
Discussion started by: gio123bg
4 Replies
2. Shell Programming and Scripting
Let's say I want to write a program that run these 4 UNIX commands and redirect output to a file.
#!/usr/local/bin/perl
use strict;
`cd \$HOME > output.txt`;
`cut -f1 inputfile.txt >> output.txt`;
`hostname >> output.txt`;
`ifconfig >> output.txt`;
I want to print a "carriage return"... (5 Replies)
Discussion started by: teiji
5 Replies
3. UNIX for Dummies Questions & Answers
hi can anyone please tell me the difference between carriage return, linefeed and newline ? (2 Replies)
Discussion started by: streetfi8er
2 Replies
4. Shell Programming and Scripting
Guys - Simple code, i am trying to get a number back from sqlplus call to a query. After that, i need to use that number in a loop.
---------------------------------
#!/bin/ksh
VALUE=`sqlplus -silent sh/password@sh <<END
set pagesize 0 feedback off verify off heading off echo off
select... (10 Replies)
Discussion started by: sunshine1974
10 Replies
5. Shell Programming and Scripting
Hi all,
need your help in replacing carriage return in a record.
Input:
col1|col2|col3|col4|col5|col6|col7|col8|col9|col10
1|aa|bb|cc|dd|eee
eee|ff|ggggg|hh
hhh|iii
2|zz|yy|xx|ww|vv|uu|tt|ss|rr
Output:
col1|col2|col3|col4|col5|col6|col7|col8|col9|col10... (12 Replies)
Discussion started by: agathaeleanor
12 Replies
6. Shell Programming and Scripting
Hey folks,
I've been working on this for some time. Seems simple, but I'm stumped.
I need the following data format:
New_York:Commercial
Geology
Geophysics
Petrophysics
Production_Engineering
Reservoir_Engineering
Pasadena:Commercial
... (5 Replies)
Discussion started by: leepet01
5 Replies
7. Shell Programming and Scripting
Hello,
How do i usecarriage return in ksh.
I want to do an echo "bla bla" and another echo "bla bla" will appear and replace the first echo on screen.
I tried:
until ; do
echo "bla bla \r"
done
please advice.
Thanks. (3 Replies)
Discussion started by: LiorAmitai
3 Replies
8. Shell Programming and Scripting
I have a CSV with carriage returns in place of newlines. I am trying to use tr to remove them, but it isn't working.
Academic year,Term,Course name,Period,Last name,Nickname
2012-2013,First Semester,English 12,4th Period,Arnold,Adam
2012-2013,First Semester,English 12,4th Period,Adams,Jim... (1 Reply)
Discussion started by: nextyoyoma
1 Replies
9. Shell Programming and Scripting
Hello all,
I've a flat file in the following format:
AB\001\CDED\001\ABC\001\nEG\001\HIJF\001\EFG\001\nHI\003\HIUL\003\HIJ\003
And I want to substitute \n with the carriage return. Any help is appreciated!
Regards,
- Seth (8 Replies)
Discussion started by: sethmj
8 Replies
10. UNIX for Dummies Questions & Answers
I need to remove the carriage return comes inbetween the record.
Need to have CR only at the end.
I used the below command.
tr -d '\n' < filewithcarriagereturns > filewithoutcarriagereturns
But its removing all the CR and giving one line output.
Input File:
12345
abcdegh... (11 Replies)
Discussion started by: srvn_saru
11 Replies
LEARN ABOUT OPENDARWIN
postdaisy
postdaisy(1) User Commands postdaisy(1)
NAME
postdaisy - PostScript translator for Diablo 630 daisy-wheel files
SYNOPSIS
postdaisy [-c num] [-f num] [-h num] [-m num] [-n num] [-o list] [-p mode] [-r num] [-s num] [-v num ] [-x num] [-y num] [file...]
/usr/lib/lp/postscript/postdaisy
DESCRIPTION
The postdaisy filter translates Diablo 630 daisy-wheel files into PostScript and writes the results on the standard output. If no files are
specified, or if - is one of the input files, the standard input is read.
OPTIONS
-c num Print num copies of each page. By default only one copy is printed.
-f name Print files using font name. Any PostScript font can be used, although the best results will be obtained only with constant-width
fonts. The default font is Courier.
-h num Set the initial horizontal motion index to num. Determines the character advance and the default point size, unless the -s option
is used. The default is 12.
-m num Magnify each logical page by the factor num. Pages are scaled uniformly about the origin, which is located near the upper left
corner of each page. The default magnification is 1.0.
-n num Print num logical pages on each piece of paper, where num can be any positive integer. By default, num is set to 1.
-o list Print pages whose numbers are given in the comma-separated list. The list contains single numbers N and ranges N1 - N2. A missing
N1 means the lowest numbered page, a missing N2 means the highest. The page range is an expression of logical pages rather than
physical sheets of paper. For example, if you are printing two logical pages to a sheet, and you specified a range of 4, then two
sheets of paper would print, containing four page layouts. If you specified a page range of 3-4, when requesting two logical pages
to a sheet; then only page 3 and page 4 layouts would print, and they would appear on one physical sheet of paper.
-p mode Print files in either portrait or landscape mode. Only the first character of mode is significant. The default mode is portrait.
-r num Selects carriage return and line feed behavior. If num is 1, a line feed generates a carriage return. If num is 2, a carriage
return generates a line feed. Setting num to 3 enables both modes.
-s num Use point size num instead of the default value set by the initial horizontal motion index.
-v num Set the initial vertical motion index to num. The default is 8.
-x num Translate the origin num inches along the positive x axis. The default coordinate system has the origin fixed near the upper left
corner of the page, with positive x to the right and positive y down the page. Positive num moves everything right. The default
offset is 0.25 inches.
-y num Translate the origin num inches along the positive y axis. Positive num moves text up the page. The default offset is -0.25
inches.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/usr/lib/lp/postscript/forms.ps
/usr/lib/lp/postscript/ps.requests
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpsf |
+-----------------------------+-----------------------------+
SEE ALSO
download(1), dpost(1), postdmd(1), postio(1), postmd(1), postprint(1), postreverse(1), posttek(1), attributes(5)
SunOS 5.10 9 Sep 1996 postdaisy(1)