Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to run sample files Pin
tom4_254-Oct-08 17:54
tom4_254-Oct-08 17:54 
AnswerRe: how to run sample files Pin
CPallini4-Oct-08 21:46
mveCPallini4-Oct-08 21:46 
GeneralRe: how to run sample files Pin
tom4_255-Oct-08 2:16
tom4_255-Oct-08 2:16 
GeneralRe: how to run sample files Pin
CPallini5-Oct-08 7:46
mveCPallini5-Oct-08 7:46 
GeneralRe: how to run sample files Pin
Hamid_RT6-Oct-08 1:52
Hamid_RT6-Oct-08 1:52 
QuestionHow to assign the value of a default argument for a ActiveX method Pin
followait4-Oct-08 16:31
followait4-Oct-08 16:31 
AnswerRe: How to assign the value of a default argument for a ActiveX method Pin
User 2155974-Oct-08 21:12
User 2155974-Oct-08 21:12 
QuestionGetting Printer DC's Pin
Bram van Kampen4-Oct-08 13:06
Bram van Kampen4-Oct-08 13:06 
My App (essentially a Cash Register App) prints during the course of a transaction to a number of Printers. AuditJournal ,Receipts , Labels, Statements. The printers may all be identical makes and models, and are connected via the USB Port. The End User may at will 're-organise' the USB Field Wiring (although hopefully not while a printjob is in progress).
The End User may also 'forget' to plug cables back in.

I need to get a DC for each printer. and I do NOT want to use:
CPrintDialog::DoModal(). The latter would give the End User's employee the chance to send the Audit Journal Print job to say, the Label Printer.

This question is not about how to print as such, have done that many a time!

Now,
-How do I create a DC to a Specified Printer without CPrintDialog::DoModal();
-How do I Differentiate between the printers.
-Is it possible to determine in advance, if say the AuditJournal Printer is actually Plugged In, Switched on, and contains Paper before a transaction Starts.


Regards Smile | :) Smile | :)

Bram van Kampen

AnswerRe: Getting Printer DC's Pin
PJ Arends4-Oct-08 15:22
professionalPJ Arends4-Oct-08 15:22 
GeneralRe: Getting Printer DC's Pin
Bram van Kampen5-Oct-08 1:43
Bram van Kampen5-Oct-08 1:43 
GeneralRe: Getting Printer DC's Pin
PJ Arends5-Oct-08 6:59
professionalPJ Arends5-Oct-08 6:59 
AnswerRe: Getting Printer DC's Pin
Bram van Kampen5-Oct-08 7:26
Bram van Kampen5-Oct-08 7:26 
GeneralRe: Getting Printer DC's Pin
Bram van Kampen5-Oct-08 12:21
Bram van Kampen5-Oct-08 12:21 
AnswerRe: Getting Printer DC's Pin
Hamid_RT5-Oct-08 2:09
Hamid_RT5-Oct-08 2:09 
GeneralRe: Getting Printer DC's Pin
sodevrom5-Oct-08 8:58
sodevrom5-Oct-08 8:58 
GeneralRe: Getting Printer DC's Pin
Bram van Kampen5-Oct-08 12:36
Bram van Kampen5-Oct-08 12:36 
GeneralRe: Getting Printer DC's Pin
Bram van Kampen5-Oct-08 12:40
Bram van Kampen5-Oct-08 12:40 
QuestionHelp with RAW TouchScreen DLL Pin
sodevrom4-Oct-08 12:46
sodevrom4-Oct-08 12:46 
AnswerRe: Help with RAW TouchScreen DLL Pin
Bram van Kampen4-Oct-08 13:44
Bram van Kampen4-Oct-08 13:44 
GeneralRe: Help with RAW TouchScreen DLL Pin
sodevrom4-Oct-08 13:53
sodevrom4-Oct-08 13:53 
GeneralRe: Help with RAW TouchScreen DLL Pin
Bram van Kampen4-Oct-08 14:53
Bram van Kampen4-Oct-08 14:53 
GeneralRe: Help with RAW TouchScreen DLL Pin
sodevrom4-Oct-08 14:59
sodevrom4-Oct-08 14:59 
AnswerRe: Help with RAW TouchScreen DLL Pin
cmk5-Oct-08 1:10
cmk5-Oct-08 1:10 
GeneralRe: Help with RAW TouchScreen DLL Pin
sodevrom23-Oct-08 13:07
sodevrom23-Oct-08 13:07 
GeneralRe: Help with RAW TouchScreen DLL Pin
sodevrom24-Oct-08 13:09
sodevrom24-Oct-08 13:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.