[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Printing on Legal Sized Paper
I have tried all the suggestions I could find in the archive regarding
printing portrait on 8.5 x 14 sized paper without any luck.
I am working on CSS HRizon version 8; SQRW: 3.0.13.2; PC: Windows 95;
Oracle: 7.3.4.3.0.
I have used the following code to print on LETTER to date. The report
size is growing and using a small point-size to stay on letter sized
paper won't be an option for much longer.:
begin-setup
page-size 105 100
declare printer
type = postscript
orientation = portrait
left-margin = .5
char-size = 4.36
point-size = 7
end-setup
begin-heading 5
print 'Report ID:' (1,1)
print $reportid (,+1)
page-number (,112) 'Page '
print $title (1) center
print 'Run Date: ' (2,1)
print &SYS_CURR_RUN_DATE (,+1)
print 'Run Time: ' (+1,1)
print &SYS_TIME (,+1)
print $reporttitle (2) center
print 'Class' (+3,1)
print 'Menu Name' (0,50)
print 'Display Only' (0,82)
print 'Actions Allowed' (0,97)
print 'Oprid' (+1,3)
print 'Name' (0,12)
end-heading
I have used the following code that I found in the archive to force the
print to LEGAL sized paper. However the print writes over itself to the
point where it is a black blob towards the top of the paper. (I used the
same heading code as above.):
#include 'setenv.sqc'
begin-setup
declare-report legal_invoice
layout=legal
printer-type=hp
end-declare
declare-layout legal
paper-size= (8.5,14)
orientation=portrait
top-margin=0.2
bottom-margin=0.10
left-margin=.5
line-height=1
char-width=1
end-declare
end-setup
begin-report
USE-REPORT legal_invoice
ENCODE '<27>&l3A' INTO $legal_code
PRINT-DIRECT $legal_code
...
end-report
Any ideas on this will be greatly appreciated!
Sylvia Rilee