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

RE: [sqr-users] Changing the paper size in SQR



Here's a sample code that I have created fro printing checks or pay deposit. 
I created the codes in an .SQC and called from the main SQR.

declare-layout Default
  paper-size=(8.5,14)    !Legal Size
  orientation=portrait
  left-margin=0.25
  top-margin=0.30
  line-height=9          !8 lines per inch
  max-lines=106          !Legal Size
  max-columns=131
  char-width=4.32
end-declare

  declare-printer HPLASER
    type=HPLASERJET
    init-string=<27>E<27>&l0L<27>&l3A  ! plus legal size
!               |     --> Perforation Skip
!                --> Reset
    font=5
    point-size=7
    symbol-set=19U
  end-declare


>From: JOHN_HARRIS@qvc.com
>Reply-To: "This list is for discussion about the SQR database 
>reportinglanguage from Hyperion Solutions." <sqr-users@sqrug.org>
>To: sqr-users@sqrug.org <sqr-users@sqrug.org>
>Subject: [sqr-users] Changing the paper size in SQR
>Date: Wed, 29 Mar 2006 08:21:31 -0500
>
>
>I am trying to run a report using legal paper size.have the following code
>at the beginning of my program:
>DECLARE-LAYOUT   DEFAULT
>    left-margin = .25
>    top-margin = .50
>    paper-size = (LEGAL)
>    orientation = landscape
>    max-columns = 300
>    max-lines = 45
>    formfeed=no
>END-DECLARE
>
>Unfortunately, this is not changing the paper to legal, it remains letter.
>
>Any suggestions on how to do this.
>
>
>  Thank you.
>
>  Regards,
>
>  John
>
>
>
>                           John Harris
>                           Programmer/Analyst
>                           Application Development - Internal
>
>
>
>
>
>
>QVC Inc., 1200 Wilson Drive, MC 220, West Chester, PA 19380-4262
>
>
>Telephone 484-701-3303
>Fax 484-701-8689
>e-mail jharris@qvc.com
>
>
>
>This message may contain information that is privileged or confidential.
>This message may contain information that is privileged or confidential. If
>you are not the intended recipient, you are hereby notified that any
>disclosure, copying, distribution, or use of the information contained
>herein is STRICTLY PROHIBITED. If you received this transmission in error,
>please immediately contact the sender and destroy the material in its
>entirety, whether in electronic or hard copy format.
>
>
>_______________________________________________
>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