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

At 14 APR 1999 03:52:52PM Steve Waite wrote:

On an Advanced Revelation 2.1 report I need to print, I send a condense Laser code to an HP printer. The report is then sorted and sent to the printer. If the report becomes to large the printer resets to normal print before the data arrives to the printer. Is there a way to keep the printer code set until the next printer code is sent via AREV?


At 14 APR 1999 05:54PM Jonathan Bird wrote:

Why not send your control codes as the first few characters of the heading? That way every page will be corrct, regardless of what happens at the printer end.

J


At 15 APR 1999 12:31PM Dan Manning wrote:

What is happening is that your network is closing the print file the program has opened through a time out, sending the file through the printer queue and reopening a new print file for the remainder of report. Whenever a report does processing on the fly, you run into the problem that the time to process exceeds the time out set by the network.

   Although you could manipulate the time out, the easiest solution is to send the report to DOS file through the PDisk command.  When the report is done, then send the DOS file to the printer.  Your code would look something like:
      DOS_NAME=C:\TEMP\REPORT'
      PERFORM 'PDISK ':DOS_NAME
      PRINTER ON
      PRINT Condensed_Esq_Seq:
      Print the rest of the report
      PRINT CHAR(27):'E'   ;* To reset the printer
      PRINTER OFF
      PERFORM 'PDISK PRN'
      PERFORM 'SUPEND EXIT COPY ':DOS_NAME:' LPT1:'

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/a9e39ced7304f96d85256753006d35d5.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1