Skip to content

onkbear/laravel-star-cloud-prnt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Star CloudPRNT for Laravel

This package allows you to add Star CloudPRNT integration in your Laravel application.

Installation

composer require onkbear/laravel-star-cloud-prnt

Please publish the config file with:

php artisan vendor:publish --provider="Onkbear\StarCloudPRNT\StarCloudPRNTServiceProvider"

This is the contents of the config file that will be published at config/star-cloud-prnt.php:

Please add CloudPRNT server route to the routes file. It is used in

Route::starCloudPRNT('cloud-prnt-route');

You will need to add that route to the except array of the VerifyCsrfToken middleware:

protected $except = [
    'cloud-prnt-route',
];

Buffer API

Print Mode

Name Method
Select emphasized printing setTextEmphasized

Horizontal Direction Printing Position

| Specify left alignment | setTextLeftAlign | | Specify center alignment | setTextCenterAlign | | Specify right alignment | setTextRightAlign |

Font style and character set

| Select code page | setCodepage |

Star CloudPRNT client configuration

Please look at the Online Manual

HTTP Basic Auth

If you need to integrate with basic auth, following package allows you to add it very easily without using DB.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages