Click here to Skip to main content
       

Windows API

 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 4:30 
GeneralRe: Looking for a programming language to use PinmvpDave Kreskowiak20-Oct-12 6:45 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 7:00 
GeneralRe: Looking for a programming language to use PinmvpDave Kreskowiak20-Oct-12 11:12 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 23:28 
GeneralRe: Looking for a programming language to use PinmemberEddy Vluggen21-Oct-12 2:12 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי21-Oct-12 2:44 
Questiongetting data from virtual xps printer [modified] Pinmembermiladreisi24-Aug-12 10:09 
i want to create a virtual printer,then get data from virtual printer and process data
 
i use Passthrough XPS driver to get data in xps type
 
then i install redmon to redirect the virtual printer to my c# program
 
my c# program get data and save it in a file,but i can't open file with xps viewer
 
what is the problem?
 
this is my c# code
 
static void Main()
    {
        string fname = Environment.GetEnvironmentVariable("TEMP") + @"\";
        fname += "1.xps";
        FileStream fs = new FileStream(fname, FileMode.Create);
        StreamWriter sw = new StreamWriter(fs);
        StreamReader sr = new StreamReader(Console.OpenStandardInput());
        sw.Write(sr.ReadToEnd());
        sw.Flush();
        sw.Close();
        sr.Close();
    } 
thanks
 
edit: redmon simulate postscript,so it doesn't work with xps

modified 26-Aug-12 14:49pm.

AnswerRe: getting data from virtual xps printer PinmemberRichard Andrew x6424-Aug-12 10:19 
QuestionSQL Connection problem in Windows Service PinmemberMember 799263524-Aug-12 0:17 
AnswerRe: SQL Connection problem in Windows Service PinmemberEddy Vluggen24-Aug-12 0:23 
QuestionWindows 8 unsigned DLLs PinmemberGuy Davidson16-Aug-12 23:38 
AnswerRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 0:11 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 0:41 
NewsRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 2:42 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 3:41 
GeneralRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 3:52 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 5:31 
AnswerRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 5:58 
Questionfind and save emails in the yahoo messenger PinmemberMember 91605777-Aug-12 10:02 
AnswerRe: find and save emails in the yahoo messenger PinmemberRichard Andrew x647-Aug-12 10:35 
Generalhow to get the primary thread ID from a spcified process ID? Pinmemberyph2004010717-Jul-12 22:05 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 3:32 
GeneralRe: how to get the primary thread ID from a spcified process ID? Pinmemberyph2004010718-Jul-12 17:37 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 21:45 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 22 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid