Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Line Spacing

Status
Not open for further replies.

michaelkatz

Programmer
Sep 1, 2002
50
GB
Is there a way to control the vertical spacing of the lines on a desk jet printer, with VFP 7?

No problem with laser jets that take cursoe movement calculation s to 4 decimal places.

I have to duplicate some GI forms that do not follow thw conventional 10 Pitch and 6 LPI.

Thanks

Michael
mkatzla@juno.com
 
That's kind of up to the printer driver.
If you're using the report generator, you should get the desired results just by positioning the fields.
If you're using control codes and hard coding the report using @...SAY, ?, or ??, you'll have to determine what the line feed or reverse line feed instructions are corresponding to the printer and send them to the printer.



-Dave Summers-
[cheers]
Even more Fox stuff at:
 
I have used the following with @ say commands

****SET TO 48 LPI PRINT ON HPLJ2
@prow(),pcol() say chr(27)+[&l24D]

and

move print position down one of those 48 lines
@prow(),pcol() say chr(27)+chr(61)


wjwjr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top