Hi,
I would like to change the font size in bash. I know how do it in ksh:
F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."
But in bash I don't know
Could you help me please?
Many thanks! (5 Replies)
It looks like,
user@hostname:/auto/home3/user$
Desired,
user@hostname$
I added following line in .bashrc, but still its same.
export PS1=" $ "
Please help me :confused: (13 Replies)
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
I have a variable in a bash script,
DISTANCE=`awk 'BEGIN {FS="\t"} {if (NR==2) print $3;}' $OUTFILE`
this is a real number taken from a file. The value are like,
0.334561754018
I am using this value in a file name,
'$NAME'_'$DISTANCE'.txt
I would like to shorten the number some to... (4 Replies)
Say you got a for loop where each execution has 0 dependence on the other. Thus ideally you'd like to executed them all concurrently rather than iteratively (if you had enough CPUs). We don't quite have that many CPUs but I would like to instead partition the iterations between them.
Or maybe... (10 Replies)
I have the below bash which runs great. Before I make a change I wanted to check with experts (as I am not one). After the perl code completes, I am going to display "annotation complete" then go into the remove function .
annovar() {
# combine id and position files
cd... (2 Replies)
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)
Hi all,
I'm using iconv command to change files encoding to UTF-8
If my input file has chars as those are removed creating the file without those special chars.
I tried using iconv -c, but there is still the removal.
Is there a way to keep those special chars changing just the... (6 Replies)
Discussion started by: mrreds
6 Replies
LEARN ABOUT DEBIAN
cups-genppd
CUPS-GENPPD(8) Gutenprint Manual Pages CUPS-GENPPD(8)NAME
cups-genppd - generate Gutenprint PPD files for use with CUPS
SYNOPSIS
cups-genppd [-c localedir] [-l locale] [-p prefix] [-q] [-v] model1 [model2, ...modeln]
cups-genppd -L [-c localedir]
cups-genppd -M [-v]
cups-genppd -h
cups-genppd -V
DESCRIPTION
cups-genppd generates Gutenprint PPD files for use with CUPS. The default behavior is to output PPD files for all models of printer that
the Gutenprint printer driver library supports. You may restrict the models by listing either the driver names or the full names of the
printers you wish to generate PPD files for after any options. Additionally, the PPD files may be localised, that is, translated, to use
your native language rather than US English. There are commands to find out what printer models and languages are supported.
EXAMPLES
cups-genppd -v bjc-6200 'Epson Stylus Photo 1280' 'HP DeskJet 850C'
verbosely generate three PPD files, listing the driver name in the first case, and the full name in the second.
LANG=de_DE genppd -p ppd -c /usr/share/locale
generate PPDs for all available models, in directory ppd using the locale data found under /usr/share/locale. The language to use
is taken from the environment (de_DE).
cups-genppd -L -c /usr/local/share/locale
list available languages using the locale data found under /usr/local/share/locale.
cups-genppd -M -v
list available drivers, with long model descriptions
COMMANDS -h show a help message
-L list available translations (message catalogs). If a locale is used for which there is not a corresponding translation, then then
US English will be used.
-M list available printer models. By default, only driver names are listed; if verbose mode is used, the full model name will also be
printed
-V show version information and defaults
The default behavior is to output PPDs if no command is given.
OPTIONS -c localedir
use localedir as the base directory for locale data
-l locale
output PPDs translated with messages for locale. Note that locale must be a locale as shown by locale -a. For example, the de
translation is used by the de_DE locale; de alone will not work.
-p prefix
output PPDs in directory prefix. Directories are not recursively created.
-q Quiet mode.
-v Verbose mode.
models a list of printer models, either the driver or quoted full name.
SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright (C) 1992-2002 Michael Sweet (mike@easysw.com)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This manual page was written by Roger Leigh (rleigh@debian.org).
Version 5.2.4 26 Jul 2009 CUPS-GENPPD(8)