[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Problem printing with custom print size
- Subject: Problem printing with custom print size
- From: DarnielleC <DarnielleC@HONCOMPANY.COM>
- Date: Wed, 9 Dec 1998 12:22:46 -0600
Hello,
I am developing a garnishment check printing program that will ultimately
print to one of our mainframe line printers. I am trying to define a custom
layout to match our check forms, below is a snapshot of my layout
definition. The program uses the print and new-page commands to perform all
my printing. My question is am I missing anything in my layout definition?
begin-setup
declare-report check_print
layout=HONCHK
printer-type=LINEPRINTER
end-declare
! Declare Layout
declare-layout honchk
paper-size=(14.25, 6)
max-columns=132
max-lines=33
end-declare
end-setup
>From reading the language reference it looks like this should be all I need,
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.
Any thoughts, I've been wrestling with this for awhile.
----
Chad Darnielle
The HON Company, IT Programmer/Analyst
* 319-264-7578 * DarnielleC@honcompany.com