Click here to Skip to main content
15,880,543 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Threads Pin
Tim Smith29-Mar-04 4:13
Tim Smith29-Mar-04 4:13 
GeneralRe: Threads Pin
SatyaDY29-Mar-04 17:20
SatyaDY29-Mar-04 17:20 
GeneralCreating shortcuts Pin
Vini Deep28-Mar-04 19:00
Vini Deep28-Mar-04 19:00 
GeneralRe: Creating shortcuts Pin
22491728-Mar-04 19:19
22491728-Mar-04 19:19 
GeneralRe: Creating shortcuts Pin
Milton Karimbekallil28-Mar-04 19:58
Milton Karimbekallil28-Mar-04 19:58 
GeneralRe: Creating shortcuts Pin
Vini Deep28-Mar-04 20:37
Vini Deep28-Mar-04 20:37 
QuestionRe[2]: Creating shortcuts Pin
sysop@HAL9K.com4-Feb-10 4:55
sysop@HAL9K.com4-Feb-10 4:55 
GeneralPrinting question Pin
Peter Mares28-Mar-04 18:26
Peter Mares28-Mar-04 18:26 
Hey everyone,

I'm busy working on a mini POS system, and they have an Epson LX400 printer that they use to print till slips. They feed a 7.5cm wide roll of paper through for the till slip. The problem arises when I use GDI printing and call EndPage(), the printer feeds the equivalent of an A4 page upwards. I've tried modifying the DEVMODE structure before I call CreateDC() but nothing works. How do I stop the printer from form feeding?

The software needs to run on Win98, so I can't use AddForm(), GetForm() etc.

Any ideas?

Regards,
Peter

PS If I use standard fopen and fprintf functionality, everything is fine, but then I can't get the client's logo onto the slip, so thats not an option.


controlSHIFT
[Glossary Manager] [AfterThought Backup Lite]

99 little bugs in the code, 99 little bugs,
Fix 1 bug, recompile....
101 little bugs in the code...
GeneralRe: Printing question Pin
Steve S29-Mar-04 0:34
Steve S29-Mar-04 0:34 
QuestionHow to draw a filled triangle Pin
vamsy krishna28-Mar-04 16:15
vamsy krishna28-Mar-04 16:15 
AnswerRe: How to draw a filled triangle Pin
Christian Graus28-Mar-04 16:27
protectorChristian Graus28-Mar-04 16:27 
GeneralRe: How to draw a filled triangle Pin
vamsy krishna28-Mar-04 16:49
vamsy krishna28-Mar-04 16:49 
GeneralRe: How to draw a filled triangle Pin
Christian Graus28-Mar-04 16:52
protectorChristian Graus28-Mar-04 16:52 
GeneralRe: How to draw a filled triangle Pin
Rick York28-Mar-04 20:06
mveRick York28-Mar-04 20:06 
GeneralRe: How to draw a filled triangle Pin
Steve S29-Mar-04 0:36
Steve S29-Mar-04 0:36 
GeneralRe: How to draw a filled triangle Pin
Antony M Kancidrowski29-Mar-04 2:26
Antony M Kancidrowski29-Mar-04 2:26 
GeneralRe: How to draw a filled triangle Pin
Christian Graus29-Mar-04 9:55
protectorChristian Graus29-Mar-04 9:55 
Generalending strings Pin
kfaday28-Mar-04 15:39
kfaday28-Mar-04 15:39 
GeneralRe: ending strings Pin
Christian Graus28-Mar-04 16:28
protectorChristian Graus28-Mar-04 16:28 
GeneralRecursion in Visual C++ Pin
Iceberg7628-Mar-04 15:34
Iceberg7628-Mar-04 15:34 
GeneralRe: Recursion in Visual C++ Pin
kfaday28-Mar-04 15:45
kfaday28-Mar-04 15:45 
GeneralRe: Recursion in Visual C++ Pin
Steve S29-Mar-04 0:38
Steve S29-Mar-04 0:38 
GeneralRe: Recursion in Visual C++ Pin
oOomen29-Mar-04 5:36
oOomen29-Mar-04 5:36 
GeneralRe: Recursion in Visual C++ Pin
David Crow29-Mar-04 3:27
David Crow29-Mar-04 3:27 
GeneralEnumerating dialog controls Pin
codecharmer28-Mar-04 14:38
codecharmer28-Mar-04 14:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.