Sha256: 6891cd35e39f69a01e80e1574f8d91d9912dd9d68eb6519ad2655f8e1d8a0a93

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

# https://en.wikipedia.org/wiki/Printer_Job_Language
# See external links for PJL spec

module Rex::Proto::PJL

  require "rex/proto/pjl/client"

  DEFAULT_PORT = 9100
  DEFAULT_TIMEOUT = 5

  COUNT_MAX = 2_147_483_647
  SIZE_MAX = 2_147_483_647

  UEL = "\e%-12345X" # Universal Exit Language
  PREFIX = "@PJL"

  module Info
    ID = "#{PREFIX} INFO ID"
    STATUS = "#{PREFIX} INFO STATUS"
    VARIABLES = "#{PREFIX} INFO VARIABLES"
    FILESYS = "#{PREFIX} INFO FILESYS"
  end

  RDYMSG = "#{PREFIX} RDYMSG"

  FSINIT = "#{PREFIX} FSINIT"
  FSDIRLIST = "#{PREFIX} FSDIRLIST"
  FSUPLOAD = "#{PREFIX} FSUPLOAD"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
librex-0.0.70 lib/rex/proto/pjl.rb