You are viewing limited content. For full access, please sign in.

Question

Question

User receiving error when they attempt to select "Page Setup" under "File".

asked on October 14, 2015 Show version history

User receiving the following error when they select "Page Setup" within Workflow. They are attempting to print one of the Workflows.

Value of '-0.1145833' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue.
Parameter name: emSize

Exception
        System.ArgumentException:
Value of '-0.1145833' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue.
Parameter name: emSize

Stack Trace
        at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
        at Laserfiche.UI.Printing.LfPrintDocument.CreatePageNumberFont(Single dpiY)
        at Laserfiche.UI.Printing.LfPrintManager.ShowPageSetupDialog(ISupportPrinting objectToPrint, PageSettings& pageSettings)

Data items: 1
AlreadyLogged: True

0 0

Replies

replied on October 14, 2015

That's ...interesting. The value is calculated based on the font size and the vertical resolution the printer can handle, both of which should be positive.  What if you try a different printer?

0 0
replied on October 15, 2015

He was attempting to print the document 36 in x 36 in. He was printing it to a roll. 

There was no other printer that could handle that size paper. 

We exported the image to a JPEG image and printed it from Paint utility in Windows. 

This time we printed it 42 x 42. 

I am assuming that it may have been the custom page size he set up.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.