Okular do not print PDF containing vertical direction document. Can print horizontal only document.
Please attach a document you're having trouble with
Created attachment 108357 [details] Can't print this PDF.
It's delivery label of Japan Post. Can print by Evince.
Thanks for the update; changing status.
The file prints fine here. Can you please describe a bit better why do you mean by "Okular do not print PDF" ?
Created attachment 108519 [details] It is a log when printing.
which poppler version are you using?
poppler 0.60.1-1 is installed. poppler-data is 0.4.8-1. Distribution is Arch Linux.
Does print preview work?
It takes a very long time, and nothing is displayed.
This is very confusing since i'm also on arch linux and it works for me. Just checking you have libspectre installed, right? also what's the output of locale on a terminal?
Created attachment 111000 [details] screenshot Thank you for help. output of terminal. [user@archlinux ~]$ sudo pacman -Ss libspectre [sudo] user のパスワード: extra/libspectre 0.2.8-1 [インストール済み] Small library for rendering Postscript documents community/zathura-ps 0.2.5-1 Adds ps support to zathura by using the libspectre library [user@archlinux ~]$ okular kf5.kio.core: KSambaShare: Could not find smb.conf! Settings::instance called after the first use - ignoring rangecheck -15 rangecheck -15 org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [574x812] QImage::scaled: Image is a null image rangecheck -15 rangecheck -15 org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [554x783] QImage::scaled: Image is a null image rangecheck -15 rangecheck -15 org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [80x113] QImage::scaled: Image is a null image ^C [user@archlinux ~]$ locale LANG=ja_JP.UTF-8 LC_CTYPE="ja_JP.UTF-8" LC_NUMERIC="ja_JP.UTF-8" LC_TIME="ja_JP.UTF-8" LC_COLLATE="ja_JP.UTF-8" LC_MONETARY="ja_JP.UTF-8" LC_MESSAGES="ja_JP.UTF-8" LC_PAPER="ja_JP.UTF-8" LC_NAME="ja_JP.UTF-8" LC_ADDRESS="ja_JP.UTF-8" LC_TELEPHONE="ja_JP.UTF-8" LC_MEASUREMENT="ja_JP.UTF-8" LC_IDENTIFICATION="ja_JP.UTF-8" LC_ALL= [user@archlinux ~]$ One line is displayed immediately after startup and the rest are displayed at preview. The preview is displayed after about 20 seconds, but it is blank.
Does comment #12 provide the requested information? Please set the bug status or add a comment.
I have the suspicion that the japanese locale breaks ghostscript as it did use to break with other non english locales, but i have yet to find time to reproduce this issue
I can reproduce this with the attached document on Debian unstable, without Japanese locale: ~~~ $ locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= ~~~ When I start Okular from the command line, the following output appears when opening the print preview (The 'rangecheck -15' actually looks like it may be related to ghostscript.): ~~~~ org.kde.okular.ui: kdeprint: creating preview dialog org.kde.okular.ui: querying trader for application/ps service org.kde.okular.ui: Trying to create a part org.kde.okular.ui: Did not find a config file, attempting to look for old config org.kde.okular.ui: Migrated old okular config Settings::instance called after the first use - ignoring kf5.kxmlgui: Registering action "go_first" under new name "first_page" kf5.kxmlgui: Registering action "go_last" under new name "last_page" org.kde.okular.core: Metadata file is now: "/home/limux/.local/share/okular/docdata/98658189.okular_Lh4595.ps.xml" org.kde.okular.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_ghostview.so" org.kde.okular.core: Output DPI: QSizeF(96.3319, 96.0946) org.kde.okular.generators.spectre: Page count: 1 org.kde.okular.core: request observer=0x5612652d72a0 574x812@0 org.kde.okular.core: sending request observer=0x5612652d72a0 574x812@0 async == true isTile == false org.kde.okular.generators.spectre: receiving PixmapRequest(#94637006877344, async, 574x812, page 0, prio 1) org.kde.okular.core: request observer=0x5612652d72a0 574x812@0 org.kde.okular.core: request observer=0x5612652d72a0 574x812@0 org.kde.okular.core: request observer=0x561265276d30 80x113@0 org.kde.okular.core: request observer=0x5612652d72a0 554x783@0 org.kde.okular.core: request observer=0x5612652d72a0 554x783@0 org.kde.okular.core: request observer=0x5612652d72a0 554x783@0 rangecheck -15 rangecheck -15 org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [574x812] QImage::scaled: Image is a null image org.kde.okular.core: request observer=0x5612652d72a0 554x783@0 org.kde.okular.core: sending request observer=0x5612652d72a0 554x783@0 async == true isTile == false org.kde.okular.generators.spectre: receiving PixmapRequest(#94637006877344, async, 554x783, page 0, prio 1) rangecheck -15 rangecheck -15 org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [554x783] QImage::scaled: Image is a null image org.kde.okular.core: sending request observer=0x561265276d30 80x113@0 async == true isTile == false org.kde.okular.generators.spectre: receiving PixmapRequest(#94637006482736, async, 80x113, page 0, prio 2) rangecheck -15 rangecheck -15 org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [80x113] QImage::scaled: Image is a null image ~~~ (Debian) versions of the packages: * okular 4:17.12.2-2 * libpoppler73 0.62.0-2 * libspectre1 0.2.8-1 * ghostscript 9.22~dfsg-2