Personally I have found that fonts have a large impact on the final rendering. Having the Windows fonts available in LibreOffice will help render it correctly, including when rendering pdf. For floating elements the font can have even larger effects because font size will influence placement of object.
Disclaimer: this is my experience in the UI, not in the SavaPage render implementation though.
@nico , good point. Matching fonts as used in .docx to the ones available in LibreOffice is crucial for valid rendering. As SavaPage is concerned, make sure that at least Microsoft True Type Core Fonts are installed on the GNU/Linux host. For more information on font mapping see this entry in the User Manual.
when i upload .xlsx file contains a table , in windows7 os open with microsoft office it shows fine (one page), after i upload to savapage in user page, appears four pagesļ¼please help how can i solve this problem
Hi @xiaobai. Welcome to the community.
Is it possible you upload the excell sheet here (or post a link to where we can download it) so we can investigate your problem?
i upload it here named test.xlsx . link is https:||github.com|zhgitit|printtest (canāt contain link,i use | replace /). i tried many ways but canāt solve the problem , please help
Hi @xiobaiā¦ thanks for your question.
I just looked at the file to see what could be wrong with it.
And in order to do that, I opened it in LibreOffice Calc. There it shows as a single sheet too.
But as soon I export it as pdf, it just doesnāt fit on a A4 page anymore and 4 seperate pages are generated.
IMO it is a matter of sizing.
Remember, SavaPage converts ALL printjobs to PDF first before printing!
Here is the converted pdf: http://interlin.nl/nextcloud/index.php/s/KiAsszdPNJrYETn
Hi @xiaobai, I confirm @robb 's finding. As an alternative to Web Print you can try a Driver Print. In that way you can directly print from MS Office to SavaPage, and tell the PostScript driver to scale the spreadsheet down, for example to a single A4 page.
i have tested in libreoffice gui , when i open the text.xlsxļ¼then click file->print, a preview is shown right side, it shows 2 pagesļ¼not the same in ms officeļ¼only one pageļ¼. before convert to PDF, i think its style has been changed
The User ID (as owner) of the OS session is passed to the SavaPage receiving queue, along with the PostScript stream. If you actually trust this user as authenticated user is a matter of how user trust is configured in your network (AD authentication?). Read the Trusted SavaPage Queue part in the User Manual. And of course, for driver printing to work, the user id must be present in SavaPage either by synchronization with a user source (AD) or as internal user.
Although the server part is Linux only, SavaPage can perfectly act in a Windows network because of Active Directory integration. Windows clients can print to SavaPage with a generic PostScript driver, or use driverless printing like Web Print.
CUPS and SavaPage server must reside on the same machine. If there are valid reasons to separate the two, we will investigate how we can implement this.
thank you , i have another question, why need to convert all files to pdf after uploadingļ¼does cups donāt support direct print files like MS office type?
Thatās correct. CUPS doesnāt support direct print of MS Office documents. Itās not CUPSā job to be a convertor for all kinds of file formats. It supports some common formats, from which PDF and PostScript are the main ones. Reader/editor programs with a printing function are responsible for converting their documents to PDF (or PostScript) and use a printer driver (installed on the OS) to send them to the printer via CUPS.
I cant get an office file to upload at all - I get undefined as an error. server.log shows long dump starting with
2021-06-10 09:32:22,869 ERROR DocContentPrintProcessor:1845 - [jetty-threadpool-261]
Doesnt matter if its docx, xlsx, doc, etcā¦ Other filetypes are fine.