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