Thread: Printing

  1. #1
    Registered User
    Join Date
    Jan 2002


    Hi , i am using the line


    to form feed after printing out my pages, this works fine no problem on most printers including lasers networked or stand alone, however on HP deskjets standalone printers although the page prints and form feeds no problem, the form feed warning light comes on after printing is complete.

    This resets when the nest job goes to the printer and subsequent print runs are not affected, so obviously it probably just needs an additional small command to reset it.

    The work i have done here is appreciated and i don't want to leave them with flashing printer lights, neither do i want to start using a load of unnecessary code , so if someome can give me a pointer it will be greatly appreciated.



  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    You could try
    fflush ( printer );
    and see if that does the trick. Hopefully it would cause a form feed and turn off the light.

    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Jan 2002
    /f is form feed

  4. #4
    Registered User
    Join Date
    Aug 2001
    Hi folks,
    a little help needed. I would like to use a hp printer to view the result of a project I am working on at the moment. I have the access codes, reset, landscape, condensed, bold underline ect, but have tried in vain to implement these within my code. Any pointers would be greatfully appreciated.
    hoping to be certified (programming in c)
    here's the news - I'm officially certified.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 01:13 AM
  2. generic printing preferences dialog box
    By stanlvw in forum Windows Programming
    Replies: 8
    Last Post: 06-27-2008, 02:20 AM
  3. printing data to a file
    By coralreef in forum C Programming
    Replies: 3
    Last Post: 11-02-2006, 08:10 PM
  4. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 04:46 AM
  5. Printing
    By Dual-Catfish in forum A Brief History of
    Replies: 3
    Last Post: 05-25-2002, 08:10 PM