Модераторы: marykone

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> Подскажите как организовать работу сканера в LAN, Сканер в локальной сети 
:(
    Опции темы
DENNN
Дата 9.12.2004, 13:24 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
****


Профиль
Группа: Участник Клуба
Сообщений: 3878
Регистрация: 27.3.2002
Где: Москва

Репутация: 10
Всего: 43



mika
Возьми тогда отдельны тазик под сканер - будет не рабочее место, а именно комп для сканера. Все равно ты с бумагами туда-сюда бегать будешь, как ни крути.
PM ICQ   Вверх
Alex1984
Дата 22.5.2007, 15:40 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 299
Регистрация: 6.3.2005
Где: Киев

Репутация: нет
Всего: 2



Нужно подключить сканер МФУшки CANON MP510 к сети. Подскажите как это сделать. НУЖНО
PM MAIL WWW ICQ   Вверх
Glip
Дата 22.5.2007, 23:15 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 473
Регистрация: 30.12.2006

Репутация: нет
Всего: 18



все дружно переходим на Inferno smile там нет таких проблем, только с драйверами и юзабилити (для тех кто очень привык к обычным окнам)
монтирование и работа с уделенными устройствами на примере цифровой камеры:
Цитата

What follows is a step-by-step example using commands but, obviously, graphics would be used in a
consumer interface.

Step One - mount the different name spaces
The ‘namespace’ for each device is first of all mounted under a mount point on the machine that is to run
the application (in our case the PC). The mount point is /n/remote. Each mount specifies the type of
network (TCP in this case), the IP address and the port. The network type can be left out, and in these
examples the port is left off, defaulting to ‘Styx’ of course! At each of the IP addresses and ports specified
there must be a process that serves the Styx protocol.

mount tcp!182.1.1.2 /n/remote/vcr
mount tcp!182.1.1.3 /n/remote/camera

Step Two - bind the namespaces together
These name spaces are then bound into the name space that our application expects to see
/homenetwork.

bind -a /n/remote/vcr /homenetwork/vcr
bind -a /n/remote/camera /homenetwork/camera
bind -a ‘#Uc:/MyPhotos’/homenetwork/MyPhotos

The last bind command binds part of the Windows files system into the /homenetwork namespace. The
convention is that the # introduces a reference to a local device, in this case the U specifies the host OS
file system and the remainder of the text indicates a path within the host file system.

Step Three - run the application from the PC
In fact lets write the application using a shell script.

echo ‘record single frame’ > /homenetwork/vcr/ctl
echo ‘picture type jpg’ > /homenetwork/camera/ctl
while : ; do
echo ‘snap’ > /homenetwork/camera/ctl
photo=‘cat /homenetwork/status’
cp /homenetwork/camera/photos/$photo.jpg /homenetwork/MyPhotos
cp /homenetwork/camera/photos/$photo.jpg /homenetwork/vcr/data
echo ‘next frame’ > /homenetwork/vcr/ctl
echo ‘delete $photo’ > /homenetwork/camera/ctl
sleep 10
done
echo ‘record off’ > /homenetwork/vcr/ctl
echo ‘rewind’ > /homenetwork/vcr/ctl

This script initializes the camera and VCR and then it enters a loop that involves taking a photo, copying it
to the local store and the VCR and then pausing for 10 seconds before repeating the process again.
What you notice from this script is that the application operates on the namespace as if it were a
collection of files. As far as the application is concerned the namespace is indistinguishable from physical files
on the local machine. What you will also notice is that commands are written as text into these files, for
example:

echo ‘snap’ > /homenetwork/camera/ctl

The commands do not have to be text but there are advantages:

text is easy to read

scripting can be used to implement programs
The camera and VCR need to interpret the commands sent and to interact with the physical hardware,
but this would be true no matter what scheme were used. The advantage of the Inferno architecture is
that the commands to control the device are separated from the protocol for communication.
Extensions to the command set to control the device do not require modifications to the Styx
communication protocol.

Step 4 - run the application from the IPAQ
This is a trivial change for Inferno. In fact the application remains exactly the same whilst the initial
mount and binds are modified as follows:

mount 182.1.1.2 /n/remote/vcr
mount 182.1.1.3 /n/remote/camera
mount 182.1.1.3 /n/remote/ipaq
bind -a /n/remote/vcr /homenetwork/vcr
bind -a /n/remote/camera /homenetwork/camera
bind -a /n/remote/ipaq/MyPhotos /homenetwork/MyPhotos

As long as the application is presented with the same namespace it will operate on it regardless of where
the resources are located.

Step 5 - run on the iPAQ store on PC
Again there are no code changes at all in the application, it does not even have to be recompiled.
The namespace on the iPAQ will be composed as follows with the /MyPhotos directory coming from
the PC this time.

mount 182.1.1.2 /n/remote/vcr
mount 182.1.1.3 /n/remote/camera
mount 182.1.1.4 /n/remote/pc
bind -a /n/remote/vcr /homenetwork/vcr
bind -a /n/remote/camera /homenetwork/camera
bind -a /n/remote/pc/MyPhotos /homenetwork/MyPhotos

и так по ходу с любым устройством smile

smile где бы надыбать комерческую версию. 250$ жалко smile



--------------------
user posted image
PM MAIL   Вверх
Alex1984
Дата 23.5.2007, 21:21 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 299
Регистрация: 6.3.2005
Где: Киев

Репутация: нет
Всего: 2



ОЙ, ничего не понимать.. 
Inferno так понимаю другая операционка...
А как сделать это под виндой???  smile Уся надежда сюда. 
PM MAIL WWW ICQ   Вверх
Alex1984
Дата 30.5.2007, 09:48 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 299
Регистрация: 6.3.2005
Где: Киев

Репутация: нет
Всего: 2



так никто ничего и не скажет?
PM MAIL WWW ICQ   Вверх
marykone
Дата 30.5.2007, 11:27 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
****


Профиль
Группа: Комодератор
Сообщений: 2722
Регистрация: 2.5.2006
Где: Краснодар

Репутация: 24
Всего: 67



Alex1984, нельзя такое замутить вот тебе никто ничего не говорит


--------------------
получил ответ, пометь вопрос как решенный (правый верхний угол вашей темы).

PM   Вверх
marykone
Дата 30.5.2007, 12:19 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
****


Профиль
Группа: Комодератор
Сообщений: 2722
Регистрация: 2.5.2006
Где: Краснодар

Репутация: 24
Всего: 67



Alex1984, нельзя такое замутить вот тебе никто ничего не говорит


--------------------
получил ответ, пометь вопрос как решенный (правый верхний угол вашей темы).

PM   Вверх
Ответ в темуСоздание новой темы Создание опроса
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Сетевые технологии | Следующая тема »


 




[ Время генерации скрипта: 0.0713 ]   [ Использовано запросов: 20 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.