JPH09120346A - Data setting method for print server, and print server - Google Patents

Data setting method for print server, and print server

Info

Publication number
JPH09120346A
JPH09120346A JP7279011A JP27901195A JPH09120346A JP H09120346 A JPH09120346 A JP H09120346A JP 7279011 A JP7279011 A JP 7279011A JP 27901195 A JP27901195 A JP 27901195A JP H09120346 A JPH09120346 A JP H09120346A
Authority
JP
Japan
Prior art keywords
print server
data
file
printer
setting
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.)
Pending
Application number
JP7279011A
Other languages
Japanese (ja)
Inventor
Koji Yamamoto
山本  幸司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissin Electric Co Ltd
Original Assignee
Nissin Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP7279011A priority Critical patent/JPH09120346A/en
Publication of JPH09120346A publication Critical patent/JPH09120346A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it easy to set setting data for the print server by eliminating the need to install a special download utility program on a terminal. SOLUTION: Print output is done by transmitting printer discrimination information on a printer name, etc., and file data to be printed from a terminal 2 to the print server 3 through a network. Further, a special printer name for indicating the setting of the setting data is used as the printer discrimination information and a setting data file is transmitted together with it, so that the print server 3 sets the contents of a memory for setting data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、ローカルエリア
ネットワークに接続されているプリントサーバの各種設
定データを設定する方法およびプリントサーバに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and print server for setting various setting data of a print server connected to a local area network.

【0002】[0002]

【従来の技術】従来より、オフィス環境においては、コ
ンピュータ等のOA機器の稼働率およびコストパフォー
マンスを高めるため、複数のパーソナルコンピュータや
ワークステーションとプリントサーバをローカルエリア
ネットワークに接続し、プリントサーバに接続されてい
るプリンタを複数のパーソナルコンピュータやワークス
テーションが利用できるようにしたシステム構成が採ら
れるケースが非常に多い。
2. Description of the Related Art Conventionally, in an office environment, a plurality of personal computers or workstations and a print server are connected to a local area network and connected to the print server in order to improve the operating rate and cost performance of office automation equipment such as computers. In many cases, a system configuration is adopted in which the existing printer can be used by a plurality of personal computers or workstations.

【0003】このようなプリントサーバを利用するに当
たって、各種設定データを予め設定しておかなければな
らない。これらの設定データは、例えばプリントサーバ
の各出力ポートに接続されているプリンタのプリンタ名
と各プリンタに適するプリントデータへ変換するフィル
タとしてどのフィルタを用いるかの情報やインターネッ
トアドレスなどである。これらの設定データはEE−P
ROMなどの不揮発性メモリに書き込まれる。
In using such a print server, various setting data must be set in advance. These setting data are, for example, the printer name of the printer connected to each output port of the print server, information about which filter is used as a filter for converting the print data suitable for each printer, and the Internet address. These setting data are EE-P
It is written in a non-volatile memory such as a ROM.

【0004】ここで、上記各種設定データの設定のため
の構成をブロック図として図9に示す。同図に示すよう
に、クライアントマシンである端末2側に設定用情報2
1が作成され、ダウンロードユーティリティプログラム
20の実行によって、設定用情報21がネットワークを
介してプリントサーバ3内の設定データ用メモリ32に
ダウンロードされる。
FIG. 9 is a block diagram showing a configuration for setting the various setting data. As shown in the figure, the setting information 2 is set on the terminal 2 side which is the client machine.
1 is created, and by executing the download utility program 20, the setting information 21 is downloaded to the setting data memory 32 in the print server 3 via the network.

【0005】[0005]

【発明が解決しようとする課題】ところが、このような
従来のプリントサーバのデータ設定方法では、端末側で
設定した設定用情報をプリントサーバへダウンロードす
るための特別なダウンロードユーティリティプログラム
を用意しなければならず、しかもそのプログラムを端末
にインストールし、それを実行させるまでに手間が掛か
るという問題があった。
However, in such a conventional print server data setting method, a special download utility program for downloading the setting information set on the terminal side to the print server must be prepared. Moreover, there is a problem that it takes time to install the program on the terminal and execute it.

【0006】この発明の目的は、特別なダウンロードユ
ーティリティプログラムを端末にインストールする必要
をなくし、プリントサーバ用設定データの設定を容易に
するプリントサーバのデータ設定方法およびプリントサ
ーバを提供することにある。
An object of the present invention is to provide a print server data setting method and a print server which eliminate the need to install a special download utility program in a terminal and facilitate the setting of print server setting data.

【0007】[0007]

【課題を解決するための手段】この発明のプリントサー
バのデータ設定方法は、特別なダウンロードユーティリ
ティプログラムを用いることなく、プリントサーバのデ
ータの設定を容易にするため、請求項1に記載のとお
り、ローカルエリアネットワークに接続された端末から
プリントサーバへプリンタ識別情報およびファイルデー
タを伝送し、プリントサーバで、前記プリンタ識別情報
がポートに接続されているプリンタを識別する情報であ
るとき、該当するポートへ前記ファイルデータを加工し
てまたはそのまま出力し、前記プリンタ識別情報がプリ
ントサーバ用の設定データの設定を指示する情報である
とき、ファイルデータを設定データ用メモリへ書き込む
ことを特徴とする。
According to a first aspect of the present invention, there is provided a print server data setting method for facilitating print server data setting without using a special download utility program. When the printer identification information and file data are transmitted from the terminal connected to the local area network to the print server, and when the printer identification information is the information for identifying the printer connected to the port in the print server, the printer is sent to the corresponding port. It is characterized in that the file data is processed or output as it is, and when the printer identification information is information instructing the setting of the setting data for the print server, the file data is written in the setting data memory.

【0008】また、この発明のプリントサーバは、プリ
ントすべきファイルデータをプリントサーバへ伝送する
手段を備える端末が接続されたローカルエリアネットワ
ークに接続される、設定データ用メモリを備えるプリン
トサーバにおいて、特別なダウンロードユーティリティ
プログラムを用いることなく、プリントサーバ用設定デ
ータの設定を容易にするため、請求項2に記載のとお
り、各プリンタの識別情報とそれらのプリンタが接続さ
れているポートとの関係を設定記憶するプリンタ情報記
憶手段と、出力すべきファイルデータおよびプリンタの
識別情報を受けて前記プリンタ識別情報に対応するポー
トへ前記ファイルデータを加工してまたはそのまま出力
するプリントデータ出力手段と、プリントサーバ用の設
定データであるファイルデータとともにプリントサーバ
用の設定データの設定を指示するプリンタ識別情報を受
けて、前記プリントサーバ用の設定データであるファイ
ルデータを設定データ用メモリへ書き込むプリントサー
バ用設定データ書込手段とを設けたことを特徴とする。
The print server of the present invention is a special print server provided with a memory for setting data, which is connected to a local area network to which a terminal having a means for transmitting file data to be printed to the print server is connected. In order to facilitate setting of the print server setting data without using a different download utility program, the relationship between the identification information of each printer and the port to which those printers are connected is set as described in claim 2. Printer information storage means for storing, print data output means for receiving file data to be output and printer identification information and processing the file data to a port corresponding to the printer identification information or outputting the file data as it is; The setting data of A print server setting data writing means for writing the file data, which is the setting data for the print server, to the setting data memory in response to the printer identification information for instructing the setting of the setting data for the print server together with the print data. It is characterized by

【0009】この発明のプリントサーバのデータ設定方
法及びプリントサーバでは、通常、ポートに接続されて
いるプリンタを識別する情報としてのプリンタ識別情報
がファイルデータとともに端末からプリントサーバへロ
ーカルエリアネットワークを介して伝送されるこれによ
り、プリントサーバではプリンタ識別情報に応じたポー
トへ、加工されたまたはそのままのファイルデータが出
力され、そのポートに接続されているプリンタがプリン
トアウト動作を行う。しかし、プリントサーバ用の設定
データの設定を指示する情報としてのプリンタ識別情報
が端末からプリントサーバへ伝送されたとき、それに付
加されているファイルデータが設定データ用メモリへ書
き込まれる。従って端末では、プリントサーバ用の設定
データをファイルデータとして作成し、データの設定を
指示する情報としてのプリンタ識別情報を指定して、通
常のファイルデータをプリント出力する場合と同様のコ
マンドを実行するだけで、プリントサーバの設定データ
を容易に設定することが可能となる。
In the print server data setting method and the print server of the present invention, the printer identification information as information for identifying the printer connected to the port is normally sent from the terminal to the print server together with the file data via the local area network. As a result of the transmission, the print server outputs the processed or unprocessed file data to the port corresponding to the printer identification information, and the printer connected to the port performs the printout operation. However, when the printer identification information as information for instructing the setting of the setting data for the print server is transmitted from the terminal to the print server, the file data added thereto is written in the setting data memory. Therefore, the terminal creates the setting data for the print server as file data, specifies the printer identification information as the information for instructing the data setting, and executes the same command as when printing out the normal file data. Only by doing so, it becomes possible to easily set the setting data of the print server.

【0010】[0010]

【発明の実施の形態】この発明の第1の実施形態である
プリントサーバを用いたシステムの構成を図1〜図5を
基に以下説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The configuration of a system using a print server according to a first embodiment of the present invention will be described below with reference to FIGS.

【0011】図1は端末とプリントサーバの接続形態の
一例を示す図である。同図において1はイーサネットケ
ーブルを用いたローカルエリアネットワークであり、こ
のケーブルに端末2a,2bおよびプリントサーバ3な
どを接続している。プリントサーバ3の出力ポートには
4a,4b・・・4nで示す複数のプリンタを接続して
いる。
FIG. 1 is a diagram showing an example of a connection form between a terminal and a print server. In the figure, 1 is a local area network using an Ethernet cable, to which terminals 2a and 2b, a print server 3 and the like are connected. A plurality of printers 4a, 4b ... 4n are connected to the output port of the print server 3.

【0012】図2は端末の構成を示すブロック図であ
る。同図において、マイクロプロセッサユニット40は
ROM41に予め書き込まれているプログラムおよびR
AM42にロードされたプログラムを実行する。マイク
ロプロセッサユニット40はインタフェース43を介し
てハードディスク装置44に対しデータおよびプログラ
ムの読み書きを行い、またインタフェース45を介して
フロッピーディスクドライブ装置46に対しデータおよ
びプログラムの読み書きを行う。またインタフェース4
7を介してキーボード50の操作内容を読み取り、イン
タフェース48を介してCRTなどの表示装置51に対
し表示を行う。さらに通信インタフェース49を介して
ローカルエリアネットワークとの間で通信制御を行う。
FIG. 2 is a block diagram showing the configuration of the terminal. In the figure, the microprocessor unit 40 includes a program and R written in the ROM 41 in advance.
The program loaded in the AM 42 is executed. The microprocessor unit 40 reads / writes data and programs from / to the hard disk drive 44 via the interface 43, and reads / writes data / programs from / from the floppy disk drive 46 via the interface 45. Interface 4
The operation content of the keyboard 50 is read via 7 and displayed on the display device 51 such as a CRT via the interface 48. Further, communication control is performed with the local area network via the communication interface 49.

【0013】図3はプリントサーバの構成を示し、マイ
クロプロセッサユニット60はROM61に予め書き込
まれているプログラムを実行する。RAM62はプリン
トデータの記憶およびその加工の際のワーキングエリア
として用いる。NV−RAM65はEE−PROMなど
による不揮発性メモリであり、このメモリの一部を後述
する設定データ用メモリとして用いる。マイクロプロセ
ッサユニット60はインタフェース63を介して複数の
プリンタに対しプリントデータを出力する。また通信イ
ンタフェース64を介してローカルエリアネットワーク
との間で通信制御を行う。
FIG. 3 shows the configuration of the print server, and the microprocessor unit 60 executes the program previously written in the ROM 61. The RAM 62 is used as a working area for storing print data and processing the print data. The NV-RAM 65 is a non-volatile memory such as an EE-PROM, and a part of this memory is used as a setting data memory described later. The microprocessor unit 60 outputs print data to a plurality of printers via the interface 63. It also controls communication with the local area network via the communication interface 64.

【0014】次に、端末がプリントサーバを用いてプリ
ント出力またはプリントサーバ用の設定データの設定を
行う際の、端末とプリントサーバのデータ処理方法を図
4および図5を基に説明する。
Next, a data processing method of the terminal and the print server when the terminal prints out or sets the setting data for the print server using the print server will be described with reference to FIGS. 4 and 5.

【0015】図4はプリントサーバと端末における機能
を表すブロック図である。同図において、端末2には、
プリントサーバ用設定データのファイル21とプリント
出力すべきファイル22を作成している。端末2のリモ
ートプリントプログラムlpr23はファイル21のデ
ータまたはファイル22のデータをリモートプリントデ
ーモンプログラムlpd24へ送る。リモートプリント
デーモンプログラムlpd24はそのプリントデータを
ネットワークを介してプリントサーバ3のリモートプリ
ントデーモンプログラムlpd31に対して送出する。
プリントサーバ3のリモートプリントデーモンプログラ
ム31はプリントデータを受け取ってその内容に応じた
処理を行う。プリントサーバ3において設定データ用メ
モリ32は各種設定データを記憶するメモリであり、図
3に示した不揮発性メモリ65の一部に相当する。設定
データは、プリンタ名、フィルタの種別および出力ポー
トの番号からなる、本願発明に係るプリンタ情報記憶手
段に相当するテーブルやインターネットアドレスなどで
ある。またプリントサーバ3においてフィルタ33a,
33b・・・33nは受け取ったファイルデータをプリ
ンタに応じた必要な形式のプリントデータに加工するフ
ィルタプログラムの実行手段である。また出力ポート3
4a,34b・・・34nはプリンタ4a,4b・・・
4nがそれぞれ接続されて、プリンタに対してプリント
データを出力するポートである。
FIG. 4 is a block diagram showing the functions of the print server and the terminal. As shown in FIG.
A file 21 of print server setting data and a file 22 to be printed out are created. The remote print program lpr23 of the terminal 2 sends the data of the file 21 or the data of the file 22 to the remote print daemon program lpd24. The remote print daemon program lpd24 sends the print data to the remote print daemon program lpd31 of the print server 3 via the network.
The remote print daemon program 31 of the print server 3 receives the print data and performs processing according to the content. In the print server 3, the setting data memory 32 is a memory for storing various setting data and corresponds to a part of the non-volatile memory 65 shown in FIG. The setting data is, for example, a table including a printer name, a filter type, and an output port number, which corresponds to the printer information storage unit according to the present invention, and an Internet address. In the print server 3, the filter 33a,
Reference numerals 33b ... 33n are filter program executing means for processing the received file data into print data of a required format corresponding to the printer. Also output port 3
4a, 34b ... 34n are printers 4a, 4b ...
Ports 4n are connected to each other to output print data to the printer.

【0016】図5はプリントサーバ3における処理内容
を示すフローチャートである。プリントサーバ3では端
末からの操作によるコマンドを解析し、プリントコマン
ドであれば上記テーブルを参照し、プリントコマンドの
引数の1つであるプリンタ名が通常のプリンタ名であれ
ば、プリントコマンドの他の引数であるファイルのファ
イルデータに対してフィルタリングを行い、プリントデ
ータを出力する。また、プリントコマンドの引数の1つ
であるプリンタ名がプリントサーバ用設定データを設定
するためのプリンタ名であれば、プリントコマンドの他
の引数であるファイルのファイルデータを設定データ用
メモリ32へ書き込む。例えば図4において、端末2か
らプリント用ファイル22(ファイルa)をプリンタ4
a(プリンタa)で印刷するプリント要求コマンドとし
て“lpr −Pプリンタa ファイルa”というコマ
ンド(ここで“lpr”はプリント出力要求コマンドの
コマンド名、“−Pプリンタ名”および“ファイル名”
はプリント出力要求コマンドの引数である。)を実行す
れば、リモートプリントプログラムlpr23、リモー
トプリントデーモンプログラムlpd24および31の
作用により、プリントサーバ3では、上記テーブルが参
照されて、フィルタaを介して、すなわちフィルタaの
フィルタプログラムが実行されて、受け取ったプリント
用ファイルのデータが加工され、それが出力ポートaか
らプリンタaへ出力される。
FIG. 5 is a flowchart showing the processing contents in the print server 3. The print server 3 analyzes the command by the operation from the terminal, refers to the above table for the print command, and if the printer name, which is one of the arguments of the print command, is the normal printer name, other print commands Filter the file data of the file that is an argument and output the print data. If the printer name, which is one of the arguments of the print command, is the printer name for setting the print server setting data, the file data of the file that is another argument of the print command is written to the setting data memory 32. . For example, in FIG. 4, the print file 22 (file a) is transferred from the terminal 2 to the printer 4
As a print request command for printing with a (printer a), a command "lpr -P printer a file a" (where "lpr" is the command name of the print output request command, "-P printer name" and "file name")
Is an argument of the print output request command. ) Is executed, the print server 3 refers to the above table by the action of the remote print program lpr23 and the remote print daemon programs lpd24 and 31, and executes the filter program of the filter a, that is, the filter a. The received print file data is processed and output from the output port a to the printer a.

【0017】また、端末2から設定データファイル21
(ファイルo)を設定データの設定指示用に予め定めら
れた特別なプリンタ名(ここではプリンタoとする。)
で印刷するプリント要求コマンド“lpr −Pプリン
タo ファイルo”を実行すれば、リモートプリントプ
ログラムlpr23、リモートプリントデーモンプログ
ラムlpd24および31の作用により、プリントサー
バではこのコマンドの実行に対応して、設定データファ
イル(ファイルo)のデータが設定データ用メモリ32
に書き込まれる。これによってプリントサーバ用設定デ
ータの設定を行う。
The setting data file 21 from the terminal 2
The (file o) is a special printer name that is predetermined for setting the setting data (here, it is referred to as printer o).
If the print request command "lpr -P printer o file o" for printing is executed, the print server responds to the execution of this command by the action of the remote print program lpr23 and remote print daemon programs lpd24 and 31. The data of the file (file o) is the setting data memory 32.
Is written to. This sets the print server setting data.

