Communication is bi-directional, with the printer always returning a full status report structure 32 Bytes. After which by common agreement, a status request is sent this might not be required for operation. The printer now sends 32 bytes of status data, which may be interpreted in order to find the media width, current printer phase, etc. Refer to the references section to find links explaining the status descriptor more in-depth. The printer should now be set to raster graphics mode, in order to send sequential raster lines to be printed. The printer is now ready to accept sequential lines of bitmapped data, special line commands or printing commands.
Another way of looking at this would be that the data length is encoded as 16bit unsigned integer in little endian notation. However, in order to support larger media widths, there is a padding at the beginning of the data section, which according to a more-or-less official spec document must be set to 0 or "damage to the print head might ensue".
The padding for 12mm media spans 4 bytes. To print an all-black line on 12mm media would therefore end the raster line transfer with. The printer buffers the raster data internally up to 30cm of data, according to some documents , indicating action by turning off or blinking the activity light.
In order to print the current data buffer, a print-and-feed command can be sent. In order to chain-print, a simple "print" command can be sent, which only advances the tape a minimal amount, but still allows new raster data to be transferred. Special thanks to Bernard Hatt, who wrote a similar tool, which was a great help in understanding the printer protocol but please think a bit more about variable naming.
Another application supporting this printer is blabel, which presents a graphical interface for label printing. The Brother PTPC Command reference document seems not to be distributed by Brother anymore, but digital copies of it can be found by querying your favourite search engine. Feature requests, bug reports and general Feedback is welcome and accepted via email to cb cbcdn. Ignore Learn more. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
C Shell Makefile. Branch: master New pull request. Find file. Sign in Sign up. Launching GitHub Desktop Go back. Launching Xcode Launching Visual Studio Quick start Create an image you want to print with the following parameters Colors : 2 Monochrome Width : 64 pixels Height : However long you want the label to be Note that it is probably easier to design on a rotated frame and then rotate it to fit these parameters.
See below for some ideas on software to do this with.
Building The main printer interface pt , the line2bitmap tool and the interactive harness have no dependencies other than standard system headers, a GNU makefile is included. Simply running make while running a system with a working C compiler should do the trick. For the textlabel tool, the following development packages are required listed for debian libfreetype6-dev libfontconfig1-dev pkgconf make builds the main interface binary, the textlabel tool and line2bitmap.
Protocol documentation The protocol used in this interface has been reverse-engineered by reading software written by other people as well as more-or-less official specification documents and wiki pages. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window.
Posted on Feb 3, PM. Page content loaded. Feb 3, PM. Tried downloading them from the site in Japan Aug 10, AM. P-Touch 5. Cubs Driver: pdmx8jpn.
Feb 11, AM. I can access the link for the software but clicking on the link s provided for the cubs driver leads me to an error page. What am I doing wrong? I'd love to install the printer under Mavericks, too. Apr 15, PM. Apr 16, AM in response to hanomac In response to hanomac. Apr 16, AM. I've been up and down the Japanese site with google translate searching for the driver. All I found after hours was the software and again and only the software.
For instructions on how to download the Brother PTouch/Label Printer Driver, refer A. Plug in the USB cable to between the PTouch/Label and MAC machine . Sorry. P-touch Editor Lite is not compatible with Mac. Please download and install Printer Driver and P-touch Editor from the download page.
The site states though that Mac Os Mav supports the printer - but I can't find the driver link. You saved my day! I was just about to return the printer. Now everything runs just fine. I am very grateful for such an outstanding support, many, many thanks! I'll keep these files in my vault, just in case Apr 16, PM.
Jun 5, PM. Perfect, A proper link to the correct drivers. Everything working properly on Mavericks. Nice work, thank you. Aug 19, PM.
Sep 4, PM. Sep 20, PM. Stupid question, perhaps you can help. Printer PTPC loaded and visible.