<?php
require_once '/Image/QRCode.php';
 
// QRコードの文字列を指定
$url = 'http://www.web-lifework.com/';
 
$QR = new Image_QRCode();
 
// QRコード生成のオプションを指定
$option = array(
 'module_size' => 4,
 'image_type' => 'png',
 'output_type' => 'display',
 'error_correct' => 'H',
);
 
$QR->makeCode(htmlspecialchars($url, ENT_QUOTES), $option);
?>

↓オプション指定についての参照
mage_QRCode-Documentation