【0018】次に、この発明の第2の実施形態に係る端
末とプリントサーバのデータ処理方法を図6および図7
を基に説明する。
Next, the data processing method of the terminal and the print server according to the second embodiment of the present invention will be described with reference to FIGS. 6 and 7.
This will be described based on FIG.

【0019】図6はプリントサーバと端末における機能
を表すブロック図である。同図において、端末2は、フ
ァイル転送プロトコルプログラムftp25を実行する
手段を備え、プリントサーバ3にはファイル転送プロト
コルプログラムftp25によってリモートログインす
るファイル転送プロトコルデーモンプログラムftpd
35の実行手段を備えている。端末2は例えばUNIX
マシーンであり、TCP/IP系のファイル転送プロト
コルFTPを利用する。プリントサーバ3において設定
データ用メモリ32、フィルタ33a,33b・・・3
3nおよび出力ポート34a,34b・・・34nの構
成は図4に示したものと同様である。
FIG. 6 is a block diagram showing the functions of the print server and the terminal. In the figure, the terminal 2 includes means for executing a file transfer protocol program ftp25, and a file transfer protocol daemon program ftpd for performing remote login to the print server 3 by the file transfer protocol program ftp25.
35 execution means are provided. The terminal 2 is, for example, UNIX
It is a machine and uses the TCP / IP type file transfer protocol FTP. In the print server 3, the setting data memory 32, the filters 33a, 33b ... 3
3n and the output ports 34a, 34b ... 34n have the same configurations as those shown in FIG.

【0020】図7はプリントサーバ3における処理内容
を示すフローチャートである。プリントサーバ3では端
末からの転送先ファイル名が通常のプリンタ名であれ
ば、ファイルデータに対してフィルタリングを行い、プ
リントデータを出力する。また、転送先ファイル名が設
定データ設定用のプリンタ名であれば、ファイルデータ
を設定データ用メモリ32へ書き込む。図6において、
プリントサーバ3のファイル転送プロトコルデーモンプ
ログラムftpd35は常に動作していて、端末2のフ
ァイル転送プロトコルプログラムftp25の実行によ
りまずリモートログインする。端末2は、ファイル転送
プロトコル(ftp)プログラムのlsコマンド(ファ
イルディレクトリ内容表示コマンド)の実行により、フ
ァイル転送プロトコルプログラムftp25およびファ
イル転送プロトコルデーモンプログラムftpd35の
作用により、プリントサーバ3は設定データ用メモリ3
2内のプリンタ名をファイル名として、設定データの設
定指示用のプリンタ名(ここではプリンタoとする。)
とともにファイル名情報を端末2へ転送する。これによ
り端末2ではプリントサーバ3で使用するファイル名
(プリンタ名)を知る。その後、端末2ではファイル転
送プロトコル(ftp)プログラムのputコマンド
(ファイル転送コマンド)によって、プリントすべきプ
リント用ファイル22(ファイルa)を目的のプリンタ
名、例えば“プリンタa”で表されるファイルに書き込
む。このことにより、ファイル転送プロトコル(ft
p)プログラムは、プリント用ファイル(ファイルa)
をプリントサーバ3の前記プリンタ名がファイル名であ
るプリントファイルに転送する。プリントサーバ3はテ
ーブルを参照して、受け取ったファイルaのデータを対
応するフィルタaによってプリントデータの加工を行
い、対応する出力ポートaへプリントデータを出力す
る。
FIG. 7 is a flowchart showing the processing contents in the print server 3. If the transfer destination file name from the terminal is a normal printer name, the print server 3 filters the file data and outputs the print data. If the transfer destination file name is the printer name for setting the setting data, the file data is written in the setting data memory 32. In FIG.
The file transfer protocol daemon program ftpd35 of the print server 3 is always operating, and the file transfer protocol program ftp25 of the terminal 2 is executed to log in first. The terminal 2 executes the ls command (file directory contents display command) of the file transfer protocol (ftp) program, and the print server 3 operates by the operations of the file transfer protocol program ftp25 and the file transfer protocol daemon program ftpd35.
The printer name in 2 is used as the file name, and the printer name for instructing the setting of the setting data (here, printer o)
At the same time, the file name information is transferred to the terminal 2. As a result, the terminal 2 knows the file name (printer name) used by the print server 3. After that, the terminal 2 uses the put command (file transfer command) of the file transfer protocol (ftp) program to change the print file 22 (file a) to be printed to the file represented by the target printer name, for example, “printer a”. Write. This allows the file transfer protocol (ft
p) The program is a print file (file a)
Is transferred to the print file of the print server 3 whose printer name is the file name. The print server 3 refers to the table, processes the print data of the received data of the file a by the corresponding filter a, and outputs the print data to the corresponding output port a.

