{"id":18463957,"url":"https://github.com/badchoice/dymoeditor","last_synced_at":"2025-04-28T13:36:52.996Z","repository":{"id":136587471,"uuid":"48757844","full_name":"BadChoice/DymoEditor","owner":"BadChoice","description":"A JQuery Plugin to design and print Dymo labels developed initialy for Revo web backend.","archived":false,"fork":false,"pushed_at":"2017-03-03T15:18:00.000Z","size":62,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T16:58:07.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BadChoice.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-29T17:00:01.000Z","updated_at":"2022-07-05T20:51:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"549edfd8-0e44-4fe6-a1db-e9771797c7a6","html_url":"https://github.com/BadChoice/DymoEditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadChoice%2FDymoEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadChoice%2FDymoEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadChoice%2FDymoEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadChoice%2FDymoEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BadChoice","download_url":"https://codeload.github.com/BadChoice/DymoEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251320618,"owners_count":21570607,"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-06T09:08:27.777Z","updated_at":"2025-04-28T13:36:52.963Z","avatar_url":"https://github.com/BadChoice.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dymo Label Editor\n\nA JQuery Plugin to design and print Dymo labels developed initialy for [Revo](http://revo.works) web backend.   \nFeel free to submit `pull requests` to improve it.\n\n\nElements required:\n- JQuery  \n- JQuery UI   \n- Font Awesome (optional for icons)   \n\nRight now, the `div` element to handle the editor must have as ID `dymoEditor`.\n\n\n### Usage\nFor a complete sample check out the index.html\n\n1. Import required libreries (for optimization, mix them into just one css and one js files\n\n\n    \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"./GSDymo.css\"\u003e\n    \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css\"\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css\"\u003e\n        \n    \u003cscript src = \"https://code.jquery.com/jquery-2.1.4.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src = \"https://code.jquery.com/ui/1.11.3/jquery-ui.min.js\"    type=\"text/javascript\"\u003e\u003c/script\u003e\n    \u003cscript src = \"http://labelwriter.com/software/dls/sdk/js/DYMO.Label.Framework.latest.js\" type=\"text/javascript\" charset=\"UTF-8\"\u003e \u003c/script\u003e\n    \u003cscript src = \"./GSDymo.js\" type=\"text/javascript\" charset=\"UTF-8\"\u003e \u003c/script\u003e\n\n\n\n2. Initialize plugin (send an array of values keys available for the value object)\n\n\n    \u003cscript\u003e\n        var editor;\n        $(document).ready(function() {\n            editor = $('dymoEditor').dymoEditor({'values':['ID','Price','Barcode']});\n        });\n    \u003c/script\u003e\n\n\n3. Add buttons for each action\n\n\n    \u003cbutton onClick=\"editor.toggleOrientation();\"\u003e              Toggle Orientation\u003c/button\u003e\n    \u003cbutton onClick=\"editor.selectPaper(DYMO_PAPER_ADDRESS);\"\u003e                     Change size Address\u003c/button\u003e\n    \u003cbutton onClick=\"editor.exportXML();\"\u003e   Export XML\u003c/button\u003e\n\n    \u003cbr\u003e\n    \u003cbutton onClick=\"editor.addObject('text');\"\u003eText\u003c/button\u003e\n    \u003cbutton onClick=\"editor.addObject('value');\"\u003eValue\u003c/button\u003e\n    \u003cbutton onClick=\"editor.addObject('barcode');\"\u003eBarcode\u003c/button\u003e\n\n4. Print (Send an array of values keys and its value to be printed \n\n    ```\u003cbutton onClick=\"editor.print({'Price':'10€'});\"\u003ePrint\u003c/button\u003e```\n    \n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadchoice%2Fdymoeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadchoice%2Fdymoeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadchoice%2Fdymoeditor/lists"}