Patent US1219746A successfully refreshed from Google Patents.
Patent US5438650A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5438650A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and system to recognize encoding type in document processing language

Assignee: Ricoh Co Ltd
•
Filing: 1993-01-19
•
Granted: 1995-08-01
•
Expires: 2013-01-19
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and system to efficiently and automatically determine whether a document to be processed and printed has been encoded in a binary or clear text representation of a page description language. The document is initially processed as if it were binary encoded and the first three tags of the document are examined to determine if they contain the object identifier having the value "28 CF 44 00 H". If one of the first three tags has this value, an encoding flag is set to indicate the document is a binary SPDL file and the recognition process is terminated. If the document is determined not to be a binary SPDL file it is examined to see if it is clear text SPDL file. The beginning of the document is examined to determine if it contains zero or more S separators which are defined to be spaces, carriage returns, line feeds, and tabs followed by the characters "<!DOCTYPE" regardless of capitalization followed by one or more S separators followed by the characters "SPDL". If these characters exist in order, the document is determined to be a clear text encoded SPDL document. The binary and clear text encoded SPDL documents are then processed for printing. If the document is determined not to be a clear text or binary encoded SPDL document, an indication is given that the file is not an SPDL file.

Inventors

  • 👤 Tetsuo Motoyama
  • 👤 Donny Tsay

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-05 23:12
CPC Classifications
G; G06; G06F; G06F3/00; G06F3/12; G06F3/1297; G06F40/00; G06F40/10; G06F40/103; G06F40/12; G06F40/151; G06F40/154; G06K; G06K15/00; G06K15/02; G06K15/18; G06K15/1827; G06K15/1828; G06K15/1848; G06K15/1849; G06K2215/00; G06K2215/0002; G06K2215/0005; G06K2215/0011

Claims Analysis

