tag:infinitekind.tenderapp.com,2009-01-14:/discussions/problems/84186-linux-printing-reportsInfinite Kind: Discussion 2023-01-17T19:20:20Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-12T02:15:40Z2022-10-12T02:15:40ZLinux - Printing reports<div><p>Here's the errlog.txt:</p>
<p>donaldspero@penguin:~/.moneydance$ cat errlog.txt<br>
Starting Moneydance 2022.5 (4091) at Tue Oct 11 21:47:03 EDT 2022<br>
Settings Folder: /home/donaldspero/.moneydance<br>
OS: Linux 5.10.131-19114-g6651b07c6153 amd64<br>
Architecture: unknown<br>
Java: 18.0.1 (Eclipse Adoptium)<br>
Is in sandbox: false; restricted file access: false<br>
Library path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib<br>
initialized extension moneyforesight in 0.116 seconds<br>
python.path: /home/donaldspero/.moneydance/python<br>
python.cachedir: /home/donaldspero/.moneydance/python/cache<br>
python.cachedir.skip: false</p>
<p>##################################################################### toolbox: toolbox_init.py initializer script running - doing nothing - will exit....<br>
#####################################################################</p>
<p>initialized extension toolbox in 0.162 seconds<br>
Font initialisation attempted from non-UI thread. Hopping over to dispatch thread...<br>
Initializing fonts:<br>
default: [[Noto Sans, Dialog]] printing: [[Dialog]] monospaced: [[Noto Sans, Monospaced]] coding: [[Hack, Monospaced]] fonts resolved:<br>
default: Noto Sans:17.0:style0 mono: Noto Sans:17.0:style0 coding: Hack:17.0:style0 print: Dialog:12.0:style0 header: Noto Sans:19.0:style0 register: Noto Sans:16.0:style0 reportTitle: Noto Sans:32.0:style0 calendarTitle: Noto Sans:16.0:style0 reportHeader: Noto Sans:15.0:style0 detailTitle: Noto Sans:19.0:style0 Setting look and feel class to com.formdev.flatlaf.FlatDarkLaf<br>
Font initialisation attempted from non-UI thread. Hopping over to dispatch thread...<br>
opening last file: Spero<br>
loading dataset: /home/donaldspero/.moneydance/Documents/Spero.moneydance<br>
loading with 128 bit encryption key<br>
reading trunk data tiksync/trunk<br>
trunk data loaded (0.065 seconds), checking for incremental updates<br>
loading un-synced txn files...<br>
loading synced txn files...<br>
replacing root: null () with new root: Spero (7d403020-30d7-4cfc-9460-5914cb4a6ded</p>
<hr>
<h2><a name="toolbox-quick-information-" class="anchor" href="#toolbox-quick-information-"></a>Toolbox - quick information:</h2>
<p>MD CONSOLE FILE LOCATION: '/home/donaldspero/.moneydance/errlog.txt'</p>
<h2><a name="md-config-preferences-location-39-home-donaldspero-moneydance-config-dict-39-" class="anchor" href="#md-config-preferences-location-39-home-donaldspero-moneydance-config-dict-39-"></a>MD CONFIG/PREFERENCES LOCATION: '/home/donaldspero/.moneydance/config.dict'</h2>
<p>BACKUPS - Save Daily: True<br>
BACKUPS - Keep no more than: 5 backups<br>
BACKUPS - Separate Backup Foldr: True<br>
BACKUPS - Backup Folder: '/home/donaldspero/Downloads/Moneydance backup' (backup location exists)<br>
..key - 'backup.location': '/home/donaldspero/Downloads/Moneydance backup' ..key - 'backup.last_browsed': '' ..key - 'backup.last_saved': '/home/donaldspero/Downloads/Moneydance backup'</p>
<h2><a name="-key-39-_default_backup_dir-39-39-not-set-39-" class="anchor" href="#-key-39-_default_backup_dir-39-39-not-set-39-"></a>..key - '_default_backup_dir': ''</h2>
<p>System Default Locale Cty/Lang: 'US' / 'en'<br>
MD Preference Locale Ctry/Lang: 'US' / 'en'<br>
MD Locale Cty/Lang: 'US' / 'en'</p>
<h2><a name="moneydance-decimal-point-39-39-" class="anchor" href="#moneydance-decimal-point-39-39-"></a>Moneydance decimal point: '.'</h2>
<p>MD EXECUTION MODE: 2 (Normal)<br>
JVM - Available processor cores: 12<br>
JVM - Maximum memory possible: 1.1 GB</p>
<h2><a name="jvm-total-memory-allocated-0-2-gb-used-0-1-gb-free-0-1-gb-" class="anchor" href="#jvm-total-memory-allocated-0-2-gb-used-0-1-gb-free-0-1-gb-"></a>JVM - Total memory allocated: 0.2 GB (used 0.1 GB / free 0.1 GB)</h2>
<p>Update info received with successful signature verification</p>
<h2><a name="version-info-retrieved-we-are-up-to-date-" class="anchor" href="#version-info-retrieved-we-are-up-to-date-"></a>Version info retrieved; we are up to date!</h2>
<p>JVM - Maximum memory possible: 1.1 GB</p>
<h2><a name="jvm-total-memory-allocated-0-2-gb-used-0-1-gb-free-0-1-gb-_1" class="anchor" href="#jvm-total-memory-allocated-0-2-gb-used-0-1-gb-free-0-1-gb-_1"></a>JVM - Total memory allocated: 0.2 GB (used 0.1 GB / free 0.1 GB)</h2>
<hr>
<p>JVM - Maximum memory possible: 1.1 GB</p>
<h2><a name="jvm-total-memory-allocated-0-2-gb-used-0-1-gb-free-0-1-gb-_2" class="anchor" href="#jvm-total-memory-allocated-0-2-gb-used-0-1-gb-free-0-1-gb-_2"></a>JVM - Total memory allocated: 0.2 GB (used 0.1 GB / free 0.1 GB)</h2></div>donaldsperotag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-13T18:43:44Z2022-10-13T18:43:44ZLinux - Printing reports<div><p>Hello.</p>
<p>Help!</p></div>donaldsperotag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-14T08:21:39Z2022-10-14T08:21:39ZLinux - Printing reports<div><p>Sorry to hear about the issues you've encountered. I’m sorry to keep you waiting, but I’d like to run your query past the development team who may be able to provide further information.</p>
<p>--<br>
Maddy, Infinite Kind Support</p></div>Maddytag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-16T02:05:54Z2022-10-16T02:05:54ZLinux - Printing reports<div><p>Thank you. I wish the system would notify me by email when you respond.</p></div>donaldsperotag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-17T10:15:23Z2022-10-17T10:15:23ZLinux - Printing reports<div><p>Hi Donald,<br>
please find the link to this discussion <a href="https://infinitekind.tenderapp.com/discussions/problems/84186-linux-printing-reports">here</a>. Normally you should receive an email for each update/post added to the discussion.</p>
<p>In order to be able to investigate this issue further, could you send us the contents of your error console generated immediately after you have tried to print a PDF attachment? Here's how to get the logs:</p>
<p>1) In Moneydance, click on the Help menu and select the Console Window option. This will open the console messages window.<br>
2) While the Console Window is open, attempt to print an attachment. Any error messages should be recorded to the Console.<br>
3) Select all of the text in the Console and use the "Copy to Clipboard" button at the bottom to copy the text.<br>
4) Paste the text from the message window into a text file (preferably saved with a .txt extension) and attach that file to your response here.</p>
<p>Thank you</p>
<p>--<br>
Maddy, Infinite Kind Support</p></div>Maddytag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-17T19:29:05Z2022-10-17T19:29:05ZLinux - Printing reports<div><p>Initiated a budget report with printing. Print dialog showed my printer (Brother DCP-L2540DW) and on print received the error message first submitted above.</p>
<p>Text file is attached.</p>
<p>I do not receive any notification when a comment is made on this discussion.</p></div>donaldsperotag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-17T19:35:39Z2022-10-17T19:35:39ZLinux - Printing reports<div><p>This is probably relevant.</p>
<p>Caused by: java.io.IOException: Cannot run program "/usr/bin/lpr": error=2, No such file or directory</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-17T19:42:24Z2022-10-17T19:42:24ZLinux - Printing reports<div><p>See this link. I know it’s Arduino, but seems the same issue and it’s Linux based. Might give a clue?</p>
<p><a href="https://forums.raspberrypi.com/viewtopic.php?t=274302">https://forums.raspberrypi.com/viewtopic.php?t=274302</a></p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-17T19:45:39Z2022-10-17T19:45:39ZLinux - Printing reports<div><p>Also read this. Printing from the xxx Desktop uses Java methods to print, …….<br>
This exception occurs because the JVM used on Linux has been coded to use '/usr/bin/lpr' as the system command, but the 'lpr' command may exist in another location on your system, such as 'usr/local/bin/lpr'. It is currently not possible to change the location where the JVM looks.<br>
As a workaround, you can create a symbolic link, so that '/usr/bin/lpr' points to the actual location of the 'lpr' command on your system.</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-18T19:12:17Z2022-10-18T19:12:17ZLinux - Printing reports<div><p>Thanks.</p>
<ol>
<li>
<p>Support responses to this discussion were diverted to my junk mail folder. Bad, but now fixed.</p>
</li>
<li>
<p>Stuart's direction in the 2 previous comments were on target. From my terminal command line the entry<br>
sudo apt-get install cups-bsd did the trick. Report print dialog continues to show my printer (probably from prior CUPS install), but it is designated as "color" which cannot be changed but does allow duplex printing. The report prints negative numbers in a very light grayscale. I guess that is CUPS issue ... or does Moneydance coding have some control over the printer dialog?</p>
</li>
</ol>
<p>So my initial printing problem has been <em>solved</em> ... just the finer points to address.</p>
<p>I'm seriously considering selling the Brother DCP-L2540DW and going with an HP which I've read uses HPLIP for it's IPP printing (HP Laserjet Pro MFP234sdwe)</p></div>donaldsperotag:infinitekind.tenderapp.com,2009-01-14:Comment/560555322022-10-18T19:15:36Z2022-10-18T19:15:36ZLinux - Printing reports<div><p>👍</p></div>Stuart Beesley (Mr Toolbox)