-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Max width barcode? #191
Comments
In my case i used this in laravel view, and works for me @php
use Milon\Barcode\DNS1D;
// Create an instance of the DNS1D class
$barcode = new DNS1D();
@endphp
<img src="data:image/png;base64, {!! $barcode->getBarcodePNG("$data->id_stok", 'C128') !!}" alt="" width="55" height="55"> |
This was referenced May 9, 2024
You can pass 2 more arguments to specify the Eg: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
anyone can help me? how to make this barcode not overflow with the container (border), i just add
max-width
class on the css, but not working far.The text was updated successfully, but these errors were encountered: