08-23-2002
Tried that.. and had no success. Still stumped
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies
2. UNIX for Advanced & Expert Users
I'm trying to modify the /usr/lib/lp/model/netstandard file to generate a header for all the print jobs that are sent, but there is no formfeed defined so the the job prints right after the header with no page break. What is the sequence I need in order to generate a formfeed? Or, do you have... (4 Replies)
Discussion started by: jgordon
4 Replies
3. UNIX for Advanced & Expert Users
Have a line printer that uses the script /etc/lp/interfaces/citoh script when processing print jobs. I've developed the header so that it will print a page break before the start of each page. When you print single files, this works fine. But, if you print multiple files (e.g. lp -d citoh... (8 Replies)
Discussion started by: jgordon
8 Replies
4. Solaris
i am running an .sql script in sqlplus which is spooling in a file. but when i am opening the file using vi editor it is showing ^L in front of 1st,2nd and last line.
when i am opening the file with cat this problem is not there.
how to solve this problem?
this above mentioned file is the input... (1 Reply)
Discussion started by: imppayel
1 Replies
5. HP-UX
hi every body
i used " lpstat -o" to show the printer jobs and i already canceld it by "cancel -e -f jobid"
but the problem i found when used " lpstat -o" again it said that job in progress i think because it in the buffer but i don't know how to clear the printer. (9 Replies)
Discussion started by: maxim42
9 Replies
6. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
8. How to Post in the The UNIX and Linux Forums
Hi,
I have set up an HP printer, Model P3005dn" on our server running HP-Ux 11.31.
The printing is fine but I'm also getting an extra page printed with an right arrow (-->) only. I suspect that this could be the "Tab Expansion" or a "CR/LF" character.
Can ayone please advise what could... (0 Replies)
Discussion started by: Koketso
0 Replies
9. Shell Programming and Scripting
Hi Members,
This is my first post in this forum.
I want to do is match form feed lines one by one in a file and delete the next n lines (ex-3 lines) with the form feed character
Eg - Files looks like
Data 1
Data 2
Data 3
FF
Hdr1
Hdr2
Hdr3
Data4
Data5
FF
Hdr1
Hdr2
Hdr3 (9 Replies)
Discussion started by: yohan
9 Replies
LEARN ABOUT PHP
wincache_ucache_get
WINCACHE_UCACHE_GET(3) 1 WINCACHE_UCACHE_GET(3)
wincache_ucache_get - Gets a variable stored in the user cache
SYNOPSIS
mixed wincache_ucache_get (mixed $key, [bool &$success])
DESCRIPTION
Gets a variable stored in the user cache.
PARAMETERS
o $key
- The $key that was used to store the variable in the cache. $key is case sensitive. $key can be an array of keys. In this case
the return value will be an array of values of each element in the $key array. If an object, or an array containing objects, is
returned, then the objects will be unserialized. See __wakeup() for details on unserializing objects.
o $success
- Will be set to TRUE on success and FALSE on failure.
RETURN VALUES
If $key is a string, the function returns the value of the variable stored with that key. The $success is set to TRUE on success and to
FALSE on failure.
The $key is an array, the parameter $success is always set to TRUE. The returned array (name => value pairs) will contain only those name
=> value pairs for which the get operation in user cache was successful. If none of the keys in the key array finds a match in the user
cache an empty array will be returned.
EXAMPLES
Example #1
wincache_ucache_get(3) with $key as a string
<?php
wincache_ucache_add('color', 'blue');
var_dump(wincache_ucache_get('color', $success));
var_dump($success);
?>
The above example will output:
string(4) "blue"
bool(true)
Example #2
wincache_ucache_get(3) with $key as an array
<?php
$array1 = array('green' => '5', 'Blue' => '6', 'yellow' => '7', 'cyan' => '8');
wincache_ucache_set($array1);
$array2 = array('green', 'Blue', 'yellow', 'cyan');
var_dump(wincache_ucache_get($array2, $success));
var_dump($success);
?>
The above example will output:
array(4) { ["green"]=> string(1) "5"
["Blue"]=> string(1) "6"
["yellow"]=> string(1) "7"
["cyan"]=> string(1) "8" }
bool(true)
SEE ALSO
wincache_ucache_add(3), wincache_ucache_set(3), wincache_ucache_delete(3), wincache_ucache_clear(3), wincache_ucache_exists(3), win-
cache_ucache_meminfo(3), wincache_ucache_info(3), __wakeup().
PHP Documentation Group WINCACHE_UCACHE_GET(3)