Click here to Skip to main content
15,884,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Printer Control Pin
Richard MacCutchan28-Aug-16 22:19
mveRichard MacCutchan28-Aug-16 22:19 
GeneralRe: Printer Control Pin
Bram van Kampen1-Sep-16 13:37
Bram van Kampen1-Sep-16 13:37 
GeneralRe: Printer Control Pin
Richard MacCutchan1-Sep-16 23:37
mveRichard MacCutchan1-Sep-16 23:37 
GeneralRe: Printer Control Pin
Bram van Kampen4-Sep-16 15:24
Bram van Kampen4-Sep-16 15:24 
GeneralRe: Printer Control Pin
Bram van Kampen4-Sep-16 15:30
Bram van Kampen4-Sep-16 15:30 
GeneralRe: Printer Control Pin
Richard MacCutchan4-Sep-16 21:39
mveRichard MacCutchan4-Sep-16 21:39 
GeneralRe: Printer Control Pin
Bram van Kampen6-Sep-16 16:03
Bram van Kampen6-Sep-16 16:03 
GeneralRe: Printer Control Pin
Richard MacCutchan6-Sep-16 21:35
mveRichard MacCutchan6-Sep-16 21:35 
When I look at an XPS print file it looks something like:
PK   µC'I               Metadata/Job_PT.xmlíW]s¢H}ߪý)Þ' &Ùh%NÝ4ZÁØ }Cè`|
´¢óë÷¶ã̬‰™™§éòš{Îážþ¸póqGgK–<Mn•Ê¹¦œ±ÄOž„·Š3l¸V>6ÿþë&+žƒœ'bÈý9gKŠöÞ*3!²†ªþŒÅ^qs?O‹ôIœûi¬–<	Ò²P«šVSµk5"H¾=Øbžr/fešÏ•íªà{Ú²,ÏËÚyš‡’£¢>š÷öõ'…🽠‚·QÊA²ÏÀ¤Ð°žÈ•ŠŸÿJdÎÖ˜FP¨{è*

which is fine, and the XPS reader opens it OK.

As to why you cannot read yours is a total mystery. If you are using all the standard APIs (or their MFC equivalents) to create your print files, then they should at least be readable.

Try changing the extension from .xps to .zip and have a look at the content then.
GeneralRe: Printer Control Pin
Bram van Kampen8-Sep-16 14:18
Bram van Kampen8-Sep-16 14:18 
GeneralRe: Printer Control Pin
Richard MacCutchan8-Sep-16 22:37
mveRichard MacCutchan8-Sep-16 22:37 
GeneralRe: Printer Control Pin
Richard MacCutchan4-Sep-16 22:40
mveRichard MacCutchan4-Sep-16 22:40 
QuestionCustom Slider control messages cannot be caught Pin
AlbertB25-Aug-16 2:54
AlbertB25-Aug-16 2:54 
AnswerRe: Custom Slider control messages cannot be caught Pin
Richard MacCutchan25-Aug-16 3:47
mveRichard MacCutchan25-Aug-16 3:47 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB25-Aug-16 4:39
AlbertB25-Aug-16 4:39 
GeneralRe: Custom Slider control messages cannot be caught Pin
Richard MacCutchan25-Aug-16 4:59
mveRichard MacCutchan25-Aug-16 4:59 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB25-Aug-16 5:54
AlbertB25-Aug-16 5:54 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:23
Bram van Kampen27-Aug-16 16:23 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB27-Aug-16 17:30
AlbertB27-Aug-16 17:30 
GeneralRe: Custom Slider control messages cannot be caught Pin
leon de boer28-Aug-16 22:27
leon de boer28-Aug-16 22:27 
GeneralRe: Custom Slider control messages cannot be caught Pin
AlbertB29-Aug-16 3:17
AlbertB29-Aug-16 3:17 
GeneralRe: Custom Slider control messages cannot be caught Pin
leon de boer29-Aug-16 5:34
leon de boer29-Aug-16 5:34 
AnswerRe: Custom Slider control messages cannot be caught Pin
Stephen Hewitt25-Aug-16 6:33
Stephen Hewitt25-Aug-16 6:33 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:10
Bram van Kampen27-Aug-16 16:10 
GeneralRe: Custom Slider control messages cannot be caught Pin
Bram van Kampen27-Aug-16 16:15
Bram van Kampen27-Aug-16 16:15 
QuestionCEdit::SetHighlight Pin
AlecJames25-Aug-16 0:48
AlecJames25-Aug-16 0:48 

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.