 }
 
 const int SD_Pin = 4;
-
 void initSD() {
-  // stop the SD stuff futzing.
   pinMode(SD_Pin, OUTPUT);
   SD.begin(SD_Pin);
 }
 
 byte mac[] = { 0x90, 0xA2, 0xDA, 0x00, 0x86, 0x67 }; //physical mac address
 EthernetClient client;
-
 void initNetwork() {
   // start the Ethernet connection:
   if (Ethernet.begin(mac) == 0) {

#include <Ethernet.h>
#include <SD.h>

/* Includes for printer */
#include <SoftwareSerial.h>
#include <Thermal.h>

#define debug(a) Serial.print(millis()); Serial.print(": "); Serial.println(a);
#define debug2(a, b) Serial.print(millis()); Serial.print(": "); Serial.print(a); Serial.println(b);

const int greenPin = 6;
const int redPin = 7;

void initDiagnosticLEDs() {
  pinMode(greenPin, OUTPUT);
  pinMode(redPin, OUTPUT);
  digitalWrite(greenPin, HIGH);
  digitalWrite(redPin, HIGH);
  delay(100);
  digitalWrite(greenPin, LOW);
  digitalWrite(redPin, LOW);
}

const int printer_RX_Pin = 2;  // this is the green wire

    // no point in carrying on, so do nothing forevermore:
    while(true);
  }
  delay(1000);
  // print your local IP address:
  debug2("IP address: ", Ethernet.localIP());
}