【0021】ここで、端末2がファイル転送プロトコル
(ftp)プログラムのputコマンドによって、設定
すべき設定データファイル(ファイルo)を設定データ
の設定指示用のプリンタ名で表されるファイル(プリン
タo)に書き込めば、ファイル転送プロトコルプログラ
ムftp25およびファイル転送プロトコルデーモンプ
ログラムftpd35の作用によって、設定データファ
イル(ファイルo)のデータが設定データ用メモリ32
に書き込まれる。このことによってプリントサーバ用設
定データの設定を行う。
Here, the terminal 2 uses the put command of the file transfer protocol (ftp) program to set the setting data file (file o) to be set by the printer name for instructing the setting of the setting data (printer o). If the data is written in, the data of the setting data file (file o) is transferred to the setting data memory 32 by the action of the file transfer protocol program ftp25 and the file transfer protocol daemon program ftpd35.
Is written to. This sets the print server setting data.

【0022】次に、この発明の第3の実施形態に係る端
末とプリントサーバのデータ処理方法を図8を基に説明
する。図8において、端末2はプリントサーバ3のファ
イルディレクトリを自身のファイルディレクトリの一部
として結合(マウント)するネットワークファイルシス
テムプログラムnfs26の実行手段を備え、プリント
サーバ3は、そのファイルディレクトリを端末2のファ
イルディレクトリの一部としてマウントさせるためのネ
ットワークファイルシステムデーモンプログラムnfs
d36の実行手段を備えている。端末2は例えばUNI
Xマシンであり、TCP/IPアプリケーションの一つ
であるネットワークファイルシステム“NFS”を利用
する。このネットワークファイルシステムは、他のマシ
ン上のファイルディレクトリを自身のファイルディレク
トリにマウントでき、ユーザはあたかもローカル(プリ
ントサーバのファイルシステム)にあるかのように、そ
のファイルへアクセスすることができる。プリントサー
バ3において設定データ用メモリ32、フィルタ33
a,33b・・・33nおよび出力ポート34a,34
b・・・34nの構成は図4に示したものと同様であ
る。
Next, a data processing method of the terminal and the print server according to the third embodiment of the present invention will be described with reference to FIG. In FIG. 8, the terminal 2 is provided with an execution unit of a network file system program nfs26 that couples (mounts) the file directory of the print server 3 as a part of its own file directory. Network file system daemon program nfs to mount as part of file directory
The execution means of d36 is provided. The terminal 2 is, for example, UNI
It is an X machine and uses a network file system "NFS" which is one of TCP / IP applications. This network file system can mount a file directory on another machine to its own file directory, and the user can access the file as if it were local (the print server's file system). In the print server 3, the setting data memory 32 and the filter 33
a, 33b ... 33n and output ports 34a, 34
The configuration of b ... 34n is the same as that shown in FIG.

【0023】上記プリントサーバ3における処理内容は
図7に示したものと同様である。図8において、プリン
トサーバ3のネットワークファイルシステムデーモンプ
ログラムnfsd36と端末2のネットワークファイル
システムプログラムnfs26の作用により、プリント
サーバ3のファイルディレクトリが端末2のファイルデ
ィレクトリにマウントされる。端末2は、ファイルの書
き込みコマンドによって、プリントデータのファイル
を、テーブルに登録されている目的のプリンタ名で表さ
れている一つのファイルに書き込む。このことにより、
ネットワークファイルシステムプログラムnfs26
は、プリントデータのファイルをプリントサーバ3の前
記プリンタ名がファイル名であるプリントファイルに転
送する。プリントサーバ3は、受け取ったファイルデー
タを上記テーブルを参照して、対応するフィルタプログ
ラムによって、プリントデータの加工を行い、対応する
出力ポート名の出力ポートへプリントデータを出力す
る。
The processing contents in the print server 3 are the same as those shown in FIG. In FIG. 8, the file directory of the print server 3 is mounted on the file directory of the terminal 2 by the action of the network file system daemon program nfsd36 of the print server 3 and the network file system program nfs26 of the terminal 2. The terminal 2 writes the file of print data into one file represented by the target printer name registered in the table by the file write command. This allows
Network file system program nfs26
Transfers the print data file to a print file of the print server 3 whose printer name is the file name. The print server 3 refers to the table for the received file data, processes the print data by the corresponding filter program, and outputs the print data to the output port having the corresponding output port name.

【0024】上記プリントサーバ3のファイルディレク
トリには設定データ設定指示用のプリンタ名、例えば
“プリンタo”がファイル名として存在していて、端末
2がファイルの書き込みコマンドによって、設定データ
ファイル(ファイルo)を上記設定データの設定指示用
のプリンタ名で表されるファイル“プリンタo”に書き
込めば、ネットワークファイルシステムプログラムnf
s26およびネットワークファイルシステムデーモンプ
ログラムnfsd36の作用により、設定データファイ
ル(ファイルo)のデータが設定データ用メモリ32に
書き込まれる。このことによってプリントサーバ用設定
データの設定を行う。
A printer name for setting data setting instruction, for example, "printer o" exists in the file directory of the print server 3 as a file name, and the terminal 2 sends a setting data file (file o) by a file write command. ) Is written to the file "printer o" represented by the printer name for setting the above setting data, the network file system program nf
By the action of s26 and the network file system daemon program nfsd36, the data of the setting data file (file o) is written in the setting data memory 32. This sets the print server setting data.

