[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Help! SQR mysteriously prints extra pages!
I agree with Ray, the HP "thinks" you're trying to print after the end-of-page.
This frequently occurs when your document has embedded binary data (graphics or
escape sequences) and is sent to the printer as a Text document. Even though
the binary data doesn't "use up" any space on the printed page, the HP thinks
you're printing text and counts the number of bytes per line (affects wrap) and
lines per page (affects formfeed).
So, if you're creating a .lis file that has more than the
"number-of-lines-per-page" lines before reaching the <FF> character, the
printer will eject to a new page (typically a spooler function), regardless of
the formfeed=no setting on the printer.
What you need is a way to tell the printer (or spooler) that you're printing
binary and your document will handle the pagination.
In VMS, this would be the PRINT /PASSALL /NOFORMFEED command - not sure what
the equivalent would be under AIX. Hopefully, someone out there can supply that.
jay
-----Original Message-----
From: Ray Ontko [mailto:rayo@ontko.com]
Sent: Monday, October 06, 2003 6:31 PM
To: sqr-users@sqrug.org
Subject: Re: [sqr-users] Help! SQR mysteriously prints extra pages!
Mark,
The problem is that you are attempting to print past the
end of the page, so the HP printer is adding a newline after
each print attempt.
I don't recall the exact escape sequence that you need to
send the printer, but it's the one that defines the printable
area of the page. Since you're printing past the printable
area, the printer thinks you want to start the NEXT text on
a fresh page.
Ray
On Mon, Oct 06, 2003 at 04:23:57PM -0500, Mark Hall wrote:
> I am totally stumped on this one. I have an sqr (DDP003P.SQR, The check
> advice print, for all of you peoplesoft types out there) that for some
> strange reason prints mystery pages. I can see no reason why. My
> checks print fine and the advices use the same layout. When I run the
> process to a pdf file the pdf looks fine. All the text and graphics are
> on one page just like they should be. When I look at the raw .lis file
> I only see one formfeed (at the bottom of the page where it should be).
> But when I run it to an hp printer it just goes crazy. It prints some
> stuff on the first page. Then it prints some stuff on the next page.
> Then it goes to the next page and prints a line. Then it prints a line
> on the next page. And so on for a few more pages. Then it prints a
> whole bunch of blank pages. Then it prints the category subtotals on
> one page. Then finally it prints the grand totals on the last page. It
> spits out about 45 pages between blanks and pages with stuff on them.
>
> I've tried the formfeed=no option but that doesn't work. Like I said I
> don't see any extra formfeeds.
>
> Does anyone have any idea what the problem is? Any help would be
> greatly appreciated. We are going live in a few weeks and I am at my
> wits end.
>
> I am running the PeopleSoft version of sqr on an AIX 5.1 box and
> printing to an HP LaserJet 4000T. PeopleTools release 8.4.3.
>
>
>
> Mark Hall
> IS Analyst
> ERP Team
> 260-373-8796
> mark.hall@parkview.com
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
----------------------------------------------------------------------
Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users