May sure you switch to text editing as opposed to visual, you can then copy and paste the embed code from Google 🙂
Enable Email Notifications in Papercut
26 FebConfiguring Email Notifications
Before sending notifications via email, the system needs to know the SMTP server to deliver emails to. The SMTP server can be internal or external to your organization however it must allow forwarding of emails to your users. The SMTP server will typically be the same server that users set in their email application to send emails.
To set the SMTP server:
- Navigate to → .
- Find the Email Options section.
- Enter the SMTP server in the field provided.
- It is also recommended that the subject and from address are changed to be applicable for your environment.
- Press the button.
The following advanced SMTP configuration settings are also available in the configuration editor (see the section called “Using the Config Editor”).
Name | Description |
---|---|
notify.smtp.enable-tls |
Set to Y to enable STARTTLS, or N to disable it. STARTTLS is for connecting to an SMTP server port using a plain (non-encrypted) connection, then elevating to an encrypted connection on the same port. |
notify.smtp.port |
The port to connect to on the SMTP server. Common ports include 25 or 587 for SMTP, and 465 for SMTPS. |
notify.smtp.username |
Username for SMTP authentication. Commonly an email address. |
notify.smtp.password |
Password for SMTP authentication. |
notify.smtp.debug |
Produces extra SMTP related logging for troubleshooting. |
Table 15.6. Advanced email notification (SMTP) settings
Important
Anti-virus software running on the PaperCut server can block/disallow SMTP connections because it attempts to block spam sent by viruses and trojans. Ensure that any anti-virus software is configured to allow PaperCut to make SMTP connections (e.g. add an exception or disable the SMTP blocking).
When anti-virus is blocking email delivery PaperCut NG will log errors like: Mail server connection failed. Software caused connection abort.
. These errors are displayed in the application log or on-screen when performing email notification tests.
If there are other SMTP connection problems, you should check that your firewall allows SMTP connections, and that your SMTP server is configured to accept connections from the PaperCut server.
Veeam Backup service refuses to start
25 FebVeeam backup and replication service is not running
In my case I had renamed the computer from a default WIN234dfasd type name to a ‘much’ better alternative.
Veeam refers to the local computer name in a couple of registry entries and promptly stopped working – which we didn’t notice until later.
The keys are:
HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\SqlServerName
HKLM\SOFTWARE\Veeam\Veeam Backup Catalog\CatalogSharedFolderPath
Backup of the site’s Virtual Machines is now running again.
Papercut on a Mac Server – OSX and iOS Printing
16 FebConfiguring a Macintosh Secondary Print Server
This section describes the process of setting up a secondary Mac print server. The primary Application Server may either be a Windows, Mac or a Linux basis system. PaperCut NG has full support for “mixed” or heterogeneous printing environments.
Before installing a secondary server you should take some time to ensure the primary server (central application server) is set up and running correctly. If it is not running fine now adding an extra server will only “add an extra variable to the equation” and complicate troubleshooting. Take some time now to verify that the primary server is functioning correctly. For example, verify that:
- Printers on this server are being tracked.
- Users are allowed top login to user pages from their workstations.
- Administrators can access the system.
Secondary server needs to communicate (initiate a TCP connection) on port 9191. Administrators should ensure that any firewall software on the primary Application Server is not set to block any incoming local network traffic on this port.
PaperCut NG runs under a non-privileged user account called “papercut”. This invisible system account is created automatically upon first install. Advanced system administrators may however have a preference to create this account manually. If you fall into this category, create the papercut
account now prior to installation.
Install the print provider software onto the secondary server. Download the latest Mac DMG disk image and execute the contained installer called PaperCut NG Secondary Server Installation.pkg
.
The Print Provider on the secondary server needs to know where the primary server is installed. The installer may open the appropriate configuration file after the install completes.
- Open a text editor such as TextEdit.
- Open the file:
[app-path]/providers/print/
mac/print-provider.conf
- Locate the line starting with
ApplicationServer=
and changelocalhost
to the name or IP address of the primary server. - Save the file and exit the text editor.
Double-click on the command script /Applications/PaperCut NG/Control Printer Monitoring.command
, and enable monitoring on the appropriate printers.
Sims LDF File – Shrink!
16 FebCheck to see if the SIMS database is in FULL recovery mode. Connect to the instance using management studio and open the properties of the SIMS database and go to the Options section. If it is, put it into SIMPLE mode. You can then right click the database and go to tasks and shrink the log file where you can release the used space. This should take it back down to around 1Mb in size.
Repair Database – WordPress
13 FebTo allow use of this page to automatically repair database problems, please add the following line to yourwp-config.php
file. Once this line is added to your config, reload this page.
define('WP_ALLOW_REPAIR', true);
Papercut Post Upgrade – Test it all works!
12 FebPaperCut is designed to support fully automated install-over-the-top upgrades. Normally no manual upgrade tasks need to be performed, however like all server-side applications, system administrators should devote some time to testing post upgrade. Administrators may find the following checklist useful. The test plan may equally be applied to new installs or server migrations.
The testing procedure is designed to take no longer than 15-minutes and encompasses operations in all critical areas of the application. It is advisable to print out this page (Printable View link is in the menu on the left) and check off the steps as the tests are performed.
- Verify that administrators (e.g. the built-in
admin
user) can log into the interface at - View the About screen and ensure the expected version number is listed.
- View general cost and system configuration settings and ensure that settings and data are still present after the upgrade:
- User accounts are listed under the Users section
- Shared Accounts listed under the Account section
- Printer cost settings (if used)
- Internet cost settings (if used)
- Historical print and log data
- Verify that end-users can log into the end-user web interface at
http://servername:9191/user
. e.g. use a test account to verify this. - Log into a workstation and ensure that the client starts as expected and list the current logged in user’s account balance (assuming you have deployed the client).
- Perform a small manual adjustment on a test user account (
Users -> [Select User] -> Adjustment & Charges
). Ensure the adjustment is applied to the account balance and the user’sRecent Transactions
as expected. - Print a print job under a test user account and confirm:
- Print jobs list as expected under
Printers -> Print Log
- Ensure the job has charged the user as expected.
- Ensure a corresponding transaction is listed under the user’s recent transactions list.
- Print jobs list as expected under
- If users (or some users) are using the account selection popup to select and charge to shared accounts, perform some printing under an appropriate user account and ensure the popup is working as expected.
- Check the App. Log (Application Event Log) section for any recent Warning or Error level messages.
- If you have any PaperCut NG extensions installed (for example, custom web layout/design, extension modules, or integration with 3rd party systems), perform some tests and ensure these are working/displaying as expected.
- Verify that you have a regular off-disk backup procedure in place and is continuing to backup as per your desired schedule.(editors note: every year we hear horror stories about how someone thought things were backing up. Now is a good time to check!)
- If PaperCut is running on top of an external database system (e.g. Microsoft SQL Server, MySQL, etc.), verify that your off-disk backup procedure includes the host database.
- Do you have any external equipment, scripts, resources? For example, scripts using the PaperCut API? If so, spend some time testing these external resources/services.
- Take some time to explore and play with any new features! The release history page is a good place to start to gain a quick overview of what’s new. Also check out the known issues list for any important notes associated with this release. Generally print management software is pretty run-of-the-mill but we try and slip in an exciting feature in PaperCut from time to time!
Another way of linking a page in wordpress
12 FebPlugin that works on both wordpress and buddypress platforms
Page links to can be downloaded from here