Skip to content
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

Need adbise for barcode label #94

Closed
lvsan opened this issue Apr 5, 2024 · 10 comments
Closed

Need adbise for barcode label #94

lvsan opened this issue Apr 5, 2024 · 10 comments

Comments

@lvsan
Copy link

lvsan commented Apr 5, 2024

HI All,

Can advise how can i get the barcode label in center or align the left? cause the design seem weird feedback from customer.

image

below is the xml.

@kstan79
Copy link
Contributor

kstan79 commented Apr 5, 2024

Hm... you may check phpjasperxmlelement.php, also the renderer of barcode is tcpdf.

So far I align content according pdf result instead of jasperstudio, you may use this way or dig the code if you wish

@lvsan
Copy link
Author

lvsan commented Apr 8, 2024 via email

@kstan79
Copy link
Contributor

kstan79 commented Apr 8, 2024

No sample code, just align according pdf

@lvsan
Copy link
Author

lvsan commented Apr 15, 2024

ok. let me try first. thanks.

@kstan79 kstan79 closed this as completed Apr 16, 2024
@kstan79
Copy link
Contributor

kstan79 commented Apr 18, 2024

update latest 2.1.5, it has improve alignment

@lvsan
Copy link
Author

lvsan commented Apr 24, 2024

thanks. will update and try now.

@lvsan
Copy link
Author

lvsan commented Apr 24, 2024

executeExpression: $F{ItemBarcode}

after parse expressiom: <{{1005000255190}}>

string

executeExpression: "S"+$F{Item_Price1}

after parse expressiom: "S"+10.90

string

Eval failed.

return "S".10.90;

syntax error, unexpected floating-point number ".10", expecting ";"

when i try there is error while printing.

@kstan79
Copy link
Contributor

kstan79 commented Apr 24, 2024

You may temporary roll back last version, I notice some situation it happens and I need make some decision on source code

@lvsan
Copy link
Author

lvsan commented Apr 25, 2024

noted for that. thanks.

@kstan79
Copy link
Contributor

kstan79 commented Apr 27, 2024

Try update latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants