Opened 8 years ago
Last modified 3 years ago
#13313 closed bug
Print to file (PDF) not working... — at Version 23
Reported by: | bruno | Owned by: | phoudoin |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Printing | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86-64 |
Description (last modified by )
using Haiku 64bit x86 hrev55736 with StyleEdit...
Trying to print text to pdf with noto sans.ttf font.
Change History (28)
comment:1 by , 8 years ago
Component: | - General → Printing |
---|---|
Description: | modified (diff) |
Owner: | changed from | to
Platform: | x86 → All |
Priority: | blocker → normal |
comment:2 by , 8 years ago
by , 8 years ago
comment:4 by , 8 years ago
I tried to replicate with slighly different result. Print to file from StyledEdit text document with PDF Writer causes the print_add-on_server to hang, one CPU core to peg at 100%, and no data in preview window. However, the PDF is created, and displays correctly when opened with BePDF. I attached the debugger to the print_add-on_server, and have attached reports for the debugged threads.
by , 8 years ago
Attachment: | print_addon_server-773-debug-18-02-2017-16-05-10.report added |
---|
by , 8 years ago
Attachment: | print_addon_server-773-debug-18-02-2017-16-05-40.report added |
---|
by , 8 years ago
Attachment: | printallpages.png added |
---|
by , 8 years ago
Attachment: | errorlog.png added |
---|
comment:7 by , 6 years ago
Platform: | All → x86-64 |
---|
Just stumbled upon this bug and can confirm that printing to PDF works under 32 bit Haiku and doesn't under x86_64. Under 32 bit Haiku PDF Writer causes the print_add-on_server to hang, one CPU core to peg at 100% as reported above.
comment:9 by , 4 years ago
Is the PDF Writer source code hosted here https://github.com/HaikuArchives/PDFWriter ?
comment:10 by , 4 years ago
comment:11 by , 4 years ago
I tried hrev54549 and it works fine. Although initially I recompiled the printer addon from source and put it in non-packaged. I tried it and it worked. Then i removed the addon from there, and it was also removed from system.
follow-up: 15 comment:14 by , 4 years ago
I just tried again, and it does not work for me... Got a blank white page, and I am not able to choose the right font. I have only Helvetica to choose from. Maybe because I have all other fonts in my non-packaged folder?
comment:15 by , 4 years ago
Replying to bruno:
I just tried again, and it does not work for me... Got a blank white page, and I am not able to choose the right font. I have only Helvetica to choose from. Maybe because I have all other fonts in my non-packaged folder?
Did you try on master or on beta2 ?
comment:16 by , 4 years ago
Tried again: with the stock PDF Writer addon, it doesn't work. With the PDF Writer addon compiled from source and put into /boot/system/non-packaged/addons/Print, it works.
comment:17 by , 4 years ago
In hrev54972, I see that there are no PDFWriter to choos from if you like to make a new PDFPrinter. Nor are there any PDFWriter file under add-on, Printer. So I guess the drivers missing? There are no PDFWriter source code ether in Haiku.
So a workaround. Download PDFWriter from HaikuDepot. Remove the printer Print To PDf and make a new one. (can be same name), Choose PDFWriter and Print To File.
comment:18 by , 4 years ago
It is unclear if this bugreport is about a bug in PDF Writer (in which case it should be moved there) or a more general bug with the print kit. Do other printers work properly?
comment:20 by , 4 years ago
Or that Haiku har the PDFWriter in printer option but the driver don't exist from start, kan it be a jam file that puts it there?
comment:21 by , 4 years ago
Tested and fixed. See: https://github.com/haikuports/haikuports/pull/5937
comment:22 by , 3 years ago
Description: | modified (diff) |
---|
Maybe I have no pdf writer translation tool anymore? Maybe I deleted it by accident in the printer preferences window?
The "Ok" Button is greyed out now!? See: http://0x0.st/-Cjn.png
Print to file is missing too? http://0x0.st/-CjR.png
comment:23 by , 3 years ago
Description: | modified (diff) |
---|
As the ticket says "using Haiku x86 hrev50955", I assume it's a gcc5-only build? On gcc2hybrid hrev50953 at least, printing to PDF workd for me with StyledEdit, BePDF, Showimage and (badly) Terminal.