-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional commands #5
base: master
Are you sure you want to change the base?
Conversation
namespace Talal\LabelPrinter\Command; class CharColor implements CommandInterface
} |
{ | ||
$this->addOption(new Format($this->format), 0); | ||
$this->addOption(new Character(Character::OFF), 1); | ||
$this->addOption(new Height(48), 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$this->addOption(new Height(48), 2); | |
$this->addOption(new Height(48), 3); |
$this->addOption(new Format($this->format), 0); | ||
$this->addOption(new Character(Character::OFF), 1); | ||
$this->addOption(new Height(48), 2); | ||
$this->addOption(new Width(Width::SMALL), 3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$this->addOption(new Width(Width::SMALL), 3); | |
$this->addOption(new Width(Width::SMALL), 4); |
$this->addOption(new Character(Character::OFF), 1); | ||
$this->addOption(new Height(48), 2); | ||
$this->addOption(new Width(Width::SMALL), 3); | ||
$this->addOption(new Parenthesis(Parenthesis::ON), 4); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$this->addOption(new Parenthesis(Parenthesis::ON), 4); | |
$this->addOption(new Parenthesis(Parenthesis::ON), 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed some extra characters that I don't know why they were added.
|
||
public function read() | ||
{ | ||
return 't' . $this->value . 'sp'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return 't' . $this->value . 'sp'; | |
return 't' . $this->value; |
|
||
public function read() | ||
{ | ||
return 'r' . $this->value . 'uxy'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return 'r' . $this->value . 'uxy'; | |
return 'r' . $this->value; |
Adding additional commands for the printer.