Total Claims: 36
Claim 1
Independent Claim 287 words
A method for determining whether page description language commands are encoded in a binary or textual format, comprising the steps: processing said commands under the encoding rules of ISO/IEC 8825; determining if any of three beginning tags of said commands contain an object identifier encoded with four octets of hex values "28 CF 44 00" and , if an object identifier encoded with four octets of hex values "28 CF 44 00" is found, determining that said commands are in a binary format, and terminating processing of said method; returning to a beginning of the commands, processing the commands under a textual encoding format and reading first and subsequent bytes of the commands until said bytes do not contain a byte selected from the group of bytes representing a Space, CR, LF, or Tab; determining if subsequent bytes contain a character string "<!DOCTYPE", without regard to capitalization, and if "<!DOCTYPE", without regard to capitalization is determined not exist, terminating processing of said method because the document is a non-SPDL document; examining a next byte of the commands for bytes representing a Space, CR, LF, or Tab characters and if the next byte is not represented of one of the Space, CR, LF or Tab characters, indicating that the document is non-SPDL document and determining processing of said method; reading subsequent bytes of the commands until a subsequent byte does not contain bytes representative of any of the characters Space, CR, LF, or Tab; and examining said subsequent bytes which do not contain the characters Space, CR, LF, or Tab for characters including SPDL without regard to capitalization and if characters including SPDL without regard to capitalization are found, indicating said commands are encoded in a textual format.
Claim 2
Independent Claim 287 words
A method for determining whether page description language commands are encoded in a binary or textual format, comprising the steps: processing said commands under the encoding rules of ISO/IEC 8825; determining if any of three beginning tags of said commands contain an object identifier encoded with four octets of hex values "28 CF 44 00" and , if an object identifier encoded with four octets of hex values "28 CF 44 00" is found, determining that said commands are in a binary format, and terminating processing of said method; returning to a beginning of the commands, processing the commands under a textual encoding format and reading first and subsequent bytes of the commands until said bytes do not contain a byte selected from the group of bytes representing a Space, CR, LF, or Tab; determining if subsequent bytes contain a character string "<!DOCTYPE", without regard to capitalization, and if "<!DOCTYPE", without regard to capitalization is determined not exist, terminating processing of said method because the document is a non-SPDL document; examining a next byte of the commands for bytes representing a Space, CR, LF, or Tab characters and if the next byte is not represented of one of the Space, CR, LF or Tab characters, indicating that the document is non-SPDL document and determining processing of said method; reading subsequent bytes of the commands until a subsequent byte does not contain bytes representative of any of the characters Space, CR, LF, or Tab; and examining said subsequent bytes which do not contain the characters Space, CR, LF, or Tab for characters including SPDL without regard to capitalization and if characters including SPDL without regard to capitalization are found, indicating said commands are encoded in a textual format.
Claim 3
Dependent Claim 19 words
A method according to claim 1, wherein the document is processed in a print controller interfacing a print engine.
Claim 4
Dependent Claim 21 words
A method according to claim 1, wherein the document is processed in a print server connected to at least one printer.
Claim 5
Dependent Claim 14 words
A method according to claim 1, wherein the document is processed in a workstation.
Claim 6
Dependent Claim 56 words
A method according to claim 1, further comprising the steps, performed after the commands are determined to be in a binary or textual format: selecting one of a plurality of printer languages; processing the commands into the selected printer language; and transmitting the processed commands to a printer which is compatible with the selected printer language.
Claim 7
Dependent Claim 19 words
A method according to claim 5, wherein the document is processed in a print controller interfacing a print engine.
Claim 8
Dependent Claim 21 words
A method according to claim 5, wherein the document is processed in a print server connected to at least one printer.
Claim 9
Dependent Claim 14 words
A method according to claim 5, wherein the document is processed in a workstation.
Claim 10
Independent Claim 173 words
An apparatus for determining whether page description commands are encoded in a binary or textual formal, comprising: means for parsing said commands under the encoding rules of ISO/IEC 8825; binary determining means for determining if any of three beginning tags of said commands contain an object identifier encoded with four octets of hex values "28 CF 44 00"; means for parsing the document in binary if the binary determining means determines that the first three tags of said commands contain an object identifier encoded with four octets of hex values "28 CF44 00"; clear text determining means for determining if a beginning of the commands contains bytes representing zero or more spaces, carriage returns, line feeds, or tabs followed by pattern "<!DOCTYPE" without regard to capitalization, followed by bytes representing one or more spaces, carriage returns, line feeds, or tabs, followed by characters including SPDL without regard to capitalization; means for parsing the commands in clear text if the clear text determining means determines that the file has been encoded in clear text.
Claim 11
Independent Claim 173 words
An apparatus for determining whether page description commands are encoded in a binary or textual formal, comprising: means for parsing said commands under the encoding rules of ISO/IEC 8825; binary determining means for determining if any of three beginning tags of said commands contain an object identifier encoded with four octets of hex values "28 CF 44 00"; means for parsing the document in binary if the binary determining means determines that the first three tags of said commands contain an object identifier encoded with four octets of hex values "28 CF44 00"; clear text determining means for determining if a beginning of the commands contains bytes representing zero or more spaces, carriage returns, line feeds, or tabs followed by pattern "<!DOCTYPE" without regard to capitalization, followed by bytes representing one or more spaces, carriage returns, line feeds, or tabs, followed by characters including SPDL without regard to capitalization; means for parsing the commands in clear text if the clear text determining means determines that the file has been encoded in clear text.
Claim 12
Dependent Claim 17 words
An apparatus according to claim 9, wherein the apparatus comprises a print controller interfacing a print engine.
Claim 13
Dependent Claim 19 words
An apparatus according to claim 9, wherein the apparatus comprises a print server connected to at least one printer.
Claim 14
Dependent Claim 13 words
An apparatus according to claim 9, wherein the apparatus comprises a work station.
Claim 15
Dependent Claim 36 words
An apparatus according to claim 9, further comprising: means for selecting one of a plurality of printer languages into which the commands to be processed; and means for processing the commands into the selected printer language.
Claim 16
Dependent Claim 17 words
An apparatus according to claim 13, wherein the apparatus comprises a print controller interfacing a print engine.
Claim 17
Dependent Claim 19 words
An apparatus according to claim 13, wherein the apparatus comprises a print server connected to at least one printer.
Claim 18
Dependent Claim 13 words
An apparatus according to claim 13, wherein the apparatus comprises a work station.
Claim 19
Independent Claim 164 words
A method for determining whether page description language commands are encoded in a binary or textual format, comprising the steps: processing said commands under the encoding of ISO/IEC 8825; determining if beginning tags of said commands contain an object identifier indicating that said command are encoded under a binary SPDL format, and if said commands are determined to be encoded under the binary SPDL format, terminating processing of said method; returning to a beginning of the commands, processing the commands under a textual encoding format and reading first and subsequent bytes of the commands until said bytes do not contain a byte selected from the group of bytes representing a Space, CR, LF, or Tab; determining if subsequent bytes contain a character string indicating that said commands are encoded in a clear text SPDL format; and if said command are determined not to be encoded in a clear text SPDL format or binary SPDL format, indicating that said commands are from an non-SPDL file.
Claim 20
Independent Claim 164 words
A method for determining whether page description language commands are encoded in a binary or textual format, comprising the steps: processing said commands under the encoding of ISO/IEC 8825; determining if beginning tags of said commands contain an object identifier indicating that said command are encoded under a binary SPDL format, and if said commands are determined to be encoded under the binary SPDL format, terminating processing of said method; returning to a beginning of the commands, processing the commands under a textual encoding format and reading first and subsequent bytes of the commands until said bytes do not contain a byte selected from the group of bytes representing a Space, CR, LF, or Tab; determining if subsequent bytes contain a character string indicating that said commands are encoded in a clear text SPDL format; and if said command are determined not to be encoded in a clear text SPDL format or binary SPDL format, indicating that said commands are from an non-SPDL file.
Claim 21
Dependent Claim 19 words
A method according to claim 17, wherein the document is processed in a print controller interfacing a print engine.
Claim 22
Dependent Claim 21 words
A method according to claim 17, wherein the document is processed in a print server connected to at least one printer.
Claim 23
Dependent Claim 14 words
A method according to claim 17, wherein the document is processed in a workstation.
Claim 24
Dependent Claim 59 words
A method according to claim 17, further comprising the steps, performed after the commands are determined to be in a binary SPDL or clear text SPDL format: selecting one of a plurality of printer languages; processing the commands into the selected printer language; and transmitting the processed commands to a printer which is compatible with the selected printer language.
Claim 25
Dependent Claim 19 words
A method according to claim 21, wherein the document is processed in a print controller interfacing a print engine.
Claim 26
Dependent Claim 21 words
A method according to claim 21, wherein the document is processed in a print server connected to at least one printer.
Claim 27
Dependent Claim 14 words
A method according to claim 21, wherein the document is processed in a workstation.
Claim 28
Independent Claim 148 words
An apparatus for determining whether page description commands are encoded in a binary or textual SPDL format, comprising: binary determining means for determining if any of three beginning tags of said commands contain an object identifier indicating that the commands are in a binary SPDL format; means for parsing the document in binary if the binary determining means determines that the first three tags of said commands contain an object identifier indicating that the commands are in a binary SPDL format; clear text determining means for determining if a beginning of the file commands bytes representing zero or more spaces, carriage returns, line feeds, or tabs followed by a pattern indicating that the commands are in a clear text SPDL format; and means for parsing the commands in clear text if the clear text determining means determines that the file has been encoded in a clear text SPDL.
Claim 29
Independent Claim 148 words
An apparatus for determining whether page description commands are encoded in a binary or textual SPDL format, comprising: binary determining means for determining if any of three beginning tags of said commands contain an object identifier indicating that the commands are in a binary SPDL format; means for parsing the document in binary if the binary determining means determines that the first three tags of said commands contain an object identifier indicating that the commands are in a binary SPDL format; clear text determining means for determining if a beginning of the file commands bytes representing zero or more spaces, carriage returns, line feeds, or tabs followed by a pattern indicating that the commands are in a clear text SPDL format; and means for parsing the commands in clear text if the clear text determining means determines that the file has been encoded in a clear text SPDL.
Claim 30
Dependent Claim 17 words
An apparatus according to claim 25, wherein the apparatus comprises a print controller interfacing a print engine.
Claim 31
Dependent Claim 19 words
An apparatus according to claim 25, wherein the apparatus comprises a print server connected to at least one printer.
Claim 32
Dependent Claim 13 words
An apparatus according to claim 25, wherein the apparatus comprises a work station.
Claim 33
Dependent Claim 36 words
An apparatus according to claim 25, further comprising: means for selecting one of a plurality of printer languages into which the commands to be processed; and means for processing the commands into the selected printer language.
Claim 34
Dependent Claim 17 words
An apparatus according to claim 29, wherein the apparatus comprises a print controller interfacing a print engine.
Claim 35
Dependent Claim 19 words
An apparatus according to claim 29, wherein the apparatus comprises a print server connected to at least one printer.
Claim 36
Dependent Claim 13 words
An apparatus according to claim 29, wherein the apparatus comprises a work station.

References Cited (Backward Citations)

US4994998A Cited
US5263137A Cited
US5303336A Cited
US5291583A Cited
US5353388A Cited
US5323393A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1998-07-31 1999-01-30 1999-08-01 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2002-07-31 2003-01-30 2003-08-01 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2006-07-31 2007-01-30 2007-08-01 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag