[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Printing on Legal Sized Paper
Also when you set the paper size and orientation it should be
paper-size= (14,8.5)
orientation= landscape
Robert Stojkovic
robert.stojkovic@io-consulting .com
visit our website www.io-consulting.com <http://www.io-consulting.com>
661 803 3178
> -----Original Message-----
> From: Discussion of SQR, Brio Technology's database reporting language
> [mailto:SQR-USERS@list.iex.net]On Behalf Of Elvis Pressly
> Sent: Wednesday, May 16, 2001 8:17 AM
> To: SQR-USERS@list.iex.net
> Subject: Re: Printing on Legal Sized Paper
>
>
> Sylvia,
>
> You should send a reset command to the printer. The command should
> be sent one time only so you have to determine where in your
> program to put this:
>
> encode '<27>E<27>&l3A' into $legal_code
> print $legal_code ()
>
>
> >From: Sylvia Rilee <sylvia.rilee@CAPITALONE.COM>
> >Reply-To: sqr-users@list.iex.net
> >To: SQR-USERS@list.iex.net
> >Subject: Printing on Legal Sized Paper
> >Date: Wed, 16 May 2001 10:14:08 -0400
> >
> > 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
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>