Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.06.06;
Скачать: CL | DM;

Вниз

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

 
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;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.013 c
1-17887
Arhangel
2002-05-27 11:07
2002.06.06
Drag&drop


14-18129
lipskiy
2002-04-30 14:07
2002.06.06
UBPFD: Надо бы ввести новое поле... Как это лучше организовать?


14-18103
Ajax
2002-04-27 20:54
2002.06.06
Выбор винта для загрузки.


1-17998
Alex_2
2002-05-24 09:57
2002.06.06
никто толком сказать не может


3-17844
kserg@ukr.net
2002-05-15 12:22
2002.06.06
MSSQL-как можно число превратить в строку с ведущими нулями?