Posts

Azure Functions - Debugging in VS Code

Dear Future Me, If you are trying to debug Azure Functions locally using Visual Studio Code and you come across the error: “Failed to attach to process: Only 64-bit processes can be debugged.” This is because vscode requires you to run the Azure Functions runtime as a x64 bit process. The instructions don’t normally include this because it assumes you are have installed Azure Functions Core Tools using npm. But if I know you, you probably installed it using chocolatey.
Read more

Label Printing: Thermal Transfer vs Direct Thermal

The logistics industry favours thermal printing due to its ability to produce accurate images with excellent edge definition, making it ideal for printing barcodes. There are two thermal printing methods available; Thermal Transfer and Direct Thermal. In Thermal Transfer, a thermal print head applies heat to a print ribbon contain ink. That ink is melted onto the label to form the image. Direct Thermal requires a thermal sensitive label that the print head will heat directly to form the image.
Read more

Asciidoctor PDF: Override the document theme to make tables the full page width

TL;DR If you have a Asciidocotor-Pdf theme that indents text, but you want some of the tables to span the full page width, margin to margin, skip to here The Problem I started toying around with Asciidoc around 14 months ago, and I have been impressed so far. I got sick of Microsoft Word, and I wanted to find a method that worked well with source control. So far, all has been good.
Read more

Code 128 Barcode Properties

Determining the X-Dimension and quiet zones The X-Dimension is the narrowest bar or whitespace in a barcode. You can use the following formula to determine the X-Dimension of a barcode. Variable Description Value a Constant 25.4 b The number of dots that make up a bar (integer) 1..n n The printer’s dots per inch (dpi) 203/300 When scanning a barcode using a barcode verifier, you can deduce the label printer’s dpi using the above formula.
Read more