int = 0;
while (i < 10(or how ever many blank lines you need)
  { printf("\n");
    i++; }

Scott T. Finn

----- Original Message -----
From: "Jevgeni Astanovski" <>
To: <>
Sent: Thursday, February 07, 2002 6:13 AM
Subject: [C400-L] Printing on a matrix printer

> Can someone explain me, how can I print properly on a matrix printer from
> C program?
> Printer is a small cheque printer STAR SP200 (20 chars wide).
> I made a print file with one format - all constants and variables -
> everything works fine!
> But that foolish printer wants me to generate several empty rows, so that
> user can tear the slip away - and I cannot understand, how to do it!
> My form ends on line 13. I tried to add a constant on line 25 and this
> constant is filled with spaces - no effect. I placed a variable on line
> filled it with spaces from the program - also no effect.
> The only hack, that I found is to place an unprintable char into this
> varuiable - then it skips empty lines and "simulates" printing. So I have
> solution - but it is a dirty hack :-(
> I should add, that the printer is connected to a PC and I use 3812
> from Mochasoft.
> May be there is a proper solution of this problem?
> Actually may be this list is not the optimal place for such a question,
> people is pretty helpful here......
> TIA,
> Jevgeni Astanovski
> Sampo Bank
> Tallinn, Estonia
> _______________________________________________
> This is the C programming iSeries / AS400 (C400-L) mailing list
> To post a message email:
> To subscribe, unsubscribe, or change list options,
> visit:
> or email:
> Before posting, please take a moment to review the archives
> at

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].