Skip to content

Commit 6d9d0df

Browse files
committed
Update README.md
Read me
1 parent 3a4a8d8 commit 6d9d0df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Usage
88
===========
99

1010
Add this in protected/config/main.php of Yii
11+
12+
1113
`'components'=>array(
1214
'RemotePrint' => array(
1315
'class' => 'RemotePrint',
@@ -21,5 +23,5 @@ Where ip is the IP of coputer in which printer is connected. Port id the port of
2123

2224
Do print from your controller as
2325

24-
`$data = 'Test Print';
25-
echo Yii::app()->RemotePrint->print_data($data);`
26+
`$data = 'Test Print';`
27+
`echo Yii::app()->RemotePrint->print_data($data);`

0 commit comments

Comments
 (0)