[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
PS direct printing creates garbage.
- Subject: PS direct printing creates garbage.
- From: JOSEPH C SHORT <JCSHORT@ICRR.COM>
- Date: Tue, 20 Oct 1998 16:45:00 -0500
- Hop-Count: 1
SQRW/3.0.13.3/PC/Windows-NT 3.51/Informix 6 & 7.1/Jun 27 1996
PeopleTools v.7.02
I have developed an SQR which generates two output files. When the output is
directed to a file(s) there is no problem.
The files can be copied to a printer and the output is correct. However, when
the output is directed directly to a printer
the output is filled with my output in addition to garbage. The following are
some excerpts from my program:
begin-setup
#include 'setupdb.sqc' !Set environment
declare-printer HP1
for-reports=(Summary,Detail)
type=HP
point-size=8
font-type=fixed
symbol-set=0U ! ASCII symbol set
pitch=17 ! Characters per inch
font=3 ! Courier font
end-declare
declare-layout default
paper-size=(20,10)
top-margin=0
left-margin=0
end-declare
declare-report Summary
printer-type=hplaserjet
layout=RptLayout
end-declare
declare-report Detail
printer-type=hplaserjet
layout=RptLayout
end-declare
end-setup
:
begin-heading 9 for-reports=(Summary)
do Heading-For-All
... print statements ...
end-heading
:
!begin-heading 8 for-reports=(Detail)
do Heading-For-All
... print statements ...
end-heading
:
begin-procedure Report-Detail
use-report Detail
begin-select
select statement including printing to detail rpt
end-select
end-procedure
:
begin-procedure Report-Summary
use-report Summary
begin-SELECT
select statement including printing to summary rpt
end-select
: