Mobile Print: Advanced Features for Document Scaling and SSL Configuration Options
  • 09 Apr 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Mobile Print: Advanced Features for Document Scaling and SSL Configuration Options

  • Dark
    Light
  • PDF

Article summary

Environment:

Mobile Print 2.3.1.81 and greater.

Uniprint or Blueprint.

Problem:

  1. The email Test in Mobile Print fails a with various SSL Certificate errors such as "Unknown CA Certificate" or "Unable to validate the certificate".

  2. PowerPoint documents are not scaled when rendered and output is smaller or larger than expected.

Items that are addressed in Mobile Print build v2.3.1.81 and greater:

  1. PowerPoint documents (and other types) are not scaled correctly on print when using non-standard paper sizes in the source document.

  2. Paper size selection can be controlled in WorkerConfiguration database configuration to restrict which sizes are presented to printers on job release.

  3. Email server certificate validation can be controlled in EmailServerConfiguration database configuration.


Resolution:

Configuration Notes on how to make the adjustments needed for items 1-3 above.

-------------------

1. Configuring document scaling on print:

Document scaling is on by default for all document types. This provides a 'best fit' for page content on the output page. This can have side effects though, such as shifting the margins for Word documents. If this is undesireble scaling can be turned off per-document type. The setting exists in the DocumentRendererConfiguration stored in the tp_mobileprint_config table in the product database. A renderer can have an additional property defined, DisableScaleOnPrint, for example:

<DocumentRenderers>
      <Name>MobilePrint Word Document Renderer</Name>
      ...
                  <DisableScaleOnPrint>True</DisableScaleOnPrint>
   </DocumentRenderers>

The existing database content should be read out, modified, then written back via:

update tp_mobileprint_config set ConfigData='...' where Category='DocumentRendererConfiguration'

2. Configuring the set of supported paper sizes:

The potential paper sizes which can be presented to the print driver when releasing a document can be pruned via configuration. This can prevent a printer from halting and requiring manual paper size selection if a job is sent using a paper size not present on the printer. The WorkflowConfiguration stored in the tp_mobileprint_config table in the product database can now contain a SupportedPrintPaperSizes property. This property can contain a comma separated list of paper sizes from the following list:

Letter,Ledger,Legal,Statement,Executive,DL,Folio,Quarto,A2,A3,A4,A5,A6,B4,B5,ISOB4

For example:

<WorkerConfiguration xmlns="http://www.pharos.com/MobilePrint/Configuration">;
                    <MaxDocumentConversionTime>00:03:00</MaxDocumentConversionTime>
                                <WorkflowQueuePollPeriod>00:00:01</WorkflowQueuePollPeriod>
                                <SupportedPrintPaperSizes>A4,A3,Letter,Ledger</SupportedPrintPaperSizes>
    </WorkerConfiguration>

If the SupportedPrintPaperSizes property is missing or blank, then the full list above will be in effect.

The existing database content should be read out, modified, then written back via:

update tp_mobileprint_config set ConfigData='...' where Category='WorkerConfiguration'

3. Configuring email server certificate validation:

The level of certificate validation of the configured email server can be controlled via the EmailServerCertificateValidationOptions property in the EmailServerConfiguration stored in the tp_mobileprint_config table in the product database. For example:

<EmailServerConfiguration>
                    ...
                    <EmailServerCertificateValidationOptions>SkipRevocationCheck,IgnoreCnNotMatch</EmailServerCertificateValidationOptions>
                </EmailServerConfiguration>

Note: The syntax supports all the Rebex supported options documented here: https://api.rebex.net/Default.aspx##RebexTotalPack.chm/Html/T_Rebex_Security_Certificates_ValidationOptions.htm

The existing database content should be read out, modified, then written back via:

update tp_mobileprint_config set ConfigData='...' where Category='EmailServerConfiguration'

Additional Note: When printing from PowerPoint, as it was more of a display application than one to print slides from, please see the below article for more PowerPoint printing options. The "Page Size" of the slides should be changed from a display ratio of 4;3 to a normal Letter size page.

https://community.pharos.com/s/article/Print-Center-A-Power-Point-document-printed-via-Print-Center-causes-the-printer-to-request-Executive-size-paper


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.