Skip to content

Instantly share code, notes, and snippets.

@jdpurdyvi
jdpurdyvi / debug.log
Created August 10, 2017 22:36
pos.exe exception
24.pay1.K3Zb
70.TPROMPT6,Wirth Cooperative GroceryBbtna,SBbtnb,CHIP+PINBbtnb,SBbtnc,SBbtnd,S.
Received: mq_down
Received: termApproved
Received: mq_down
Received: termReset
Received: rePoll
Received: mq_down
Received: termReset
default prefix byte = 'S'
default terminator byte = '\n'
0x30 = '0', 0x31 = '1', etc
Hard Reset
command: any of S00\n , S10\n , S20\n , S30\n
response: none
Scanner Enable
enabled by default; only needed after Not-On-File or Scanner Disable
@jdpurdyvi
jdpurdyvi / Changelog
Created December 9, 2010 19:50
Wedge Co-op Changelog
php patches
3/2/05 12:30 pm
applied SCR patch (staff charge receipt) to lane 12:
@jdpurdyvi
jdpurdyvi / upcscanned.php
Created November 4, 2010 20:23
Wedge Co-op's upcscanned.php 2010-11-04
We couldn’t find that file to show.
So, here's what I've got. I'm working on re-writing the specials/batches pages that we use at the Wedge. Right now the tables are a mess on an old mssql server. I want to rewrite the db and php pages, and presumably have them fit into some is4c-schema. How it works now is that the department managers first make a "monthly special" with plenty of department specific annotations. Our scanning department then imports the monthly special into a "sales batch", then merges the batch into the products table at the right time.
A) The db tables will go into is4c_op under the name Specials_{tblname}
B) The app itself should be able to export to some type of generic sales batch type application
C) The php pages should rely on some ../config.php
<?php
require_once($_SERVER["DOCUMENT_ROOT"].'/src/htmlparts.php');
$html='<!DOCTYPE HTML>
<html>
<head>';
$html.=head();
$html.='