hello....very new user to unix...and i have a question..i am not sure if there is such a thing
For example...the user is asked if he likes Bananas....if he says yes....
echo You like Bananas $name
at the end of the script it echos all that the user has entered so they can read it....
but... (1 Reply)
I am running on HPUX using ksh.
I have a script that uses a loop within a loop, for some reason the script seems to hang on a particuliar record. The record is fine and hits the condition in Blue. If I kill the 1st loop process the script continues on with no problem.
Begin code>
<Some... (8 Replies)
I'm trying to create a loop that will prompt the user for 15 values, not forcing them to enter all 15. If the user enters through one or more of the prompts the null value needs to be converted to 0, otherwise set the parameter = to the value entered:
ex.
Please enter file no #1: 17920
... (4 Replies)
Hi,
how can I use "for" to have two loops :
this is my script :
for i in (A B C)
do
for j in (a b c)
do
echo $i$j
done
done
#End
I want to print out
Aa
Ab
Ac ....
But I have error message :
syntax error at line 1 : `(' unexpected
Many thanks before.
How should I use "for" ?? (2 Replies)
I am traversing down a list, and I am not quite sure how to tell the loop to break when it's done going through the file.
#!/bin/sh
while :
do
read list <&3
echo $list
done
is the code. The file "list" is simply
5
4
3
2
1
any advice on how to break the loop after the file is... (1 Reply)
#!/bin/bash
IFS=$'\n'
A= a c b t g j i e d
B= t y u i o p
counter=0
found=""
for i in $(cat $A)
do
for j in $(cat $B)
do
if
then
found="yes"
fi
done
if
then (1 Reply)
Hello,
I'm not sure if this is more appropriate for the 'unix for dummies' or the 'unix for experts' forum because I'm new to this forum and this is the second topic I've discussed, but if you could let me know which one was more appropriate for something like this, please do!
So in tr (an... (2 Replies)
I'm trying to understand better the while and until loops, can someone help me with this example?
#!/bin/bash
# Listing the planets.
for planet in Mercury Venus Earth Mars Jupiter Saturn Uranus Neptune Pluto
do
echo $planet # Each planet on a separate line.
done
echo; echo
for... (3 Replies)
Why wont my for statements work? Im trying to get this script to swich to a user an if you put in a start/stop/or restart paramater to do just that for each user. I commented out the actual start/stop actions to test it just by using echos and not do anything hasty in the environment but it... (0 Replies)
Discussion started by: LilyClaro
0 Replies
LEARN ABOUT REDHAT
gimpprint-mediatypes
GIMPPRINT-MEDIATYPES(7) Gimp-Print Manual Pages GIMPPRINT-MEDIATYPES(7)NAME
gimpprint-mediatypes - Gimp-Print media types
DESCRIPTION
Gimp-Print supports many different media types, which are printer type specific. The option names are case sensitive. Two names are
listed for each resolution; the first (short) name is the mediatype, and the second (long) name is descriptive. Not all media types are
supported on all printers.
MEDIA TYPES
Epson and Lexmark (other than the 4076) inkjet printers
Media Type Description
------------------------------------------
Plain Plain Paper
PlainFast Plain Paper Fast Load
Postcard Postcard
GlossyFilm Glossy Film
Transparency Transparencies
Envelope Envelopes
BackFilm Back Light Film
Matte Matte Paper
Inkjet Inkjet Paper
Coated Photo Quality Inkjet Paper
GlossyPhoto Premium Glossy Photo Paper
Luster Premium Luster Photo Paper
Photo Photo Paper
Glossy Photo Quality Glossy Paper
Ilford Ilford Heavy Paper
Other Other
We have found that glossy photo papers not specifically designed for Epson printers generally perform poorly in Epson printers. The ink
tends to pool on the paper, causing muddy shadows and possibly leaving ink on the printer rollers. Use of the highest quality printing
modes (1440x720 highest quality and 2880x720 unidirectional) produces the best result on such papers, probably because printing is slower
and there is more time for the ink to dry.
Canon printers
Media Type Description
-------------------------------------
Plain Plain Paper
Transparency Transparencies
BackFilm Back Print Film
Fabric Fabric Sheets
Envelope Envelope
Coated High Resolution Paper
TShirt T-Shirt Transfers
GlossyFilm High Gloss Film
GlossyPaper Glossy Photo Paper
GlossyCards Glossy Photo Cards
GlossyPro Photo Paper Pro
PCL (Hewlett-Packard and Lexmark 4076) inkjet printers
Media Type Description
----------------------------------------
Plain Plain
Bond Bond
Premium Premium
Glossy Glossy/Photo
Transparency Transparency
GlossyQD Quick-dry Photo
TransparencyQD Quick-dry Transparency
PCL laser printers do not allow specification of any media type.
COPYRIGHT
Copyright (C) 2001 Michael Sweet (mike@easysw.com) and Robert Krawitz (rlk@alum.mit.edu)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This manual page was written by Roger Leigh (roger@whinlatter.uklinux.net)
SEE ALSO gimpprint-color(7), gimpprint-dithers(7), gimpprint-imagetypes(7), gimpprint-inktypes(7), gimpprint-mediasizes(7), gimpprint-media-
sources(7), gimpprint-models(7), gimpprint-resolutions(7).
Version 4.2.4 25 Nov 2002 GIMPPRINT-MEDIATYPES(7)