🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 SimpleCapabilityProfile.php

📁 Path: /home/stakrfrcol/dolibarr/htdocs/includes/mike42/escpos-php/src/SimpleCapabilityProfile.php
📊 Size: 568 B
🔒 Perm: 0604
📝 MIME: text/x-php
<?php
/**
 * This capability profile is designed for non-Epson printers sold online. Without knowing
 * their character encoding table, only CP437 output is assumed, and graphics() calls will
 * be disabled, as it usually prints junk on these models.
 */
class SimpleCapabilityProfile extends DefaultCapabilityProfile {
	function getSupportedCodePages() {
		/* Use only CP437 output */
		return array(0 => CodePage::CP437);
	}
	
	public function getSupportsGraphics() {
		/* Ask the driver to use bitImage wherever possible instead of graphics */
		return false;
	}
}
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