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

Help: SQR left margin print problem HP 8100 DN PCL 5e



Hi,

I am currently working with SQR 4.3.4, PeopleSoft 7.5 and Oracle 8.1.7.0.0

I am currently experiencing problems with the left margin of a report that I
am working with.  I have two reports, the first one prints the pre-printed
info (template) on A4 paper for an invoice print.  It contains a number of
logos on it so I am using the -printer:wp command line flag.  The second
report is printed directly to the printer using the \\UNC path and uses the
pre-printed template from the first report, there is a difference in the
margins.

Both reports have the same setup section with the printer, paper size and
layout declarations, which I have included below.

I am confused as to why they result is a difference in the left margin of
4mm (0.16 inches) - with -printer:wp resulting in a margin 4mm wider than
sending direct to the printer using the \\UNC path.

If anyone knows what this problem may be I would like to hear from you.

Thanks in advance.


Daniel Archibald
IBIS Project
University of Southern Queensland
Toowoomba, Australia.

*********************************

Code from the setup section of the SQR:


#define PRINTER_TYPE HPLASERJET

begin-setup
   ! Printer declaration
   declare-printer HP-definition
     type={PRINTER_TYPE}
     symbol-set=0U                          ! ASCII symbol set
     point-size=7.2
     pitch=17
     font=3
   end-declare

   ! Paper size and layout declaration
   declare-layout default
     paper-size=(8.27,11.69)
     orientation=portrait
     max-columns=125
     left-margin=0.08
     top-margin=0.2
     bottom-margin=0
     line-height=9                  ! 72/printer_point-size
     char-width=4.360               ! points, to handle max cols
   end-declare

   ! Report declaration
   declare-report default
      layout=default
      printer-type={PRINTER_TYPE}
   end-declare

end-setup