JP7117911B2 - 印刷システムおよびプリンタ - Google Patents
印刷システムおよびプリンタ Download PDFInfo
- Publication number
- JP7117911B2 JP7117911B2 JP2018124146A JP2018124146A JP7117911B2 JP 7117911 B2 JP7117911 B2 JP 7117911B2 JP 2018124146 A JP2018124146 A JP 2018124146A JP 2018124146 A JP2018124146 A JP 2018124146A JP 7117911 B2 JP7117911 B2 JP 7117911B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- sequential
- code
- conversion
- immediate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/18—Conditioning data for presenting it to the physical printing elements
- G06K15/1801—Input data handling means
- G06K15/1822—Analysing the received data before processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1297—Printer code translation, conversion, emulation, compression; Configuration of printer parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1206—Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1229—Printer resources management or printer maintenance, e.g. device status, power levels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1236—Connection management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
- G06F3/1247—Job translation or job parsing, e.g. page banding by conversion to printer ready format
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/126—Job scheduling, e.g. queuing, determine appropriate device
- G06F3/1263—Job scheduling, e.g. queuing, determine appropriate device based on job priority, e.g. re-arranging the order of jobs, e.g. the printing sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1284—Local printer device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/40—Details not directly involved in printing, e.g. machine management, management of the arrangement as a whole or of its constitutive parts
- G06K15/408—Handling exceptions, e.g. faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1288—Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
しかしながら、従来のコマンド体系、ホスト装置からの送信処理方式およびプリンタの受信処理方式では、逐次コマンドであるイメージ系コマンドのデータ部を即時コマンドと誤認識してしまうことがあるという問題がある。すなわち、偶発的に即時コマンドデータ列と同じデータ列がイメージデータに含まれている場合、イメージデータとして送信したデータが意図せず即時コマンドと解釈され、処理されてしまうことがある。
これを避けるためには、イメージデータ内に即時コマンド列が存在しないことをホスト装置で確認する必要があり、即時コマンドデータ列が存在する場合には、イメージデータの一部を変更するなどの対応が必要になる。
図1は、本実施形態における印刷システムS1の構成を示すブロック図である。図示するように、印刷システムS1は、プリンタ2にコマンドを送信するホスト装置1と、ホスト装置1から受信したコマンドに基づいて処理を行うプリンタ2とを備える。コマンドは、プリンタが受信後に逐次的に処理を実行する逐次コマンド、およびプリンタが逐次コマンドよりも優先的に処理を実行する即時コマンドのいずれか1つを含む。即時コマンドには、例えば逐次コマンドを格納する受信バッファ23をクリアするコマンド”CLR”等がある。
(ステップS103)制御部12は、即時コマンドのデータバイトの下位4ビットを即時コマンドの変換コードに変換した1バイトの即時コマンド変換データバイトをデータ送信部11から送信する。その後、ステップS101の処理に戻る。
(ステップS106)制御部12は、逐次コマンドのデータバイトをそのままデータ送信部11に送信させる。その後、ステップS104の処理に戻る。
(ステップS108)制御部12は、逐次コマンドの変換コード「0x7f」を2バイト、データ送信部11に送信させる。その後、ステップS104の処理に戻る。
(ステップS205)即時コマンド処理部22は、第1コマンド変換部211が変換したデータバイトを即時コマンドのデータバイトとして処理する。その後、ステップS201の処理に戻る。
(ステップS303)第2コマンド変換部241は、取り出した1バイトの受信データが逐次コマンドのコード(0x00~0x7eまたは0x90~0xffの範囲内)であるか否かを判定する。受信データが逐次コマンドのコードであると第2コマンド変換部241が判定した場合には、ステップS304の処理に進む。また、受信データが逐次コマンドのコードでないと第2コマンド変換部241が判定した場合には、ステップS305の処理に進む。
Claims (2)
- プリンタにコマンドを送信するホスト装置と、前記ホスト装置から受信したコマンドに基づいて処理を行うプリンタを有する印刷システムであって、
前記ホスト装置は、前記コマンドが所定の条件に一致する場合に前記コマンドを変換条件に基づいて変換して、変換した変換コードを前記コマンドとして前記プリンタに送信し、
前記プリンタは、
前記ホスト装置から前記コマンドを受信する受信部と、
受信された前記コマンドが前記変換条件に基づいて変換された変換コードであるか否かを判別し、前記コマンドが変換コードである場合に前記変換条件に基づいて前記変換コードを前記コマンドに変換するコマンド変換部と、
前記コマンドが変換コードである場合に前記コマンド変換部が変換した前記コマンドを実行し、前記コマンドが変換コードではない場合に受信された前記コマンドを実行するコマンド処理部と、
を備え、
前記コマンドは、プリンタが受信後に逐次的に処理を実行する逐次コマンド、およびプリンタが前記逐次コマンドよりも優先的に処理を実行する即時コマンドのいずれか1つを含み、
前記コマンド変換部は、受信された前記コマンドが前記即時コマンドの変換コードである場合に前記コマンドが前記即時コマンドであると判定し、受信された前記コマンドが前記逐次コマンドの前記変換コードである場合に前記コマンドが逐次コマンドであると判定し、または受信された前記コマンドが前記即時コマンドの前記変換コードではない場合かつ受信された前記コマンドが前記逐次コマンドの前記変換コードではない場合に前記コマンドが逐次コマンドであると判定し、
前記ホスト装置は、
前記即時コマンドを送信する場合に、前記即時コマンドのデータバイトを上位ビットと下位ビットとに分割し、前記上位ビット及び前記下位ビットを前記即時コマンドの変換コードに変換した2バイトを前記コマンドとして前記プリンタに送信し、
前記逐次コマンドを送信する場合に、前記逐次コマンドのデータに前記即時コマンドの変換コードおよび前記逐次コマンドの変換コードが含まれているかを判別し、前記逐次コマンドのデータバイトが前記逐次コマンドの変換コードである場合に、当該データバイトを2バイトの前記逐次コマンドの変換コードに変換したコマンドを前記コマンドとして前記プリンタに送信し、前記逐次コマンドのデータバイトが前記即時コマンドの変換コードである場合に、当該データバイトを前記逐次コマンドの変換コードの後に前記逐次コマンドのコードが続く2バイトのデータに変換したコマンドを前記コマンドとして前記プリンタに送信し、
前記コマンド変換部は、第1コマンド変換部と、第2コマンド変換部と、を備え、
前記コマンド処理部は、逐次コマンドに基づく処理を実行する逐次コマンド処理部と、即時コマンドに基づく処理を実行する即時コマンド処理部と、を備え、
前記第1コマンド変換部は、
受信された前記コマンドが前記即時コマンドの前記変換コードである場合に前記コマンドが前記即時コマンドであると判定し、前記変換条件に基づいて前記即時コマンドの前記変換コードを前記即時コマンドに変換し、変換した前記即時コマンドを前記即時コマンド処理部に出力し、
前記第2コマンド変換部は、
受信された前記コマンドが前記逐次コマンドの前記変換コードである場合に前記コマン
ドが逐次コマンドであると判定し、前記変換条件に基づいて前記逐次コマンドの前記変換コードを前記逐次コマンドに変換し、変換した前記逐次コマンドを前記逐次コマンド処理部に出力し、
受信された前記コマンドが前記即時コマンドの前記変換コードではない場合かつ受信された前記コマンドが前記逐次コマンドの前記変換コードではない場合に前記コマンドが逐次コマンドであると判定し、前記コマンドを前記逐次コマンド処理部に出力する、
ことを特徴とする印刷システム。 - プリンタに対するコマンドを受信する受信部と、
受信された前記コマンドが所定の変換条件に基づいて変換された変換コードであるか否かを判別し、前記コマンドが変換コードである場合に、前記変換条件に基づいて前記変換コードを前記コマンドに変換するコマンド変換部と、
前記コマンドが変換コードである場合に前記コマンド変換部が変換した前記コマンドを実行し、前記コマンドが変換コードではない場合に受信された前記コマンドを実行するコマンド処理部と、
を備え、
前記コマンドは、プリンタが受信後に逐次的に処理を実行する逐次コマンド、およびプリンタが前記逐次コマンドよりも優先的に処理を実行する即時コマンドのいずれか1つを含み、
前記コマンド変換部は、受信された前記コマンドが前記即時コマンドの変換コードである場合に前記コマンドが前記即時コマンドであると判定し、受信された前記コマンドが前記逐次コマンドの前記変換コードである場合に前記コマンドが逐次コマンドであると判定し、または受信された前記コマンドが前記即時コマンドの前記変換コードではない場合かつ受信された前記コマンドが前記逐次コマンドの前記変換コードではない場合に前記コマンドが逐次コマンドであると判定し、
前記コマンド変換部は、第1コマンド変換部と、第2コマンド変換部と、を備え、
前記コマンド処理部は、逐次コマンドに基づく処理を実行する逐次コマンド処理部と、即時コマンドに基づく処理を実行する即時コマンド処理部と、を備え、
前記第1コマンド変換部は、
受信された前記コマンドが前記即時コマンドの前記変換コードである場合に前記コマンドが前記即時コマンドであると判定し、前記変換条件に基づいて前記即時コマンドの前記変換コードを前記即時コマンドに変換し、変換した前記即時コマンドを前記即時コマンド処理部に出力し、
前記第2コマンド変換部は、
受信された前記コマンドが前記逐次コマンドの前記変換コードである場合に前記コマンドが逐次コマンドであると判定し、前記変換条件に基づいて前記逐次コマンドの前記変換コードを前記逐次コマンドに変換し、変換した前記逐次コマンドを前記逐次コマンド処理部に出力し、
受信された前記コマンドが前記即時コマンドの前記変換コードではない場合かつ受信された前記コマンドが前記逐次コマンドの前記変換コードではない場合に前記コマンドが逐次コマンドであると判定し、前記コマンドを前記逐次コマンド処理部に出力する、
ことを特徴とするプリンタ。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018124146A JP7117911B2 (ja) | 2018-06-29 | 2018-06-29 | 印刷システムおよびプリンタ |
US16/451,364 US10936269B2 (en) | 2018-06-29 | 2019-06-25 | Printing system, printer, and printing control method |
EP19182678.3A EP3588383B1 (en) | 2018-06-29 | 2019-06-26 | Printing system, printer, and printing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018124146A JP7117911B2 (ja) | 2018-06-29 | 2018-06-29 | 印刷システムおよびプリンタ |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020004169A JP2020004169A (ja) | 2020-01-09 |
JP7117911B2 true JP7117911B2 (ja) | 2022-08-15 |
Family
ID=67137524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018124146A Active JP7117911B2 (ja) | 2018-06-29 | 2018-06-29 | 印刷システムおよびプリンタ |
Country Status (3)
Country | Link |
---|---|
US (1) | US10936269B2 (ja) |
EP (1) | EP3588383B1 (ja) |
JP (1) | JP7117911B2 (ja) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002200796A (ja) | 2000-12-28 | 2002-07-16 | Seiko Epson Corp | プリンタドライバ、印刷制御方法及び情報記録媒体 |
JP3330855B2 (ja) | 1997-08-26 | 2002-09-30 | 株式会社ピーエフユー | プリンタシステムおよびプリンタ動作制御方法および記録媒体 |
JP2007125736A (ja) | 2005-11-01 | 2007-05-24 | Tohoku Ricoh Co Ltd | 画像形成装置及び画像形成システム |
JP2011238090A (ja) | 2010-05-12 | 2011-11-24 | Seiko Epson Corp | 印刷装置およびその制御方法 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10202959A (ja) * | 1997-01-20 | 1998-08-04 | Canon Inc | 印字処理システム |
JP2000298566A (ja) | 1999-04-14 | 2000-10-24 | Seiko Epson Corp | 印刷装置、情報処理装置、これらの制御方法、及び情報記録媒体 |
JP3452247B2 (ja) | 1999-12-28 | 2003-09-29 | セイコーエプソン株式会社 | プリンタ、プリンタの制御方法およびプログラムを記録した記録媒体 |
KR100535442B1 (ko) | 2005-04-18 | 2005-12-09 | 주식회사 빅솔론 | 프린팅 장치, 상기 프린팅 장치의 제어 방법 및 상기프린팅 장치를 이용한 데이터 처리 장치 |
US8279475B2 (en) | 2008-05-27 | 2012-10-02 | Bixolon Co., Ltd. | Printing apparatus and method for processing real-time command using the printing apparatus |
JP2014041393A (ja) * | 2012-08-21 | 2014-03-06 | Toshiba Corp | 印刷サーバ |
JP6701523B2 (ja) * | 2016-09-29 | 2020-05-27 | ブラザー工業株式会社 | 携帯型印刷装置 |
JP6897321B2 (ja) * | 2017-05-29 | 2021-06-30 | セイコーエプソン株式会社 | 印刷装置、及び、印刷装置の制御方法 |
-
2018
- 2018-06-29 JP JP2018124146A patent/JP7117911B2/ja active Active
-
2019
- 2019-06-25 US US16/451,364 patent/US10936269B2/en active Active
- 2019-06-26 EP EP19182678.3A patent/EP3588383B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3330855B2 (ja) | 1997-08-26 | 2002-09-30 | 株式会社ピーエフユー | プリンタシステムおよびプリンタ動作制御方法および記録媒体 |
JP2002200796A (ja) | 2000-12-28 | 2002-07-16 | Seiko Epson Corp | プリンタドライバ、印刷制御方法及び情報記録媒体 |
JP2007125736A (ja) | 2005-11-01 | 2007-05-24 | Tohoku Ricoh Co Ltd | 画像形成装置及び画像形成システム |
JP2011238090A (ja) | 2010-05-12 | 2011-11-24 | Seiko Epson Corp | 印刷装置およびその制御方法 |
Also Published As
Publication number | Publication date |
---|---|
JP2020004169A (ja) | 2020-01-09 |
US10936269B2 (en) | 2021-03-02 |
EP3588383A1 (en) | 2020-01-01 |
EP3588383B1 (en) | 2023-10-11 |
US20200004486A1 (en) | 2020-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7961340B2 (en) | Printer, printing system and printing method for preventing abnormal printing | |
JP7117911B2 (ja) | 印刷システムおよびプリンタ | |
KR20060120043A (ko) | 분할 런렝스 인코딩 방법 및 장치 | |
KR20110071828A (ko) | 콘텐츠 변환 장치 및 방법 | |
US6785424B1 (en) | Encoding method and apparatus for compressing a data structure having two or more dimensions, decoding method, and storage medium | |
JP4059505B2 (ja) | 画像処理装置 | |
JP4881140B2 (ja) | データ転送装置、データ転送制御方法、およびデータ転送制御プログラム | |
US20020093679A1 (en) | Flexible networked image processing | |
JP2005277667A (ja) | 画像処理装置 | |
JP2011056751A (ja) | 印刷システム、プリンターおよびpdl処理装置 | |
JP5388477B2 (ja) | 画像形成装置、及び、画像データ転送方法 | |
JP4655868B2 (ja) | 第1データ受信送信装置および受信装置並びに第2データ受信送信装置、データ受信送信システムおよびデータ受信送信方法 | |
JP6191261B2 (ja) | コマンド送受信システムおよびコマンド受信装置 | |
JP2007141127A (ja) | 通信プロトコル | |
JP2017204738A (ja) | データ送信装置、データ受信装置、データ送受信方法、及び情報処理装置 | |
JP2006205383A (ja) | 画像形成装置及び制御プログラム | |
JPH0693732B2 (ja) | 適応形バッファメモリ制御装置 | |
JP2007299304A (ja) | データ転送制御方法,装置および画像形成装置 | |
JP2004013429A (ja) | データ制御方式及び記録装置 | |
US20170099392A1 (en) | Dial-up communication device, method, and computer-readable medium that perform dial-up communication | |
KR101162672B1 (ko) | 인쇄시스템 및 인쇄방법 | |
JP6218391B2 (ja) | 画像形成装置、画像形成装置の制御方法、及びプログラム | |
KR101091109B1 (ko) | Tty 통신 장치 및 방법 | |
JP2007235644A (ja) | ファクシミリ装置 | |
JPH04156028A (ja) | 無線式データ伝送装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210401 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220426 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220623 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220715 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220802 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7117911 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |