10-29-2015
are you dumping it straight to LP?
if so it might be the printer config.
try dumping the output to a txt file then reading it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Can anyone help me regarding loading a unix file data to oracle database table using shell scripts?
I wanted to grep only this data from a spool file
sql_test.txt
99
00:00:00:01
but if I use grep I am getting format
sql_test.txt
99 rows selected.
Elapsed:... (2 Replies)
Discussion started by: ran16
2 Replies
2. UNIX for Dummies Questions & Answers
:rolleyes: hi there everybody,
i need help,... thanks anyway!
i am working on a very huge table with the name table1. the problem is that i know only one field name in this table...,
working with a ksh environment i don't know how to view the table to check out the field names :confused:.
... (4 Replies)
Discussion started by: fmina
4 Replies
3. UNIX for Dummies Questions & Answers
need some advice on the following situation.
I have a DB2 table which has a varchar Column. This varchar column can have special characters like ©, ®, ™ .
When I extract from this table to a sequential file for this varchar column I am only able to get © and ® .
To Get the ™... (1 Reply)
Discussion started by: cosec
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is there any command in unix similar to spool command in oracle. (6 Replies)
Discussion started by: manosubsulo
6 Replies
5. Shell Programming and Scripting
I have requirement:
1) Check the record count in table (table in oracle)
2) If records exists generate the file for existing records and wait for some time (Go to sleep mode) and
Again check the record count after 10 min.......... (Loop this process if record count >0).
3) Generate touch... (1 Reply)
Discussion started by: kamineni
1 Replies
6. Shell Programming and Scripting
I have requirement:
1) Check the record count in table (table in oracle)
2) If records exists generate the file for existing records and wait for some time then Go to sleep mode and
Again check the record count after 10 min.......... (Loop this process if record count >0).
3) Generate touch... (1 Reply)
Discussion started by: kamineni
1 Replies
7. Shell Programming and Scripting
Suppose there is a table like the following...I just wanted to know if there is any command using which we can get the record/name of the person who joined before 2005..
Sl Name des y.o.joining
1 Ram Engineer 2001
2 Hari Doctor 2004
3 David Plumber 2005
4 Rahim painter 2007
5 gurmeet... (1 Reply)
Discussion started by: satyajit007
1 Replies
8. Shell Programming and Scripting
Hi,
I am trying to insert a record into a table (say dips_tbl) which resides in Oracle DB through a ksh script. I want to insert records into few of the table columns-not all. I'll give an e.g. for the date column "CREATE_DATE".
For that I first execute
SQL1="SELECT SYSDATE FROM DUAL"
... (1 Reply)
Discussion started by: dips_ag
1 Replies
9. Shell Programming and Scripting
Hi,
Is it possible to delete oracle table datas using a UNIX script/Shell script?
how can we do this??
I have oracle Database and i have to delete millions of record everyday.. adn it is taking hours togather to execute this. Will the delete query triggered from UNIX be faster can we expect any... (1 Reply)
Discussion started by: Codesearcher
1 Replies
10. Shell Programming and Scripting
Hi frndz,
Can anyone provide me some input or pseudo code for my req as mentioned below...
I am loading 2 files through unix script into oracle table...as i am doing some updates also i am getting an error where both files try to update the table simultaneously and my script fails..
so i... (3 Replies)
Discussion started by: gnnsprapa
3 Replies
LEARN ABOUT CENTOS
usbhid-dump
usbhid-dump(8) System Manager's Manual usbhid-dump(8)
NAME
usbhid-dump - dump USB HID device report descriptors and streams
SYNOPSIS
usbhid-dump [OPTION]...
DESCRIPTION
usbhid-dump uses libusb to dump report descriptors and streams from HID (human interface device) interfaces of USB devices. By default, it
dumps HID interfaces of all connected USB devices, but could be limited to a subset of them, or to a single interface, using options.
NOTE: usbhid-dump detaches kernel drivers from the interfaces it dumps and uses them exclusively, so no other program receives the input in
the meantime. The report descriptor dumping is instantaneous, but the stream dumping continues until terminated with SIGINT (^C from the
terminal) or a timeout expires.
If you accidentally start dumping a stream from the USB keyboard you use to control the terminal, the system will stop receiving the input
and you won't be able to terminate usbhid-dump. Just stop your input and wait until the timeout expires. The stream dumping will stop, the
keyboard will be reattached to the kernel driver and you will regain control.
The default stream dumping timeout is 60 seconds and could be changed with the -t option.
OPTIONS
-h, --help
Output a help message and exit.
-v, --version
Output version information and exit.
-s, -a, --address=bus[:dev]
Limit interfaces by bus number and device address. Both 1-255, decimal. Zeroes match any bus or device.
-d, -m, --model=vid[:pid]
Limit interfaces by device vendor and product IDs. Both 1-FFFF, hexadecimal. Zeroes match any vendor or product.
-i, --interface=NUMBER
Limit interfaces by number (0-254), decimal. 255 matches any interface.
-e, --entity=STRING
The entity to dump: either "descriptor", "stream" or "all". The value can be abbreviated down to one letter. The default is
"descriptor".
-t, --stream-timeout=NUMBER
Stream interrupt transfer timeout, ms. Zero means infinity. The default is 60000 (60 seconds).
-p, --stream-paused
Start with the stream dump output paused.
-f, --stream-feedback
Enable stream dumping feedback: print a dot to stderr for every transfer dumped.
SIGNALS
USR1/USR2
Pause/resume stream dump output.
OUTPUT FORMAT
usbhid-dump outputs dumps in chunks. Each chunk is separated by an empty line and starts with the following header line:
BUS:DEVICE:INTERFACE:ENTITY TIMESTAMP
Here, BUS, DEVICE and INTERFACE are bus, device and interface numbers respectively. ENTITY is either "DESCRIPTOR" or "STREAM". TIMESTAMP is
timestamp in seconds since epoch.
After the header the actual dump data follows as hex bytes. A descriptor chunk includes the whole report descriptor. Every stream chunk
includes a whole report, usually, but if a report is bigger than endpoint's wMaxPacketSize, it will span several chunks.
EXAMPLES
Dump report descriptor for a device with address 3 on bus number 2:
usbhid-dump -a 2:3
Dump report stream for a device with vendor ID 0x5543 and product ID 0x0005:
usbhid-dump -m 5543:0005 -es
Dump report descriptor from interface 1 of a device with vendor ID 0x5543:
usbhid-dump -m 5543 -i 1 -ed
Dump report streams from all HID interfaces of all USB devices (caution: you will loose control over the terminal if you use USB keyboard):
usbhid-dump -es
AUTHOR
Nikolai Kondrashov <spbnick@gmail.com>
February 2012 usbhid-dump(8)