home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1633 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.3 KB  |  31 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!gatech!willis.cis.uab.edu!shen
  3. From: shen@cis.uab.edu
  4. Subject: Problem with Printing... Please Help
  5. Message-ID: <1992Sep2.025032.11452@cis.uab.edu>
  6. Originator: shen@saturn
  7. Sender: root@cis.uab.edu (Bruce Williams)
  8. Organization: University of Alabama at Birmingham
  9. Date: Wed, 2 Sep 1992 02:50:32 GMT
  10. Lines: 19
  11.  
  12. Hello,
  13.     I am writing a windows application and need to print an one
  14.     page (all text) report.  I need to fit a lot of informations 
  15.     onto one page.  This report uses LOGFONT and all I did is to
  16.     TextOut everything I need.  I followed the examples on several
  17.     books.  Everything seems fine until the Escape call to NEWFRAME.
  18.     It returns SP_ERROR, which is the "General Error".  What is a 
  19.     General Error anyway?  But..., This does not happen all the time.
  20.     1/3 of the time it will print what I want and the other 2/3 of
  21.     the time it will return the general error.  If I tried to just
  22.     print half of a page it will be ok all the time.  Am I putting
  23.     too much on one page?  Is there a limit to how much you can  
  24.     print on a page?  I also tried to use banding on Petzold's 
  25.     example.  But, still with no luck, it only works sometimes. I uses
  26.     a HP LaserJet Series III.  Can someone help?  Any information
  27.     on printing will be very helpful.  Thanks in advance.  
  28.  
  29. Cindy
  30.  
  31.