Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows 98 abnormal program termination Pin
Ravi Bhavnani22-Mar-03 9:32
professionalRavi Bhavnani22-Mar-03 9:32 
GeneralRe: Windows 98 abnormal program termination Pin
Ambit22-Mar-03 13:53
Ambit22-Mar-03 13:53 
Generalmemcpy vs. memmove Pin
pba_21-Mar-03 10:24
pba_21-Mar-03 10:24 
GeneralRe: memcpy vs. memmove Pin
Chris Losinger21-Mar-03 10:48
professionalChris Losinger21-Mar-03 10:48 
GeneralRe: memcpy vs. memmove Pin
pba_21-Mar-03 10:58
pba_21-Mar-03 10:58 
GeneralRe: memcpy vs. memmove Pin
Chris Losinger21-Mar-03 11:59
professionalChris Losinger21-Mar-03 11:59 
GeneralRe: memcpy vs. memmove Pin
pba_21-Mar-03 12:15
pba_21-Mar-03 12:15 
GeneralPrinting with fopen, and f*() Pin
Anonymous21-Mar-03 10:16
Anonymous21-Mar-03 10:16 
There is an article here at code project that says you can print directly to a printer by using fopen("lptN", "w") and writing to the file (just like normal).

I really want to belive this because I have text and HP GL commands in a file that I need to send out to the printer.

I try to fopen("lpt1", "w"); but I get a null pointer back.

I did successfully map a printer to lpt1 (identical to his code except for the \\server\printer) (I don't remove it so I can heck via "net use")

I am in windows 98. Does anyone have any ideas why it's not working?

GeneralRe: Printing with fopen, and f*() Pin
Ravi Bhavnani21-Mar-03 10:22
professionalRavi Bhavnani21-Mar-03 10:22 
GeneralRe: Printing with fopen, and f*() Pin
Scorp1us21-Mar-03 10:28
Scorp1us21-Mar-03 10:28 
GeneralRe: Printing with fopen, and f*() Pin
Scorp1us21-Mar-03 10:48
Scorp1us21-Mar-03 10:48 
GeneralRe: Printing with fopen, and f*() Pin
Nicolas Bonamy21-Mar-03 10:49
Nicolas Bonamy21-Mar-03 10:49 
GeneralRe: Printing with fopen, and f*() Pin
CvdWalt21-Mar-03 11:34
CvdWalt21-Mar-03 11:34 
GeneralRe: Printing with fopen, and f*() Pin
PJ Arends21-Mar-03 17:43
professionalPJ Arends21-Mar-03 17:43 
GeneralProblem with toolbars XP style Pin
John R. Shaw21-Mar-03 10:03
John R. Shaw21-Mar-03 10:03 
Generalmenu Pin
dudic21-Mar-03 8:13
dudic21-Mar-03 8:13 
GeneralRe: menu Pin
Maximilien21-Mar-03 8:30
Maximilien21-Mar-03 8:30 
GeneralI have a very stupid question... Pin
K. Shaffer21-Mar-03 7:39
K. Shaffer21-Mar-03 7:39 
GeneralRe: I have a very stupid question... Pin
Phil Boyd21-Mar-03 8:12
Phil Boyd21-Mar-03 8:12 
GeneralRe: I have a very stupid question... Pin
K. Shaffer21-Mar-03 8:21
K. Shaffer21-Mar-03 8:21 
GeneralRe: I have a very stupid question... Pin
John R. Shaw21-Mar-03 8:21
John R. Shaw21-Mar-03 8:21 
GeneralCOM-port for multiple applications Pin
Member 13901621-Mar-03 7:30
Member 13901621-Mar-03 7:30 
GeneralRe: COM-port for multiple applications Pin
John R. Shaw21-Mar-03 8:49
John R. Shaw21-Mar-03 8:49 
GeneralRe: COM-port for multiple applications Pin
Scorp1us21-Mar-03 10:32
Scorp1us21-Mar-03 10:32 
GeneralRe: COM-port for multiple applications Pin
CvdWalt21-Mar-03 11:30
CvdWalt21-Mar-03 11:30 

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.