Adding more LPT port definitions to Arev (AREV Specific)
At 22 SEP 2004 07:56:59PM Ellen M Fox wrote:
Our current arev system uses lpt ports 1-3 very nicely. We are upgrading to arev 3.12 and the current supervisor wants to run 5 different arev reporting applications on one server. Each application must print to a different printer. Hence I can do 3 but am missing 2.
I found a discussion about extending the printers by expanding the printer selection window and even was able to add lpt port definitions
but I am missing some critical information but it doesn't print beyond the lpt3 port definition. Does anybody know what I am missing?
At 24 SEP 2004 11:34AM Leon Shaffe wrote:
What operating system are you using…
What we use is
On a Novell system, we have printer definintions in a
user/application table, and do the capture command within a batchfile automatically.On a Windows Server, we do the same thing but use the
net usecommand within the batch file...You can control it via user or application or form, and we use thisfor both network printers and directly attached printers.
At 27 SEP 2004 05:15AM Steve wrote:
There's a reason for this inherent madness… once upon a time DOS had to keep open the first five file handles (out of 20 or so) for NUL,CON,PRN,LPT1 and AUX. These were effectively reserved at a cost in available RAM under 640k, so three devices was determined to be a fair tradeoff between RAM expended and maximum number of devices.
lpt1-3 are standard port addresses in the BIOS (3f8h and 278h and 2e8h or similar addresses for the buffers - memory fails at present).
lpt4+ depend on the hardware, and would require a device driver to be hardwired with the physical device port addresses, in order to operate (to reserve the RAM for the port memory buffers).
:delete any existing lpt1 queue assignment
net use lpt1: /d
:assigns lpt1 queue to nominated \\SERVER\PRINTERNAME device
net use lpt1: "\\myserver\HP Laserjet" /PERSISTENT:YES
Execute the above lines as MYPRINT.BAT ahead of AREV based reports from a batch file - in BASIC:
PERFORM "SUSPEND EXIT MYPRINT.BAT"
At 30 SEP 2004 10:32AM Dave Bennett wrote:
I painted Arev's printer window and made the multivalue larger to accomondate 10 printers, and shell out to perform capture or net use. I required the 10 printers in arev, so the correct escape codes are used in the printer definition. I also named the printers to contain the queue name therefore I could shell out without needing more information.
At 19 OCT 2004 03:05PM Ellen M Fox wrote:
Thank-you for all the information. What is happening is multiple databases are being installed on one server. Our remote labs are going to connect into one box and run their application from one machine. Of course they all want to print to their respective printers. I only have 3 lpts to define. The ntvdm appears to run one window for all not separate instances. So, my problem…..how to make everyone happy…
At 20 OCT 2004 03:07AM support@sprezzatura.com wrote:
Ellen
Is there a reason why each session couldn't just start their own BAT file and NET USE a specific printer at LPT1 (assuming you've moved off Novell)?
Regards
support@sprezzatura.com
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
PS Hi!