Results 1 to 2 of 2

Thread: printing a text doc. end of file commands?

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,602
    Hi.

    I am writing an app that runs on a printer like the old dot matrix with feeders. What i want to know is (maybe for the older programmers) is there some way I can tell the printer to stop advancing the paper immediately after the text has been printed.

    Basically, I don't want to print one or two lines of text and the printer runs up an entire sheet of paper.

    I know that would be impossible with paper tray printers, but I remember when my IBM4680 would do that a few years ago.

    Any ideas?

    Thanks

    Wengang
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  2. #2
    Guest
    Basically, the print process is sending a FormFeed to the
    printer after the final line.

    If you are printing out of NT or 98 or something equally
    rediculous, you should be able to change the defaults on
    the printer connection. You'll probably need to hit
    several sources before you find the answer.

    Don't bet big $$$ on it being possible, however. I've seen
    loads of people say the underlying OS is DOS, but it
    isn't. You CAN'T do everything Dos did.

    have you Considered re-directing the print stream to a
    file? Perhaps you could print only when the line count >
    45.

    Good Luck
    DerFarm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width