[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Declare-Report/Declare-Printer



 
Hi Vicki,
 
I got a similar problem few weeks back. I was using SQR command "Last-Page" to print the last page in header as "Page X of Y". It worked fine if I run it to a file and print it from the DOS prompt. It has given me error when I run it to printer. I have talked to PeopleSoft Global support here is what I got from them
 
__________

Known Problem while directing output directly to a Printer via Process

Scheduler running on the Client

The -keep and -ziv will result in an SQR 6001 or 6003 run time error if

the Output Destination in Process Scheduler is set to Printer and the

run location is Client. There are 2 workarounds

Remove those flags from the command line

Use output destination as File, then from DOS issue a COPY

<filename.lis> <PrinterName>

Workaround 1 is the recommended option.

There are SQR commands that will also result in the above error. They

are Declare-Report and Last-Page. In this situation, there are 3

workarounds

Remove these from the SQR program

Use output destination as File, then from DOS issue a COPY <filename.lis> <PrinterName> Change the Process Definition from using the -f flag to instead use -printer::wp. To use -printer::wp, LPT1 must be mapped to a printer. PeopleSoft is working on a permanent solution for this in a future release.

____________

 

You might observe here that if you have "Declare-Report" or "Last-Page" in your report you can not send it to the printer directly. It is a problem with PeopleSoft and they are expected to resolve it in PS Ver 8.0

If you could solve it some how please let me know

Thanks

kris

 

----- Original Message -----
From: Victoria Lo
To: Multiple recipients of list SQR-USERS
Sent: Wednesday, October 06, 1999 3:06 PM
Subject: Declare-Report/Declare-Printer

Hello Everyone;

I have declare-report and declare-printer in SQR to handle multiple reports
and different fonts. When I use the Process Scheduler and print it to the
file,
then copy the print file to the printer, it printed perfectly. However, if I
use
the Process Scheduler and print it to the printer directly, all it printed is
the
printer characters, not the report itself. Could anyone tell me what did I
miss?
Thank you!

Vicki