Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline leopold  
#1 Posted : 31 January 2017 20:37:48(UTC)
leopold

Rank: Newbie

Groups: Registered
Joined: 17/03/2013(UTC)
Posts: 8
Austria

Hi, first of all let me thank you for this great program.
I use it with Windows and Linux. (And I would really like to use it native on my Mac).

The only drawback in Linux is, its impossible to print for me. Neither the system printer nor the
pdf-subsystem work. Is anybody out, wh has any hint for me?

Thanks in advance
Leopold

Edited by moderator 01 February 2017 12:00:05(UTC)  | Reason: marked as issue

Offline mkraska  
#2 Posted : 31 January 2017 21:15:57(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,625
Germany

Was thanked: 909 time(s) in 571 post(s)
Did you try File> Save as> File format: PDF?

This works for me in a virtual linux box under Win 7

You need the pdf files plugin.

If you use the portable distribution (link in signature), many plugins are pre-installed (the maxima plugin, however, does not work under linux)

pdfexport.png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://en.smath.info/wi...th%20with%20Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 31/01/2017(UTC)
Offline leopold  
#3 Posted : 31 January 2017 21:22:57(UTC)
leopold

Rank: Newbie

Groups: Registered
Joined: 17/03/2013(UTC)
Posts: 8
Austria

Martin many thanks,

but printing via Windows weather in a real or in a virtual machine is not a problem for me. This works flawlessly. Also with a "real" printer.
My question targeted the Linux version mit mono. And within this version it is not possible to save the file as a *.pdf.
And also printing to a real printer does not work for me.

Greetings from Austria
Leopold
Offline mkraska  
#4 Posted : 31 January 2017 22:15:31(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,625
Germany

Was thanked: 909 time(s) in 571 post(s)
Originally Posted by: leopold Go to Quoted Post
Martin many thanks,

but printing via Windows weather in a real or in a virtual machine is not a problem for me. This works flawlessly. Also with a "real" printer.
My question targeted the Linux version mit mono. And within this version it is not possible to save the file as a *.pdf.
And also printing to a real printer does not work for me.

Greetings from Austria
Leopold


Actually, the VM runs ubuntu and SMath is executed with mono in the screenshot. The displayed pdf is generated by save as under linux. As I said, you need to install the pdffiles plugin by Andrey Ivashov.
I believe that this is not affected by whether linux is run on a virtual or physical machine.

BTW, this is also advisable unter windows, as it avoids the usual font size problems when printing directly (depending on dpi settings the region scaling is a bit unreliable.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://en.smath.info/wi...th%20with%20Plugins.ashx
Offline leopold  
#5 Posted : 31 January 2017 22:38:49(UTC)
leopold

Rank: Newbie

Groups: Registered
Joined: 17/03/2013(UTC)
Posts: 8
Austria

Hello Martin, sorry!
Ich did not understand you correctly.
I tried to enable the pdf-extension, but I could not find it in the extension-manager.
So I assume I have to download this extension and install it by myself. Never tried this. Are there any hints?

Thanks in advance
Leopold
Offline leopold  
#6 Posted : 31 January 2017 22:42:11(UTC)
leopold

Rank: Newbie

Groups: Registered
Joined: 17/03/2013(UTC)
Posts: 8
Austria

Martin I alredy found it by reading your docu!

Many thanks!
Offline Eric Myers  
#7 Posted : 16 October 2020 23:07:09(UTC)
Eric Myers


Rank: Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 28
United States

Was thanked: 3 time(s) in 3 post(s)
Does anyone currently using the Linux Mono version have a workable method for printing? Nothing I've found so far is satisfactory.

Here are images of a page in SMath compared to the printed results- the SMath file is neatly formatted, but the printed version is badly hosed up. It seems like some things are being scaled larger than they should be.
smath_page.pngprint_output.png

I've tried using the PDF Files add-on, but other than headers and footers the pages are blank. The headers and footers do look correct in that case though.

Saving as an image looks good, but that only gives a long strip of the entire file rather than individual pages, and does not include page headers and footers.
Offline overlord  
#8 Posted : 17 October 2020 00:22:05(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 152
Turkey

Was thanked: 43 time(s) in 31 post(s)
Same here. Installed pdf export, cups/cups-pdf, etc. Either wrong alignment and font issues or blank files.
Only svg export works, sort of. Although equal signs or some other things are corrupted on it too.
Trying to find a solution for this about a week.

Regards
Offline Andrey Ivashov  
#9 Posted : 17 October 2020 11:40:02(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,426
Man
Russian Federation

Was thanked: 1681 time(s) in 566 post(s)
I will check it today.
Offline Andrey Ivashov  
#10 Posted : 18 October 2020 10:23:33(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,426
Man
Russian Federation

Was thanked: 1681 time(s) in 566 post(s)
Originally Posted by: Eric Myers Go to Quoted Post
I've tried using the PDF Files add-on, but other than headers and footers the pages are blank. The headers and footers do look correct in that case though.

Originally Posted by: overlord Go to Quoted Post
Same here. Installed pdf export, cups/cups-pdf, etc. Either wrong alignment and font issues or blank files.


Please try out this version: https://en.smath.com/file/LTzgd

I've installed Ubuntu 20 and after several hours of debugging discovered a bug in Mono which was a reason why you had header/footer visible only when saving to PDF. Found a workaround, so you can test if it works for you.
Please let me know about results.

Edited by user 18 October 2020 11:12:13(UTC)  | Reason: Not specified

Offline overlord  
#11 Posted : 18 October 2020 16:50:37(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 152
Turkey

Was thanked: 43 time(s) in 31 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
Please try out this version: https://en.smath.com/file/LTzgd

I've installed Ubuntu 20 and after several hours of debugging discovered a bug in Mono which was a reason why you had header/footer visible only when saving to PDF. Found a workaround, so you can test if it works for you.
Please let me know about results.

Out of this topic, as I mentioned before bold and italic font issue remains.
PDF export works well but not "scalable" like genuine pdf print, after all pages is converted to images.
It is usable though, well done Andrey, thanks.

+ PDF Export totally works; (nicely done)
+ Only header-footer printed issues resolved;
+ Linux Cups-Pdf printing issues remain;
- Font size;
- Alignment;
- Images are sometimes half, not sure why;
- Tables are empty (can be related to font size);
+ There is an odd behaviour on printing with cups also;
- If you create a new file and do some calculation and try to print it, it won't. Blank pdf file.
- If you edit an old file, clear it, put same calculation into it (either write from scratch or copy into it) it will print.
- Totally identical files gives this bug too. I have edited example file with notepad to make them same except id's. Bug remains.

Here I am attaching all experimentation files.
Regards

bombe_en2_cupspdf.pdf (89kb) downloaded 4 time(s).
bombe_en2_pdfexport.pdf (123kb) downloaded 2 time(s).
**
example_copied into old smath file.sm (5kb) downloaded 1 time(s).
Untitled__PDF-job_59.pdf (36kb) downloaded 2 time(s).
**
example_written to new file.sm (5kb) downloaded 1 time(s).
Untitled__PDF-job_61.pdf (2kb) downloaded 1 time(s).
**
viscosity_copied into old smath file.sm (71kb) downloaded 2 time(s).
Untitled__PDF-job_60.pdf (107kb) downloaded 1 time(s).
**
viscosity_written to new file.sm (71kb) downloaded 2 time(s).
Untitled__PDF-job_62.pdf (2kb) downloaded 1 time(s).
Offline Eric Myers  
#12 Posted : 18 October 2020 20:13:20(UTC)
Eric Myers


Rank: Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 28
United States

Was thanked: 3 time(s) in 3 post(s)
Andrey, this is a huge improvement. Until now my solution was to save as an image and manually chop it into page-sized chunks. This is so much less work, and gives the headers as well!
Offline Jean Giraud  
#13 Posted : 19 October 2020 01:17:19(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,782
Canada

Was thanked: 800 time(s) in 634 post(s)
Just comments:
1. What's that (\0 0B0\C) on my SS 6179
2. Triple point of water is 0.01 °C ... not 0 !
3. Engineering works "cP"

Inst_Viscosity Water.sm (44kb) downloaded 2 time(s).
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.