arokia05
12th April 2006, 18:19
When I give the command line command 'bwprint /p ' followed by the .bpf file name, it prints the Baan report on the default printer of the client machine. Is there anyway I can send the report to a different printer other than the default one? ('bwprint ' followed by .bpf file name takes me to the preview screen from there I am able to select a different device to print. But, I would like avoid the preview screen).
Environment: BaanERP 5.0c, bwprint 7.1d.09, Windows NT.
Help please!
baanprog
19th April 2006, 14:05
Hi,
Look into this for option -p.
Option p Device Name
Option p specifies the device name like known in Windows NT/Windows 95/98.
For example:
-p \\srv-nld-fp3\pnl0141
This printer device is specified in Device Queue in the Device Data (Session Maintain Device Data, ttaad3...), and is stored in and read from ttaad300.pcom.
Bwprint searches for this printer device in the Registry (Windows NT) at:
[HKEY_CURRENT_USER\Printers\Connections\,,SRV-NLD-FP3,PNL0141]
"Server"="\\\\SRV-NLD-FP3"
"Provider"="win32spl.dll"
In case the printer device cannot be found here, or, in other words, is not available in Control Panel -> Printers, for your user profile, bwprint will default to the default Windows printer.
In case no printer device is specified in Device Queue (ttaad300.pcom), bwprint will also default to the default Windows printer.
Hope it helps