Sha256: ff30b6e85a79577e85b833906e55f271d4fc7a364634ab7d9784407c7df71e4e

Contents?: true

Size: 643 Bytes

Versions: 8

Compression:

Stored size: 643 Bytes

Contents

# -*- coding: binary -*-
# 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

8 entries across 8 versions & 3 rubygems

Version Path
rex-2.0.7 lib/rex/proto/pjl.rb
rex-2.0.5 lib/rex/proto/pjl.rb
rex-2.0.4 lib/rex/proto/pjl.rb
dstruct-0.0.1 lib/rex/proto/pjl.rb
rex-2.0.3 lib/rex/proto/pjl.rb
librex-0.0.999 lib/rex/proto/pjl.rb
rex-2.0.2 lib/rex/proto/pjl.rb
librex-0.0.71 lib/rex/proto/pjl.rb