Need Help for GPS Time Output in P10 Display (Dot Matrix Display)

UKHeliBob:
When I asked if you knew how to draw a line between 2 points on the display I meant a line of dots as might be used to represent the hands of an analogue clock, not a line of text

What library are you using to control the display ?

Sorry. I didn't understand that time.

I'm using DMD2 Library.

My Code is Given Below.

// Inserting File Library
#include <SPI.h>
#include <DMD2.h>
#include <NMEAGPS.h>
#include <fonts/Arial_Black_16.h>

// PICK ONE OF THESE PORT ALTERNATIVES
//
// BEST: connect GPS to pins 0 & 1, since you're not using Serial.
//             Requires disconnecting pin 0 to upload new sketch over USB.
#define gpsPort Serial // just an alias for Serial

// 2nd BEST: connect GPS to pins 8 & 9 (on an UNO)
//#include <AltSoftSerial.h>
//AltSoftSerial gpsPort

// 3rd BEST:
//#include <NeoSWSerial.h>
//NeoSWSerial gpsPort(3, 4); // RX, TX

// WORST: SoftwareSerial NOT RECOMMENDED

// Defining Constants
#define Length 2
#define Width 1

// Declaration Variable
SoftDMD dmd(Length, Width);                  // Length x Width

NMEAGPS gps; // parser

void setup()
{
  dmd.setBrightness(255);
  dmd.selectFont(Arial_Black_16);
  dmd.begin();
  dmd.clearScreen();

  gpsPort.begin(9600);
}

void loop()
{
  if (gps.available( gpsPort )) {
    gps_fix fix = gps.read();

    if (fix.valid.time) {
      // UTC_ind_zone_time
      char dmdBuff[10];

      sprintf_P( dmdBuff, PSTR("%02d:%02d:%02d"),
                 fix.dateTime.hours, fix.dateTime.minutes, fix.dateTime.seconds );
      dmd.drawString(0,1,dmdBuff);
    }
  }
}