Sponsored Content
Operating Systems Solaris Printing pound sign from Solaris (JETDIRECT) Post 302122970 by Shell_Life on Friday 22nd of June 2007 09:41:47 AM
Old 06-22-2007
Matt,
See if this works for you:
Code:
echo '\0243'

 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

printing to HP jetdirect

How can I print from Unix (AIX) to a printer running HP Jetdirect card. I've been reading so much stuff from the internet that it made me so confused already. The ip address of my printer is 10.1.1.75. Could somebody please give me an instruction on how to accomplish this. Thanks. (6 Replies)
Discussion started by: nseal101
6 Replies

2. UNIX for Dummies Questions & Answers

remove pound sign from filename

Surpisingly, I've only found information regarding removal of files with special characters in the name. My problem is this: files are downloaded to my Unix box from mainframe, and each one has a pound sign as the first character of the filename. original: #FONT what I need: FONT ... (4 Replies)
Discussion started by: kristy
4 Replies

3. Shell Programming and Scripting

Sign on/Sign off logging script

I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem. I need... (1 Reply)
Discussion started by: Glider
1 Replies

4. SCO

Printing Sterling Pound Sign

We need to print the sterling pound sign on printers connected directly to a terminal and configured using the /dev/null device. We have used mapchan to enable this on the printers connected directly to the SCO server. Any idea how this can be activated? OS: SCO Open Server 5.0.5 (5 Replies)
Discussion started by: nyasai
5 Replies

5. AIX

HP JetDirect

Hello, i've got a problem regarding adding the printer queue. we are using network printer (HP jet direct) i issue this command smit printers -> printer spooling -> add a print queue -> HP jet direct error occured "Printer Attachment Type Support Not Installed" but when i check in the lslpp... (1 Reply)
Discussion started by: winky
1 Replies

6. Solaris

Solaris 9 & JetDirect

I'm working on a Solaris 9 Sun Blade and could do with some tips. I've been told JetDirect is already installed and running on this machine. There are two laser printers currently functioning off this machine and I can see entries for both in /etc/hosts with fixed IP's as netprinter1 &... (1 Reply)
Discussion started by: KenLynch
1 Replies

7. Programming

Rupee Sign printing using Pro * C (Unix Platform/Oracle10g) code

Hi All, I want to print new Indian Rupees sign in my report which is developed in Pro*C code. Please help me to know: ->What necessary settings i have to do.. I am looking for free product. Please help (0 Replies)
Discussion started by: msbrd
0 Replies

8. Solaris

Solaris Single Sign on options

We are looking for implementing solaris single sign on with AD in our environment which as few hundred Solaris hosts and couple of hundred solaris zones ..IS there any third party software for the same or we can do it by just making the solaris servers as AD clients ? Any help is appreciated. (1 Reply)
Discussion started by: fugitive
1 Replies
ECHO(3) 								 1								   ECHO(3)

echo - Output one or more strings

SYNOPSIS
void echo (string $arg1, [string $...]) DESCRIPTION
Outputs all parameters. echo is not actually a function (it is a language construct), so you are not required to use parentheses with it. echo (unlike some other language constructs) does not behave like a function, so it cannot always be used in the context of a function. Additionally, if you want to pass more than one parameter to echo, the parameters must not be enclosed within parentheses. echo also has a shortcut syntax, where you can immediately follow the opening tag with an equals sign. Prior to PHP 5.4.0, this short syn- tax only works with the short_open_tag configuration setting enabled. I have <?=$foo?> foo. PARAMETERS
o $arg1 - The parameter to output. o $... - RETURN VALUES
No value is returned. EXAMPLES
Example #1 echo examples <?php echo "Hello World"; echo "This spans multiple lines. The newlines will be output as well"; echo "This spans multiple lines. The newlines will be output as well."; echo "Escaping characters is done "Like this"."; // You can use variables inside of an echo statement $foo = "foobar"; $bar = "barbaz"; echo "foo is $foo"; // foo is foobar // You can also use arrays $baz = array("value" => "foo"); echo "this is {$baz['value']} !"; // this is foo ! // Using single quotes will print the variable name, not the value echo 'foo is $foo'; // foo is $foo // If you are not using any other characters, you can just echo variables echo $foo; // foobar echo $foo,$bar; // foobarbarbaz // Some people prefer passing multiple parameters to echo over concatenation. echo 'This ', 'string ', 'was ', 'made ', 'with multiple parameters.', chr(10); echo 'This ' . 'string ' . 'was ' . 'made ' . 'with concatenation.' . " "; echo <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon. no extra whitespace! END; // Because echo does not behave like a function, the following code is invalid. ($some_var) ? echo 'true' : echo 'false'; // However, the following examples will work: ($some_var) ? print 'true' : print 'false'; // print is also a construct, but // it behaves like a function, so // it may be used in this context. echo $some_var ? 'true': 'false'; // changing the statement around ?> NOTES
Note Because this is a language construct and not a function, it cannot be called using variable functions. SEE ALSO
print(3), printf(3), flush(3), Heredoc syntax. PHP Documentation Group ECHO(3)
All times are GMT -4. The time now is 01:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy