Message-Id: <1.5.4.32.19960829222001.002b5728@mail.heirich.in-berlin.de>
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 30 Aug 1996 00:20:01 +0200
To: winvn@news.ksc.nasa.gov
From: Peter Heirich <peter@heirich.in-berlin.de>
Subject: beautify wvprint.c (no bug)
Sender: owner-winvn@news.ksc.nasa.gov
Precedence: bulk

If i print on a remote printer ( Netware 4.1 connected )
WinVN says during print

To \\DNW\LASERJET on Ne00

I belive, that Ne00 is not a usefull information. If i print to a remote
printer there is no valid device on my client.

So i thing it is a good idea to have 5 lines (instead 1) so WinVN says
To \\DNW\LASERJET (remote) if it is a remote printer

See the following part of PrintArticle() which is part of wvprint.c

Regards Peter

 
  SetDlgItemText ((HWND) hwndPDlg, IDD_PRINTSUBJECT, (LPSTR) szTitle);
  dv = (DEVNAMES *) GlobalLock (pd.hDevNames);
  strcpy(mybuf,(LPSTR) dv + dv->wDeviceOffset); //Heirich 19960829
  if (strncmp(mybuf,"\\\\",2))
      sprintf (sz, "To %s on %s",mybuf, (LPSTR) dv + dv->wOutputOffset);
  else
      sprintf (sz, "To %s (remote)",mybuf);
      

