Added feed direction reversal and lcd output