-
Notifications
You must be signed in to change notification settings - Fork 0
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
Printing Image #1
Comments
I don't have a direct answer for your question. However, a couple thoughts: Check out page 20 and 139 of the PDF manual in this repository. The solution to which you link is for ZPL (Zebra Printing Language). As a general rule, ZPL is not compatible with older Datamax printers. I don't know if your snippet is Datamax-compatiable. |
Thanks I edited above link according to the Datamax manual function imageToDPL($in, $name='') { |
Hello Ian
This is a simple datamax code to printing my image:
$command = "\x02qA\x0d";
$command .= "\x02IAAFLOGO\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "801100000000FFFFFFFFFFFFFFFFFFFFFFFF00\x0d";
$command .= "FFFF\x0d";
$command .= "\x02L\x0d";
$command .= "1Y1100000000000LOGO\x0d";
$command .= "E\x0d";
I found a solution to convert my image to datamax format (edit this sample), but my result is not suitable or bad resolution. Do you know best function to printing an image with Datamax language with php?
The text was updated successfully, but these errors were encountered: