06-22-2005
rramanuj,
Please read the
Site FAQ. Dont post duplicate posts in one or more forums. Moderators are here to move posts to their proper forums if necessary.
I will close this thread.
10 More Discussions You Might Find Interesting
1. AIX
how to setup a remote printer in aix 5.2 i have an aix 5.2 os and need to setup a remote printer off of it need help on how it is done (2 Replies)
Discussion started by: itivanh
2 Replies
2. UNIX for Dummies Questions & Answers
Hello. I would like to add an HP printer to my AIX (5.2) system. The printer
is attached to a Windows PC via LPT1. We are using Novell as our LAN :)
I am somewhat familiar with SMIT and printer queues. Still a bit of a newbie.
I would like to be able to print from the AIX directly to... (0 Replies)
Discussion started by: MILLERJ62
0 Replies
3. AIX
I am trying to setup remote printer queues on a AIX 5.2 system that sends all print requests through a filter by default.
The application that is running on the LPar is coded to call the lp command to produce a print.
Ideally I would like a single queue per remote printer to pass the data... (4 Replies)
Discussion started by: blacksm
4 Replies
4. AIX
Hi,
Has anyone encountered the error below. I have tried to startup the printer but the error keep showing up. Please help. Thanks.
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---... (1 Reply)
Discussion started by: sodapop
1 Replies
5. AIX
Hi All,
I have an AIX server runing v5.2.0.0 OS and i am trying to print to a printer attached to the parallel port. I have successfully configured a printer and a print queue. However, when i submit the job i get the following error
Message from queueing system:
0781-088 Queue z:lp0 went... (4 Replies)
Discussion started by: rramanuj
4 Replies
6. AIX
Hi folks need some help here. We have a RS6000 running AIX. It is almost never used anymore, but we need to print off some data. I have a paralell printer conected to the parrallel port, but have no idea where to go from here. The printer was originall named named LP01. If the users telnetinto the... (2 Replies)
Discussion started by: prator
2 Replies
7. UNIX for Dummies Questions & Answers
Hi to all
Trying to find printer HP drivers for AIX version 7. HP.com only references Unix. Have drivers on an older IBM system Risc 6000, AIX 4.3, but not sure where the "tar" file exists for the printer collection. The new IBM I am trying to setup is a 710 Express Server. The printer is a... (0 Replies)
Discussion started by: ideprize
0 Replies
8. AIX
Hi All,
I have been trying to configure an HP laserjet printer on an AIX6.1 server through network as well as remote.
This is the first time i am configuring a printer on AIX.
I had been using smitty butwhile configuring, i am getting blank/stuck at "software to support the printer attachment... (10 Replies)
Discussion started by: Rockyc3400
10 Replies
9. AIX
Hi ,
does anyone have any document related to printer build on AIX ?
thanks (1 Reply)
Discussion started by: nkchand
1 Replies
10. AIX
Hi All
We have a Zebra LP 2824 that we are wanting to use to print mailing labels from our AIX 7.1 server.
We have around 350 printers of various types and manufactures already installed and functioning so, we don't want to install CUPS.
I can get the printer to print using Line Mode but,... (3 Replies)
Discussion started by: DLooney
3 Replies
LEARN ABOUT PHP
bbcode_create
BBCODE_CREATE(3) 1 BBCODE_CREATE(3)
bbcode_create - Create a BBCode Resource
SYNOPSIS
resource bbcode_create ([array $bbcode_initial_tags = NULL])
DESCRIPTION
This function returns a new BBCode Resource used to parse BBCode strings.
PARAMETERS
o $bbcode_initial_tags
- An associative array containing the tag names as keys and parameters required to correctly parse BBCode as their value. The fol-
lowing key/value pairs are supported:
o$flags optional - a flag set based on the BBCODE_FLAGS_* constants.
o$type required - an int indicating the type of tag. Use the BBCODE_TYPE_* constants.
o$open_tag required - the HTML replacement string for the open tag.
o$close_tag required - the HTML replacement string for the close tag.
o$default_arg optional - use this value as the default argument if none is provided and tag_type is of type OPTARG.
o$content_handling optional - Gives the callback used for modification of the content. Object Oriented Notation supported
only since 0.10.1 callback prototype is string name
(string $content, string $argument)
o$param_handling optional - Gives the callback used for modification of the argument. Object Oriented Notation supported only
since 0.10.1 callback prototype is string name
(string $content, string $argument)
o$childs optional - List of accepted children for the tag. The format of the list is a comma separated string. If the list
starts with ! it will be the list of rejected children for the tag.
o$parent optional - List of accepted parents for the tag. The format of the list is a comma separated string.
RETURN VALUES
Returns a BBCode_Container
EXAMPLES
Example #1
bbcode_create(3) example
<?php
$arrayBBCode=array(
''=> array('type'=>BBCODE_TYPE_ROOT, 'childs'=>'!i'),
'i'=> array('type'=>BBCODE_TYPE_NOARG, 'open_tag'=>'<i>',
'close_tag'=>'</i>', 'childs'=>'b'),
'url'=> array('type'=>BBCODE_TYPE_OPTARG,
'open_tag'=>'<a href="{PARAM}">', 'close_tag'=>'</a>',
'default_arg'=>'{CONTENT}',
'childs'=>'b,i'),
'img'=> array('type'=>BBCODE_TYPE_NOARG,
'open_tag'=>'<img src="', 'close_tag'=>'" />',
'childs'=>''),
'b'=> array('type'=>BBCODE_TYPE_NOARG, 'open_tag'=>'<b>',
'close_tag'=>'</b>'),
);
$text=<<<EOF
[b]Bold Text[/b]
[i]Italic Text[/i]
[url]http://www.php.net/[/url]
[url=http://pecl.php.net/][b]Content Text[/b][/url]
[img]http://static.php.net/www.php.net/images/php.gif[/img]
[url=http://www.php.net/]
[img]http://static.php.net/www.php.net/images/php.gif[/img]
[/url]
EOF;
$BBHandler=bbcode_create($arrayBBCode);
echo bbcode_parse($BBHandler,$text);
?>
The above example will output:
<b>Bold Text</b>
[i]Italic Text[/i]
<a href="http://www.php.net/">http://www.php.net/</a>
<a href="http://pecl.php.net/"><b>Content Text</b></a>
<img src="http://static.php.net/www.php.net/images/php.gif" />
<a href="http://www.php.net/">
[img]http://static.php.net/www.php.net/images/php.gif[/img]
</a>
PHP Documentation Group BBCODE_CREATE(3)