Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Система";
Текущий архив: 2002.06.06;
Скачать: [xml.tar.bz2];

Вниз

Запуск приложения при начале работы принтера...   Найти похожие ветки 

 
Heruvim4ik   (2002-03-11 22:33) [0]

Можно ли сделать так. чтоб прога запускалась в тот момент, когда на печать отправляют что-нибудь? (или лучше какой-то конкретный документ)
Заранее благодарен


 
Vogul   (2002-03-12 10:30) [1]

FindFirstPrinterChangeNotification
FindNextPrinterChangeNotification


 
heruvim4ik   (2002-03-12 15:25) [2]

а подробнее?


 
VuDZ   (2002-03-13 11:07) [3]

FindFirstPrinterChangeNotification
The FindFirstPrinterChangeNotification function creates a change notification object and returns a handle to the object. You can then use this handle in a call to one of the wait functions to monitor changes to the printer or print server.

The FindFirstPrinterChangeNotification call specifies the type of changes to be monitored. You can specify a set of conditions to monitor for changes, a set of printer information fields to monitor, or both.

A wait operation on the change notification handle succeeds when one of the specified changes occurs in the specified printer or print server. You then call the FindNextPrinterChangeNotification function to retrieve information about the change, and to reset the change notification object for use in the next wait operation.

ставишь флаг PRINTER_CHANGE_JOB
потом на олученный handle WaitForSingleObject()
а потом узнаёшь что произошло. Только лучше держи свою прогу всегда работающей



Страницы: 1 вся ветка

Форум: "Система";
Текущий архив: 2002.06.06;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.007 c
14-18150
МИФИст
2002-05-04 12:43
2002.06.06
Не по Дельфям


1-18006
radisheva
2002-05-24 10:30
2002.06.06
Типы данных


1-17930
MaD
2002-05-25 16:02
2002.06.06
Слхранение функции


6-18077
Yuri Pipchenko
2002-03-25 14:26
2002.06.06
Telnet-клиент


14-18140
IGOREK
2002-04-28 05:49
2002.06.06
А мне не нравятся правила бойцовского клуба!!!





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский