{"id":18963781,"url":"https://github.com/opensoft/epl","last_synced_at":"2025-04-19T12:36:04.515Z","repository":{"id":1919147,"uuid":"2846979","full_name":"opensoft/epl","owner":"opensoft","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-08T03:55:45.000Z","size":79,"stargazers_count":10,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T04:40:13.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-25T01:36:45.000Z","updated_at":"2023-03-17T15:37:14.000Z","dependencies_parsed_at":"2022-08-24T05:11:16.612Z","dependency_job_id":null,"html_url":"https://github.com/opensoft/epl","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensoft","download_url":"https://codeload.github.com/opensoft/epl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249201117,"owners_count":21229004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T14:21:39.892Z","updated_at":"2025-04-16T05:31:25.804Z","avatar_url":"https://github.com/opensoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"The library is a php wrapper for the EPL2 Programming Language. At present do not support all commands EPL2.\n\n[![Build Status](https://travis-ci.org/opensoft/epl.png?branch=master)](https://travis-ci.org/opensoft/epl)\n\n\u003ch2\u003eUsage:\u003c/h2\u003e\n\n\u003cpre\u003e\n\n\u0026lt;?php\nuse Epl\\CommandComposite;\nuse Epl\\CommandHelper;\n\n$composite = new Composite();\n$commandHelper = new CommandHelper($composite);\n//Draw new line\n$commandHelper-\u0026gt;lineDrawBlack(50, 200, 400, 20);\n//Draw other line\n$commandHelper-\u0026gt;lineDrawBlack(200, 50, 20, 400);\n//Print 1 label\n$commandHelper-\u0026gt;print(1);\n//Get EPL string\n$eplString = $commandHelper-\u0026gt;toEplString();\n\u003c/pre\u003e\n\n\u003cp\u003eTo implement the commands necessary to implement Epl\\CommandInterface.\u003c/p\u003e\n\n\u003cp\u003eFor convenience of use EPL commands there is a CommandHelper. It hides the implementation EPL commands.\nBut you can direct way to instantiate the command.\u003c/p\u003e\n\n\u003cpre\u003e\n\u0026lt;?php\nuse Epl\\Command\\PrintCommand;\nuse Epl\\Command\\CommandComposite;\n\n$commandComposite = new CommandComposite();\n$printCommand = new PrintCommand(1);\n$commandComposite-\u0026gt;addCommand($printCommand);\n$eplString = $commandComposite-\u0026gt;toEplString();\n\u003c/pre\u003e\n\n\u003ch2\u003eInstallation\u003c/h2\u003e\n\n```php composer.phar require opensoft/epl```\n\n\u003ch2\u003eInstallation on Symfony 2 project\u003c/h2\u003e\nIf you use a deps file, add:\u003c/p\u003e\n\n\u003cpre\u003e\n[epl]\n    git=http://github.com/opensoft/epl.git\n\u003c/pre\u003e\n\n\u003cp\u003eOr if you want to clone the repos:\u003c/p\u003e\n\n\u003cpre\u003e\ngit clone git://github.com/opensoft/epl.git vendor/epl\n\u003c/pre\u003e\n\n\u003cp\u003eAdd the namespace to your autoloader\u003c/p\u003e\n\n\u003cpre\u003e\n$loader-\u0026gt;registerNamespaces(array(\n    ............\n    'Epl'   =\u0026gt; \u003cstrong\u003eDIR\u003c/strong\u003e.'/../vendor/epl/src',\n    ...........\n));\n\u003c/pre\u003e\n\n\u003ch2\u003eList of commands\u003c/h2\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n\u003cth\u003eEPL\u003c/th\u003e\n\u003cth\u003eDescription\u003c/th\u003e\n\u003cth\u003eStatus\u003c/th\u003e\n\u003cth\u003eClass\u003c/th\u003e\n\u003cth\u003eHelper Method\u003c/th\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e A \u003c/td\u003e\n\u003ctd\u003e ASCII Text \u003c/td\u003e\n\u003ctd\u003e Partial \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\AsciiTextCommand \u003c/td\u003e\n\u003ctd\u003e asciiText \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e AUTOFR \u003c/td\u003e\n\u003ctd\u003e Automatic Form Printing \u003c/td\u003e\n\u003ctd\u003e Not implemented \u003c/td\u003e\n\u003ctd\u003e \u003c/td\u003e\n\u003ctd\u003e \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e B \u003c/td\u003e\n\u003ctd\u003e Bar Code \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\BarCodeCommand \u003c/td\u003e\n\u003ctd\u003e barCode \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e B \u003c/td\u003e\n\u003ctd\u003e RSS-14 Bar Code \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\Rss14BarCodeCommand \u003c/td\u003e\n\u003ctd\u003e rss14BarCode \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e b \u003c/td\u003e\n\u003ctd\u003e 2D Data Matrix Bar Code \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\DataMatrixBarCodeCommand \u003c/td\u003e\n\u003ctd\u003e dataMatrixBarCode \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e D \u003c/td\u003e\n\u003ctd\u003e Density \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\DensityCommand \u003c/td\u003e\n\u003ctd\u003e density \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e I \u003c/td\u003e\n\u003ctd\u003e Character Set Selection \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\CharacterSetSelectionCommand \u003c/td\u003e\n\u003ctd\u003e characterSetSelection \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e JB \u003c/td\u003e\n\u003ctd\u003e Disable Top Of Form Backup \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\DisableTopOfFormBackupCommand \u003c/td\u003e\n\u003ctd\u003e disableTopOfFormBackup \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e JC \u003c/td\u003e\n\u003ctd\u003e Disable Top Of Form Backup - All Cases \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\DisableTopOfFormBackupAllCasesCommand \u003c/td\u003e\n\u003ctd\u003e disableTopOfFormBackupAllCases \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e JF \u003c/td\u003e\n\u003ctd\u003e Enable Top Of Form Backup \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\EnableTopOfFormBackupCommand \u003c/td\u003e\n\u003ctd\u003e enableTopOfFormBackup \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e LE \u003c/td\u003e\n\u003ctd\u003e Line Draw Exclusive OR \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\LineDrawExclusiveORCommand \u003c/td\u003e\n\u003ctd\u003e lineDrawExclusiveOR \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e LO \u003c/td\u003e\n\u003ctd\u003e Line draw black \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\LineDrawBlackCommand \u003c/td\u003e\n\u003ctd\u003e lineDrawBlack \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e LS \u003c/td\u003e\n\u003ctd\u003e Line draw diagonal \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\LineDrawDiagonalCommand \u003c/td\u003e\n\u003ctd\u003e lineDrawDiagonal \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e LW \u003c/td\u003e\n\u003ctd\u003e Line draw white \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\LineDrawWhiteCommand \u003c/td\u003e\n\u003ctd\u003e lineDrawWhite \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e N \u003c/td\u003e\n\u003ctd\u003e Clear Image Buffer \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\ClearImageBufferCommand \u003c/td\u003e\n\u003ctd\u003e clearImageBuffer \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e O \u003c/td\u003e\n\u003ctd\u003e Options Select \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\HardwareOptionCommand \u003c/td\u003e\n\u003ctd\u003e hardwareOption \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e P \u003c/td\u003e\n\u003ctd\u003e Print \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\PrintCommand \u003c/td\u003e\n\u003ctd\u003e printLabel \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e PA \u003c/td\u003e\n\u003ctd\u003e Print Automatic \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Form\\PrintAutomaticCommand \u003c/td\u003e\n\u003ctd\u003e printAutomatic \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e q \u003c/td\u003e\n\u003ctd\u003e Set Form Width \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\SetFormWidthCommand \u003c/td\u003e\n\u003ctd\u003e setFormWidth \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e Q \u003c/td\u003e\n\u003ctd\u003e Set Form Length \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\SetFormLengthCommand \u003c/td\u003e\n\u003ctd\u003e setFormLength \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e S \u003c/td\u003e\n\u003ctd\u003e Speed Select \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Stored\\SpeedCommand \u003c/td\u003e\n\u003ctd\u003e speed \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e X \u003c/td\u003e\n\u003ctd\u003e Box Draw \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\BoxDrawCommand \u003c/td\u003e\n\u003ctd\u003e boxDraw \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e GW \u003c/td\u003e\n\u003ctd\u003e Direct Graphic Write \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Image\\GraphicWriteCommand \u003c/td\u003e\n\u003ctd\u003e graphicWrite \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e ; \u003c/td\u003e\n\u003ctd\u003e Code comment line \u003c/td\u003e\n\u003ctd\u003e Complete \u003c/td\u003e\n\u003ctd\u003e Epl\\Command\\Form\\CommentLineCommand \u003c/td\u003e\n\u003ctd\u003e commentLine \u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensoft%2Fepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensoft%2Fepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensoft%2Fepl/lists"}