+Revision 1.6 2005/02/08 21:45:06 shersche
+<rdar://problem/3947490> Default to Generic PostScript or PCL if unable to match driver
+
+Revision 1.5 2005/01/06 08:17:08 shersche
+Display the selected protocol ("Raw", "LPR", "IPP") rather than the port name
+
Revision 1.4 2004/07/13 20:15:04 shersche
<rdar://problem/3726363> Load large font name from resource
Bug #: 3726363
Revision 1.4 2004/07/13 20:15:04 shersche
<rdar://problem/3726363> Load large font name from resource
Bug #: 3726363
DDX_Control(pDX, IDC_PRINTER_NAME, m_printerNameCtrl);
DDX_Control(pDX, IDC_PRINTER_MANUFACTURER, m_printerManufacturerCtrl);
DDX_Control(pDX, IDC_PRINTER_MODEL, m_printerModelCtrl);
DDX_Control(pDX, IDC_PRINTER_NAME, m_printerNameCtrl);
DDX_Control(pDX, IDC_PRINTER_MANUFACTURER, m_printerManufacturerCtrl);
DDX_Control(pDX, IDC_PRINTER_MODEL, m_printerModelCtrl);
m_printerNameCtrl.SetWindowText( printer->actualName );
m_printerManufacturerCtrl.SetWindowText ( printer->manufacturer );
m_printerNameCtrl.SetWindowText( printer->actualName );
m_printerManufacturerCtrl.SetWindowText ( printer->manufacturer );
- m_printerModelCtrl.SetWindowText ( printer->model );
- m_printerPortCtrl.SetWindowText ( printer->portName );
+ m_printerModelCtrl.SetWindowText ( printer->displayModelName );
+
+ Service * service = printer->services.front();
+ require_quiet( service, exit );
+ m_printerProtocolCtrl.SetWindowText ( service->protocol );