【0025】[0025]

【発明の効果】この発明の請求項1に係るプリントサー
バのデータ設定方法および請求項2に係るプリントサー
バによれば、プリントサーバ用設定データの設定を指示
する情報としてのプリンタ識別情報が端末からプリント
サーバへ伝送されたとき、それに付加されているファイ
ルデータが設定データ用メモリへ書き込まれる。従って
端末では、設定データをファイルデータとして作成し、
設定データの設定を指示する情報としてのプリンタ識別
情報を指定して、通常のファイルデータをプリント出力
する場合と同様のコマンドを実行するだけで、プリント
サーバ用の設定データを容易に設定することが可能とな
る。
According to the data setting method of the print server according to the first aspect of the present invention and the print server according to the second aspect, the printer identification information as the information for instructing the setting of the print server setting data is transmitted from the terminal. When transmitted to the print server, the file data added thereto is written in the setting data memory. Therefore, on the terminal, create the setting data as file data,
Setting data for the print server can be easily set by simply specifying the printer identification information as the information for setting the setting data and executing the same command as when printing out normal file data. It will be possible.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の第1の実施形態に係るプリントサー
バの接続形態を示す図である。
FIG. 1 is a diagram showing a connection form of a print server according to a first embodiment of the present invention.

【図2】端末のハードウェア構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a hardware configuration of a terminal.

【図3】プリントサーバのハードウェア構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a hardware configuration of a print server.

【図4】第1の実施形態に係るプリントサーバとそれに
接続される端末の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a print server according to the first embodiment and terminals connected to the print server.

【図5】第1の実施形態に係るプリントサーバにおける
処理内容を示すフローチャートである。
FIG. 5 is a flowchart showing processing contents in the print server according to the first embodiment.

【図6】第2の実施形態に係るプリントサーバとそれに
接続される端末の構成を示すブロック図である。
FIG. 6 is a block diagram showing the configurations of a print server and terminals connected to the print server according to the second embodiment.

【図7】第2および第3の実施形態に係るプリントサー
バにおける処理内容を示すフローチャートである。
FIG. 7 is a flowchart showing processing contents in the print server according to the second and third embodiments.

【図8】第3の実施形態に係るプリントサーバとそれに
接続される端末の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a print server according to a third embodiment and terminals connected to the print server.

【図9】従来のプリントサーバのデータ設定方法を示す
ブロック図である。
FIG. 9 is a block diagram showing a conventional data setting method of a print server.

【符号の説明】[Explanation of symbols]

1−ネットワーク 2−端末 3−プリントサーバ 4−プリンタ 25−ファイル転送プロトコルプログラム 26−ネットワークファイルシステムプログラム 35−ファイル転送プロトコルデーモンプログラム 36−ネットワークファイルシステムデーモンプログラ
ム 65−不揮発性メモリ
1-Network 2-Terminal 3-Print Server 4-Printer 25-File Transfer Protocol Program 26-Network File System Program 35-File Transfer Protocol Daemon Program 36-Network File System Daemon Program 65-Nonvolatile Memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ローカルエリアネットワークに接続され
た端末からプリントサーバへプリンタ識別情報およびフ
ァイルデータを伝送し、プリントサーバで、前記プリン
タ識別情報がポートに接続されているプリンタを識別す
る情報であるとき、該当するポートへ前記ファイルデー
タを加工してまたはそのまま出力し、前記プリンタ識別
情報がプリントサーバ用の設定データの設定を指示する
情報であるとき、ファイルデータを設定データ用メモリ
へ書き込むことを特徴とするプリントサーバのデータ設
定方法。
1. When printer identification information and file data are transmitted from a terminal connected to a local area network to a print server and the print server identifies the printer identification information as information identifying a printer connected to a port. , Processing the file data to a corresponding port or outputting the file data as it is, and writing the file data to the setting data memory when the printer identification information is information instructing the setting of the setting data for the print server. How to set the print server data.
【請求項2】 プリントすべきファイルデータをプリン
トサーバへ伝送する手段を備える端末が接続されたロー
カルエリアネットワークに接続される、設定データ用メ
モリを備えるプリントサーバにおいて、 各プリンタの識別情報とそれらのプリンタが接続されて
いるポートとの関係を設定記憶するプリンタ情報記憶手
段と、出力すべきファイルデータおよびプリンタの識別
情報を受けて前記プリンタ識別情報に対応するポートへ
前記ファイルデータを加工してまたはそのまま出力する
プリントデータ出力手段と、プリントサーバ用の設定デ
ータであるファイルデータとともにプリントサーバ用の
設定データの設定を指示するプリンタ識別情報を受け
て、前記プリントサーバ用の設定データであるファイル
データを設定データ用メモリへ書き込むプリントサーバ
用設定データ書込手段とを設けたことを特徴とするプリ
ントサーバ。
2. In a print server having a memory for setting data, which is connected to a local area network to which a terminal having means for transmitting file data to be printed to the print server is connected, identification information of each printer and their identification information are stored. Printer information storage means for setting and storing the relationship with the port to which the printer is connected, and receiving the file data to be output and printer identification information, processing the file data to a port corresponding to the printer identification information, or Print data output means for outputting as it is, and file data which is setting data for the print server and printer identification information for instructing setting of the setting data for the print server are received, and file data which is the setting data for the print server is received. Write to setting data memory Print server, characterized in that a and setting data writing means for continuously print server.
JP7279011A 1995-10-26 1995-10-26 Data setting method for print server, and print server Pending JPH09120346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7279011A JPH09120346A (en) 1995-10-26 1995-10-26 Data setting method for print server, and print server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7279011A JPH09120346A (en) 1995-10-26 1995-10-26 Data setting method for print server, and print server

Publications (1)

Publication Number Publication Date
JPH09120346A true JPH09120346A (en) 1997-05-06

Family

ID=17605164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7279011A Pending JPH09120346A (en) 1995-10-26 1995-10-26 Data setting method for print server, and print server

Country Status (1)

Country Link
JP (1) JPH09120346A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7061633B1 (en) 1999-01-20 2006-06-13 Seiko Epson Corporation Printer and network printing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7061633B1 (en) 1999-01-20 2006-06-13 Seiko Epson Corporation Printer and network printing system

Similar Documents

Publication Publication Date Title
EP1357467B1 (en) Remote creation of printer instances on a workstation
US6240456B1 (en) System and method for collecting printer administration information
US8412854B2 (en) Secure communication port redirector
US7970866B2 (en) Print system including application server to select printer driver for client specific print information
US20030182363A1 (en) Providing private network local resource access to a logically remote device
JPH08505969A (en) Virtual printer
US7426549B2 (en) Mechanism for sharing web-based imaging information from a mainframe computing environment
US20070199065A1 (en) Information processing system
JPH11316658A (en) Printer
JP2000357131A (en) Electronic equipment control system using communication protocol
US20010054088A1 (en) Method of managing download in network system
US20070229884A1 (en) Printer/storage integrated system, controller, control method, control program
CN100361089C (en) Error-processing system and method for printers
JP2002373064A (en) Printer and information processor
JP4045800B2 (en) Printing system and method
JPH09120346A (en) Data setting method for print server, and print server
JPH07200201A (en) Printer server device
JP2518501B2 (en) Print server device
JPH11143662A (en) Printer device
JPH06161677A (en) Print server device
JP3239703B2 (en) Data transfer system, data processing device, printer, and data transfer method
JPH09128172A (en) Printer server
JP2000242448A (en) Print parameter registration system for printer
JP2000010922A (en) Job start method and system for computer network and recording medium recording programmed job start method
JP4641392B2 (en) Control device, communication processing method, and program