02-20-2019
Quote:
<Printer BIXOLON>
UUID urn:uuid:6b4abb5d-c3b3-3eee-4923-a6128aefe38a
Info BIXOLON SRP-350II
Location test1
DeviceURI usb://BIXOLON/SRP-350II?serial=00000001
so this is a small portion of it. If you can see Printer is 4 lines below our matched text 350II. In some workostation is 4 below,. some 5, etc.
So maybe idea is to find <printer below it, and then with sed or awk get just BIXOLON. Some pseudocode maybe is: Find printer tag below matched string.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm in need of finding out on how to mount and dismount printers.
Thx,
shawnnee (1 Reply)
Discussion started by: shawnnee
1 Replies
2. Linux
I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies
3. Solaris
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies
4. AIX
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies
5. Shell Programming and Scripting
Hello,
I'm rather new to the world of regular expressions and sed, though am excited by its possibilities. I have a particular task I'd like to achieve, and have googled the topic quite a bit. However, having found some codes that perform a task very similar to what I'd like to do, I can't for... (2 Replies)
Discussion started by: redseventyseven
2 Replies
6. Linux
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
7. Shell Programming and Scripting
I want to match the number exactly from the variable which has multiple numbers seperated by pipe symbol similar to search in egrep.below is the code which i tried
#!/usr/bin/perl
my $searchnum = $ARGV;
my $num = "148|1|0|256";
print $num;
if ($searchnum =~ /$num/)
{
print "found";
}... (2 Replies)
Discussion started by: kar_333
2 Replies
8. Shell Programming and Scripting
Hi,
I have file in my $datadir as below :-
SAT_1.txt
SAT_2.txt
BAT_UD.lst
BAT_DD1.lst
DUTT_1.txt
DUTT_la.txt
Expected result :-
should get all the above file in $<Filename>_file.lst
Below is my code :-
for i in SAT BAT DUTT
do
touch a.lst
cd $datadir (1 Reply)
Discussion started by: satishmallidi
1 Replies
FS_UUID(1) AFS Command Reference FS_UUID(1)
NAME
fs_uuid - Prints the uuid of the client or generates a new one
SYNOPSIS
fs uuid [-generate] [-help]
DESCRIPTION
fs uuid prints the current UUID of an OpenAFS client. It can optionally force the generation of a new UUID, if needed. The client UUID is
used by the fileserver to differentiate clients with the same IP address.
CAUTIONS
The fs uuid command is only available in OpenAFS versions after 1.4.5 and 1.5.8. The behavior differs slightly between versions. In
OpenAFS 1.4.5 and later, the -generate option is required and the UUID for the client machine is never printed. OpenAFS versions 1.5.8 and
later will print the UUID.
OPTIONS
-generate
Generates a new UUID for the cache manager. This is useful if two clients share the same UUID (if systems were cloned incorrectly, for
example). -generate is optional in OpenAFS versions 1.5.8 and later, but it is required in OpenAFS versions 1.4.5 and later.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
fs uuid prints out the current UUID for the client or the new UUID if the -generate option is passed to it.
EXAMPLES
There are only two ways to invoke fs uuid under 1.5.8 and later:
% fs uuid
UUID: 8ac66f9308a8e-47d7-80f7-50d0040cddc2
% fs uuid -generate
New UUID: 436bd660-1720-429508e470cff38f5c6fb0
Here is the only way to invoke fs uuid under OpenAFS 1.4.5 and later:
% fs uuid -generate
New uuid generated.
PRIVILEGE REQUIRED
The issuer must be logged on as the local superuser "root".
SEE ALSO
fs(1)
COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2012-03-26 FS_UUID(1)