[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Problem printing with custom print size
- Subject: Re: Problem printing with custom print size
- From: "Brunelle, Cindy - AD/Corporate" <CBrunelle@METROIS.COM>
- Date: Wed, 9 Dec 1998 15:24:15 -0500
Cindy Brunelle
> -----Original Message-----
> From: Nathan Treadway [SMTP:nathant@ONTKO.COM]
> Sent: Wednesday, December 09, 1998 1:43 PM
> To: Multiple recipients of list SQR-USERS
> Subject: Re: Problem printing with custom print size
>
> On Wed, Dec 09, 1998 at 12:22:46PM -0600, DarnielleC wrote:
> > declare-report check_print
> > layout=HONCHK
> > printer-type=LINEPRINTER
> > end-declare
> >
> [...]>
> > but when I print it's a different story. I am using PeopleSoft v7.51
> process
> > scheduler to initiate the sqr. When I direct the output to a file
> it looks
> > formatted properly and works great, when I send it to our networked
> > mainframe line printer I get the error message: (SQR 6002) Cannot
> open the
> > printer file: \\<server>\<printer>.spf, (2): No such file or
> directory.
> > It's strange, in that the sqr will work fine when printing to the
> printer
> > after I comment out the section of code above. I do not believe
> that it's a
> > Peoplesoft issue, I think the problem likes within the sqr.
>
> Actually, it's the combination. Using "declare-report" and
> "declare-printer" cause SQR to try to generate an SPF file during the
> report
> run. PeopleSoft uses a "shortcut" to cause printing to a printer
> during the
> run: if redirects the report to print directly to the printer using
> "-f\\<server>\<printer>". Unfortunately, SQR tries to get the SPF
> file name
> from the named passed with -f; \\<server>/<printer>.spf is not a valid
> name.
>
> If you comment out the "declare" sections, SQR does not generate an
> SPF and
> PeopleSoft's shortcut works fine. In order to use the "declare"
> sections
> and print directly, you'll probably need to use "-printer:wp" instead
> of
> the usual PeopleSoft mechanism.
>
> See http://www.sqrug.com/ftp/docs/sqr-windows-printing-howto.html for
> more
> info.
>
> Nathan
>
> ----------------------------------------------------------------------
> ------
> Nathan Treadway | Ray Ontko & Co. | Software consulting services
> nathant@ontko.com | Richmond, IN | http://www.ontko.com/