Skip to content

Instantly share code, notes, and snippets.

Tres Finocchiaro tresf

Block or report user

Report or block tresf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tresf
tresf / FindJava.ps1
Last active Jun 24, 2019 — forked from elresleff/Find_java_CFs.ps1
Search Java for Commercial Features
View FindJava.ps1
# 2019 Tres Finocchiaro, Ed Resleff - CC0/Public Domain
# - Searches the system for Java
# - Looks for specified files or features (e.g. Commercial Features)
# Whether or not to show script debbuging information
$SHOW_DEBUG = $True;
# List of possible Java Runtime locations (including JDK) search locations
# Also traverses through 32-bit registry hive (WOW6432Node)
$JRE_SEARCH = @{
View QR Code test block for QZ-Tray
var printData = [
'\x1B' + '\x40' + 'Lite Finocchiaro' +'\x0A' + '\x0A' + '\x0A' + '\x0A' + '\x0A' + '\x0A', // Some text and a few line feeds to make sure the initiation and first line are coming through
'\x1D' + '\x28' + '\x6B' + '\x04' + '\x00' + '\x31' + '\x41' + '50' + '0', //select the model (model 2 in this case for my Epson TM-T88V)
'\x1D' + '\x28' + '\x6B' + '\x03' + '\x00' + '\x31' + '\x43' + '3', //set the size of the module
'\x1D' + '\x28' + '\x6B' + '\x03' + '\x00' + '\x31' + '\x45' + '48', //select level of error correction (48,49,50,51) printer-dependent
'\x1D' + '\x28' + '\x6B' + '16' + '0' + '\x31' + '\x50' + '\x30' + 'Testing 1 2 3', //send your data (testing 123) to the image storage area in the printer
'\x1D' + '\x28' + '\x6B' + '\x03' + '\x00' + '\x31' + '\x51' +'48', //print the symbol data in the symbol storage area
'\x1D' + '\x28' + '\x6B' + '\x03' + '\x00' + '\x31' + '\x52' +'48', //Transmit the size information of the symbol data in the sym
You can’t perform that action at this time.