M
MatatunoS
hi!
i have a .dll vc++ 6.0, i need to retrieve the shared printer name of a
selected printer in a CPrintDialog...
i have this code
void get_printers(char *impresora)
{
CPrintDialog dlg(false);
dlg.DoModal();
strcpy(impresora,dlg.GetDeviceName());
}
i need de shared name because i use it in a command lik "copy %1
\\server\sharedprinter"
any help?
thanks
i have a .dll vc++ 6.0, i need to retrieve the shared printer name of a
selected printer in a CPrintDialog...
i have this code
void get_printers(char *impresora)
{
CPrintDialog dlg(false);
dlg.DoModal();
strcpy(impresora,dlg.GetDeviceName());
}
i need de shared name because i use it in a command lik "copy %1
\\server\sharedprinter"
any help?
thanks