Print Page | Close Window

Print Korean characters

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3662
Printed Date: 29 Apr 24 at 7:34AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Print Korean characters
Posted By: sjnam07
Subject: Print Korean characters
Date Posted: 13 Jan 19 at 3:43PM
Hello

I'm using dll version of QuickPDF library.

I tried to print pdf file which has Korean character and font(Gulim) like this.

int option = DPL.PrintOptions(0, 0, _T("Hello"));
if (DPL.PrintDocument(DPL.GetDefaultPrinterName(), 1, 1, option) != 1) {
TRACE(_T("Failed to print\n"));
}

It prints document well, but all texts are broken.
Is there any additional function to print Korean(Unicode) texts?

Thank you in advance.



Replies:
Posted By: Ingo
Date Posted: 13 Jan 19 at 9:28PM
Which release you're using?
Is it an external pdf or one you've created by yourself?
upload the document anywhere and post the link here.
Then we can test it.




-------------
Cheers,
Ingo



Posted By: sjnam07
Date Posted: 14 Jan 19 at 1:33PM
Hello Ingo,

There are 2 links here.

1. PDF which is created by QuickPDF 16 :  https://www.dropbox.com/s/d4zbvnelr7xzoc2/OriginalDoc.pdf?dl=0" rel="nofollow - https://www.dropbox.com/s/d4zbvnelr7xzoc2/OriginalDoc.pdf?dl=0

I can see this document by QuickPDF 16 with PDFium and Acrobat Reader.

2. PDF which is printed by QuickPDF 16 using "Microsoft Print to PDF" :  https://www.dropbox.com/s/n26jv5gkvt8q66t/PrintedDoc.pdf?dl=0" rel="nofollow - https://www.dropbox.com/s/n26jv5gkvt8q66t/PrintedDoc.pdf?dl=0

Please note that I'm using DLL library.
Thank you very much.


Posted By: Ingo
Date Posted: 14 Jan 19 at 9:19PM
Hi,

what shall i say...? ;-)
Preview (with render functions) inside QuickPDF is okay.
Printing via QuickPDF is okay.
Textextraction via QuickPDF is okay:
"Gulim",#000000,10,"페이지"
"Gulim",#000000,10,"1 / 5"
"Gulim",#000000,20,"시험 결과서 Test results"

This all points to "Microsoft Print to PDF".
Seems it doesn't work together with Gulim?
Try another pdf driver...
System settings... anything else... you have to try... try...




-------------
Cheers,
Ingo



Posted By: sjnam07
Date Posted: 15 Jan 19 at 5:06PM
Hello,

Which renderer do you use?
I'm using PDFium as renderer. Because when I use GDI+ as renderer, all characters are broken same as  https://www.dropbox.com/s/n26jv5gkvt8q66t/PrintedDoc.pdf?dl=0" rel="nofollow - https://www.dropbox.com/s/n26jv5gkvt8q66t/PrintedDoc.pdf?dl=0

It seems that QuickPDF uses only GDI+ to print although I selected PDFium. How can I select renderer to print?

Thank you!


Posted By: Ingo
Date Posted: 15 Jan 19 at 9:58PM
Hi,

i've not a special renderer selected - the standard gdi+ is used.
QuickPDF offers 3 options: gdi+, agg and PDFium.
For the future i think PDFium should be your choice.

if you have a problem you should first try the available online resources.
Step 1:
www.quickpdf.org
Step 2:
choose "documentation (reference guide)"
Step 3:
Click on "Search"
Step 4:
Insert the search string(s)

On the community-/forum-pages you'll find a search function as well:
Above, on the right side, "search", "advanced search", ...

On www.quickpdf.org you'll find the developer guide as well.
Inside there's a chapter regarding "custom printer" - perhaps that's a solution for you.

A thread about how to use the selected renderer:
http://www.quickpdf.org/forum/using-pdfium-renderer_topic3409.html
Other ones have your problem,too:
http://www.quickpdf.org/forum/print-using-selected-renderer_topic3490.html



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk