PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

Printing directly a pdfSharp created in Memory
http://forum.pdfsharp.com/viewtopic.php?f=2&t=1028
Page 1 of 1

Author:  aosand [ Tue Jan 19, 2010 3:51 pm ]
Post subject:  Printing directly a pdfSharp created in Memory

I'm using PDFSharp to create in memory (memoryStream) the image and text for files.
I'm sending the memorystream as an attachment and the file is correct.
Now I'm trying to send the bytes directly to the printer using the RAWPrinterHelper class from msdn samples.
http://support.microsoft.com/kb/322091/en-us
The printed image is correct but the text is written in mirror, from left to right.

I'm using gfx.Drawstring and when I have a paragraph I'm using MigraDoc.Rendering.DocumentRenderer RenderObject.
When I save the file to the disk, if is open with Adobe and printed with Adobe, the file is correct.
If I'm printing with the code of support.microsoft.com, the text is in mirror.

I'm using pdfsharp 1_2_beta and Migradoc.


Thank you.

Author:  aosand [ Tue Jan 19, 2010 4:15 pm ]
Post subject:  Re: Printing directly a pdfSharp created in Memory

:oops:
I want to make a correction of my latest post.
The text is written from right to left,in mirror, when I'm sending the bytes of pdfSharp created in memory.

Author:  seehle [ Thu Jul 15, 2010 12:33 pm ]
Post subject:  Re: Printing directly a pdfSharp created in Memory

Has this issue been sorted yet? I'm facing the same thing as well, and I desperately need it resolved. :(

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/