Good day UNIX forum, could you help me with my clear printer queue script, i have problems with the consistency of this function, sometimes it works sometimes it doesn't. Thanks in advance
Hello,
I need some help on the following issue:
Need to have a printer queue added to the "sssssss" server.The IP address is "xxx.xxx.xxx.xxx". It is an HP8000 printer.
Can you please point me to the right direction.
Thank you (0 Replies)
When I try to create first print queue in this system with the command line argument, find the output also...
# /usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p 'generic' -D pcl -q 'AR06_Workcenter_32' -h 'AR06_Workcenter_32' -x '9100'
0782-606 /usr/lib/lpd/pio/etc/piomgpdev: Error 'A file or... (1 Reply)
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)
How to assign permission for a user to cancel unix printer queue other than root?
lprm -P and cancel?
How to chmod for /bin/cancel to -rws-x-x --> s means?
Please help.
Thank you. (1 Reply)
Hi All,
Can anyone tell me how to clear list of queues in a file?
My file FILE1 has 3 queues
FILE1
FirstQueue
SecondQueue
ThirdQueue
I want to clear all these queues which belong to the same Qmanager from another script...
Can anyone help me for this..
Thanks in... (0 Replies)
So I've got this asc file that someone sent me for setting up a Zebra printer on AIX.
When I use smit or the command line I get this error when I try to setup the printer up:
File /usr/lib/lpd/pio/predef/master does not exist.
The master file is there. This only happens when I setup a... (2 Replies)
Guy's
This is the Queue of the printer ...
>lpstat -pTOPPRINTER
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
TOPPRIN @TOPP DOWN
QUEUED ... (1 Reply)
I'd seek for help on how to create a bunch of printers in AIX 6.x or equal or above in one go – say like I have 35 printers to create in 4 different AIX Nodes every month – I currently create it manually like below:-
How can I automatic this creation on all the 4-5 Nodes – not actually automatic... (3 Replies)
Hi
I have installed an HP X451dw printer on our network and want to print from Sco Openserver v6
The printer produces correct output but then repeats until the queue is manually stopped. :confused:
It is using a netcat/dumb interface
Any advice on how to persuade it to only print once... (5 Replies)
Hello Administrators.
I have a bit difficult problem.
I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device.
whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies
LEARN ABOUT PHP
echo
ECHO(3) 1 ECHO(3)echo - Output one or more stringsSYNOPSIS
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)