Click here to Skip to main content
15,887,386 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to view source code of STL functions Pin
Maximilien20-Jul-12 3:02
Maximilien20-Jul-12 3:02 
GeneralRe: how to view source code of STL functions Pin
Richard MacCutchan20-Jul-12 5:13
mveRichard MacCutchan20-Jul-12 5:13 
GeneralRe: how to view source code of STL functions Pin
Maximilien20-Jul-12 5:43
Maximilien20-Jul-12 5:43 
GeneralRe: how to view source code of STL functions Pin
Richard MacCutchan20-Jul-12 6:11
mveRichard MacCutchan20-Jul-12 6:11 
GeneralRe: how to view source code of STL functions Pin
Maximilien20-Jul-12 10:13
Maximilien20-Jul-12 10:13 
AnswerRe: how to view source code of STL functions Pin
Chris Losinger20-Jul-12 6:26
professionalChris Losinger20-Jul-12 6:26 
GeneralRe: how to view source code of STL functions Pin
Ubun2OS21-Jul-12 4:40
Ubun2OS21-Jul-12 4:40 
QuestionIssue with Printing Pin
Mohibur Rashid19-Jul-12 23:47
professionalMohibur Rashid19-Jul-12 23:47 
Today I developed an application that generate EAN-13 Barcode. around 166 bar code is being generated and printed in two pages.

Now the problem I am seeing is operation is slow and heavy. It Sends 17.24 Mega Bytes of data to printer to print. And the entire process is really slow.

here is the steps to do so:
C++
//I am not going through all the detail. If this code does not help you then let me know.
PrintDlg(...)
StartDoc(...);
StartPage(...);
// a process to create and draw the image on hdc using 
// i got an application available in CodeProject. 

DrawText(...);//to draw the number at the bottom of the barcode
EndPage(...);
EndDoc(..);


Now the problem is data is too much for two page.
But even an 8 page mistake print is so fast that it ends printing before I reach to printer to stop. What's wrong with this way? more over is there a better way? or too much ink?
QuestionRe: Issue with Printing Pin
Eugen Podsypalnikov20-Jul-12 0:41
Eugen Podsypalnikov20-Jul-12 0:41 
AnswerRe: Issue with Printing Pin
Mohibur Rashid20-Jul-12 1:26
professionalMohibur Rashid20-Jul-12 1:26 
GeneralRe: Issue with Printing Pin
Eugen Podsypalnikov20-Jul-12 1:35
Eugen Podsypalnikov20-Jul-12 1:35 
GeneralRe: Issue with Printing Pin
Mohibur Rashid20-Jul-12 2:19
professionalMohibur Rashid20-Jul-12 2:19 
GeneralRe: Issue with Printing Pin
Mohibur Rashid23-Jul-12 14:51
professionalMohibur Rashid23-Jul-12 14:51 
GeneralRe: Issue with Printing Pin
Eugen Podsypalnikov23-Jul-12 19:45
Eugen Podsypalnikov23-Jul-12 19:45 
GeneralRe: Issue with Printing Pin
Mohibur Rashid24-Jul-12 23:36
professionalMohibur Rashid24-Jul-12 23:36 
AnswerRe: Issue with Printing Pin
Richard MacCutchan20-Jul-12 1:05
mveRichard MacCutchan20-Jul-12 1:05 
GeneralRe: Issue with Printing Pin
Mohibur Rashid20-Jul-12 1:27
professionalMohibur Rashid20-Jul-12 1:27 
GeneralRe: Issue with Printing Pin
Richard MacCutchan20-Jul-12 1:49
mveRichard MacCutchan20-Jul-12 1:49 
GeneralRe: Issue with Printing Pin
Mohibur Rashid20-Jul-12 2:24
professionalMohibur Rashid20-Jul-12 2:24 
GeneralRe: Issue with Printing Pin
Richard MacCutchan20-Jul-12 2:52
mveRichard MacCutchan20-Jul-12 2:52 
GeneralRe: Issue with Printing Pin
Mohibur Rashid23-Jul-12 14:50
professionalMohibur Rashid23-Jul-12 14:50 
QuestionWindows has triggered a breakpoint in exe....... Pin
Andraw11119-Jul-12 9:01
Andraw11119-Jul-12 9:01 
AnswerRe: Windows has triggered a breakpoint in exe....... Pin
Albert Holguin19-Jul-12 9:12
professionalAlbert Holguin19-Jul-12 9:12 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11119-Jul-12 9:56
Andraw11119-Jul-12 9:56 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11119-Jul-12 10:58
Andraw11119-Jul-12 10:58 

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.