Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bug Tracking Pin
Scott H. Settlemier6-Feb-03 16:38
Scott H. Settlemier6-Feb-03 16:38 
GeneralTransmitFile Pin
Abbas_Riazi4-Feb-03 17:36
professionalAbbas_Riazi4-Feb-03 17:36 
GeneralRe: TransmitFile Pin
Neville Franks4-Feb-03 18:49
Neville Franks4-Feb-03 18:49 
GeneralHelp me get rid of _bstr_t !!! Pin
LukeV4-Feb-03 14:49
LukeV4-Feb-03 14:49 
GeneralRe: Help me get rid of _bstr_t !!! Pin
Christian Graus4-Feb-03 15:24
protectorChristian Graus4-Feb-03 15:24 
GeneralPDF text extraction Pin
StuartHall4-Feb-03 13:36
StuartHall4-Feb-03 13:36 
GeneralRe: PDF text extraction Pin
Christian Graus4-Feb-03 15:26
protectorChristian Graus4-Feb-03 15:26 
GeneralRe: PDF text extraction Pin
Harold Bamford6-Feb-03 9:57
Harold Bamford6-Feb-03 9:57 
A technique I have found useful for PDF document that have copy protection turned on (so you cannot just cut&paste the text or such like) is to do the following:

Add a dedicated-purpose printer, Name=PSPrinter, based on some good Postscript printer (say, HP LaserJet 5000 Series PS). Set the port to FILE.

Then print the PDF to a postscript file using AcroRd32.exe like:

AcroRd32.exe /n /t file.pdf PSPrinter "HP LaserJet 5000 Series PS" file.ps

(use full pathnames for everything here)

The resulting file.ps is easily parsed for text or (if it is well-behaved) passed to GhostView which allows for search and extract of text.

Note: you cannot just print to a "Generic/Text" printer as AcroRd32.exe will often refuse to print to a printer that cannot make an exact copy (for this very reason, I suspect).

Good luck!


QuestionHow can I set a row selected in a CListCtrl control? Pin
ElizabethC4-Feb-03 13:21
ElizabethC4-Feb-03 13:21 
AnswerRe: How can I set a row selected in a CListCtrl control? Pin
Michael Dunn4-Feb-03 13:24
sitebuilderMichael Dunn4-Feb-03 13:24 
QuestionHow do you get "lpszClassName"? Pin
Abin4-Feb-03 13:05
Abin4-Feb-03 13:05 
AnswerRe: How do you get "lpszClassName"? Pin
Erik Funkenbusch4-Feb-03 14:16
Erik Funkenbusch4-Feb-03 14:16 
AnswerRe: How do you get "lpszClassName"? Pin
Alvaro Mendez4-Feb-03 14:44
Alvaro Mendez4-Feb-03 14:44 
GeneralRe: How do you get "lpszClassName"? Pin
Abin4-Feb-03 21:04
Abin4-Feb-03 21:04 
GeneralRe: How do you get "lpszClassName"? Pin
HENDRIK R4-Feb-03 21:37
HENDRIK R4-Feb-03 21:37 
GeneralCMDIFrameWnd question Pin
brigham_young4-Feb-03 13:02
brigham_young4-Feb-03 13:02 
Generalouputting a CImage bitmap to a dialog. Pin
_psh_4-Feb-03 12:02
_psh_4-Feb-03 12:02 
GeneralRe: ouputting a CImage bitmap to a dialog. Pin
Christian Graus4-Feb-03 15:27
protectorChristian Graus4-Feb-03 15:27 
GeneralON_WM_KEYDOWN() question Pin
trustno14-Feb-03 11:56
trustno14-Feb-03 11:56 
GeneralRe: ON_WM_KEYDOWN() question Pin
Alvaro Mendez4-Feb-03 14:54
Alvaro Mendez4-Feb-03 14:54 
GeneralWorking with decimal type in C++ Pin
paulb4-Feb-03 11:47
paulb4-Feb-03 11:47 
GeneralRe: Working with decimal type in C++ Pin
Anders Molin4-Feb-03 11:50
professionalAnders Molin4-Feb-03 11:50 
GeneralRe: Working with decimal type in C++ Pin
Nitron4-Feb-03 13:36
Nitron4-Feb-03 13:36 
QuestionDoh.. Why no 3D look!? Pin
Rickard Andersson204-Feb-03 11:27
Rickard Andersson204-Feb-03 11:27 
AnswerRe: Doh.. Why no 3D look!? Pin
Zoltan Csizmadia4-Feb-03 11:31
Zoltan Csizmadia4-Feb-03 11:31 

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.