Printing pages of infinite length
Posted on 1998-11-22
I'm using VC++ 6. I have an app that prints to a grocery store type receipt printer. The receipt printer, of course, just has a long spool of paper and does not come in "pages." I've got the printing thing working OK by using members of CDC, but it keeps wanting to deal in pages and I just want to keep doing a TextOut and send a single EndPage() when I'm done. At present, however, it prints about a legal page's worth of text and then doesn't print anymore.
(p.s., I had it all working fine using low level C functions using a file stream set to the stdprn, etc., but I really want to try to get it to use the device context so I can let the user select network devices, etc.)