PDA

View Full Version : Problem Setting Default Printer - Please Help



Tom Grossberger
21-Feb-2005, 08:15 AM
The default printer in Windows is a small label printer. (This is needed in
order to be able to print to it from a DOS program). In order to set the
default printer for VDF to a laser printer I put the following into the
login procedure:

send DFSelectprinter to WinPrintID "HP LaserJet 4" "HP LaserJet 4" "LPT1::"
0

It works, so that when you click on the printer select icon in a Winprint
preview the Laserjet comes up as the default, however the first preview
comes up formatted for the label printer. After you click on OK of the
printer select dialog it reformats for the Laserjet, and all further
previews are correcly formatted, but it is a pain in the neck to have to
click on the select printer every morning.

Anybody have any ideas on how to do this?