Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

Win2K and printing (AREV Specific)

At 09 JUN 2003 08:28:14PM bgrinter wrote:

We have a customer who is running an Arev 3.12 application on a Win2K server with a mix of Win98SE and Win2K workstations. Printing is to 2 network printers with NET USE - a dot matrix printer and a laser printer.

The Win98SE workstations all work fine, however printing to the dot matrix printer from a Win2K workstations give an errpr

"Printer is offline or out of paper. Quit or Retry?"

yet I can print to this printer from a DOS prompt

Any ideas?


At 10 JUN 2003 12:56AM Peter Kassinski wrote:

When we want to print from Arev program we use command PRINT and our data goes to lpt1 implicitly. If you want to use another printer from your workstation you can define it as network one and connected to lpt2 (for example). After it before statement

PRINT data

you write

PDISK lpt2.

May be it helps.


At 11 JUN 2003 12:01AM bgrinter wrote:

No,

Its currently going to LPT1 via a NET USE for the dot matrix and LPT2 for the laser. All workstations are configured the same as far as printers, but the dot matrix doesn't work for Win2K from Arev, just the DOS prompt. I've tried all sorts of combinations, persistent connections, timeouts, spooling etc with no luck


At 11 JUN 2003 10:39AM Dave Harmacek wrote:

When all else fails I print directly to a file, e.g. C:\TEMP.TXT. Then I PCEXECUTE the command "COPY C:\TEMP.TXT \\SERVER\PRINTERNAME".

To change printing use the SETPTR subroutine. CALL SETPTR( filename:CHAR(0), 1).

To revert CALL SETPTR( "LPT1":CHAR(0), 1).

These shell around the program that is printing.

Dave

View this thread on the forum...