[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: How do you print 1/2 a line?
- Subject: Re: How do you print 1/2 a line?
- From: "Sandlin, Matthew" <MSandlin@VOLT.COM>
- Date: Mon, 18 Mar 2002 10:09:12 -0800
Hey Ed, thanks for the reply! That came in handy.
Matt Sandlin
mattsandlin@yahoo.com
-----Original Message-----
From: Edward Yee [mailto:eyee1@HOTMAIL.COM]
Sent: Friday, March 08, 2002 4:05 AM
To: SQR-USERS@list.iex.net
Subject: How do you print 1/2 a line?
This works for an HP Laserjet. I used it for our W2's.
encode '<27><61>' into $HalfLineFeed
print $HalfLineFeed (0,0)
----------------------------------------------------------------------
Date: Wed, 6 Mar 2002 19:28:54 -0800
From: "Sandlin, Matthew" <MSandlin@VOLT.COM>
Subject: How do you print 1/2 a line?
This may be a silly question but how do you adjust a report 1/2 a SQR line
down? Our W2C forms have been cut funny so now I need to adjust the report.
It seemed like such an easy task but in reality I'm spending way too much
time on this "project". I hope someone can help. These are things I've tried
to manipulate..
1. I've adjusted the top-margin using both the old way Printer-Init and the
new way Top-Margin. No matter what I put (-1, .05, 2 mm) the margin sets as
0,1,2 full lines.
2. I've also tried to use 2 different declare layouts one with a smaller
line height to align the form then to reset it back but I'm having
difficulty using 2 declare report statements.
Here's the gist of the code from tax920us if it helps.. the setup I've added
instead of the setup03i.sqc to use declare-layout etc..
#DEFINE WCOLUMN1 4
begin-setup
declare-layout W2C-layout
paper-size=(8.5,11)
orientation=PORTRAIT
max-columns=80
max-lines=66
left-margin=0.5
top-margin= 0.08
end-declare
declare-report W2C
layout=W2C-layout
printer-type=HPLASERJET
end-declare
end-setup
next-column
print $String (1,12)
Thanks to all,
Matt Sandlin
Msandlin@volt.com
"Walking on water and developing software from a specification are easy if
both are frozen."
-- Edward V. Berard, "Life-Cycle Approaches"
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com