How to set full pages printed in Acumatica Report Designer - acumatica

I got the issue in the printing pages in Acumatica (actually the SO644000 in Sale Order => Pick List, the content of the report only fill half of the pages:
This is the SO644000 in Report Designer
Could you guy show me how to setup it print Portrait with content fill all the page like the default landscape (I don't use landscape)
Thanks you for your support

I wasn't able to reproduce your issue.
Open the original unmodified report, go into the Layout section, change Landscape to 'False' and then select PaperKind, this should set the report size for you:
EDIT If default A4 paper kind doesn't work for your use case, use custom size, select A4 PaperKind first to set PaperSize, then switch to Custom paper kind and set Width to PaperSize Width:
Choose PDF report output:
The end result should fit on A4 paper in portrait mode:
Set PrintAtBottom = True for sections you want to display at the bottom of the page:

Related

How do you embed images into Acumatica Report hyperlinks?

We are trying to incorporate an image within a link on an Acumatica report.
We are very close to getting the result we need with the 2018R2 version and have a strategy for a workaround in the 2018R1 version.
The TextBox control Is the only way we have found so far that will allow for setting a hyperlink within an invoice report definition. We are able to set a background image in the Appearance/Style/BackImage property. The only way we can get the whole image to be clickable is to have text span the whole control which is fine if we can set the text font to use a transparent color. Setting the Appearance/Style/Color seems to be the property to do this however when the report is previewed the font gets overridden and displayed as the standard Hyperlink color. The behavior when the report is rendered as a PDF via Acumatica’s email delivery system the font appears white. See Images for a visual.
Transparent Text in Report Preview
Transparent Text in Rendered PDF
There looks to be an Appearance/StyleName property for the TextBox control is there an underlying CSS file that can be further manipulated to also control the LinkText properties to display the LinkText in a transparent font? If yes is there any documentation that would help with doing this.
The 2018R1 versions and prior do not render a clickable link within a PDF if the above strategy is used. Per the ticket, I opened last week on the topic the only way to get this link is to have the whole URL on a single line.
PDFs rendered from a invoice definition hosting a hyperlink will not create a clickable link
This makes it a challenge to control the placement of the image to be centered as well as having only the space within the first line as being clickable. We have solved this in a different ERP system by having multiple links overlapping a background image also using transparent font. This required us to set the Z order so that the link controls are rendered on top of the back-ground image. The Acumatica Report Designer however appears to not have the ability to control Z order. Any attempt to place a link overtop of an image does not achieve the result we are looking for. If we can get this strategy to work we will likely also use it for the 2018R2+ versions to keep things consistent.
This screenshot depicts the strategy attempted.
Are there any other strategies to meet this requirement?
Thanks in advance.
For Version 2018 R2:
You can use the TextBox->Style->BackImage property to show the image and the NavigateUrl property to set the URL link. Html mode doesn't display back image but PDF mode will display it fine and the image link works:
For Version 2018 R1:
Unfortunately I didn't find a way to achieve this because I can't get the text to render transparent when it is located over an image.
There is z-order control (bring to front/send to back) in the report designer toolbar and right click context-menu. The problem here is that while the report designer supports overlapping control the report renderer doesn't. If controls are overlapping, when printing the report the overlapping controls won't get rendered on top of another like they are in the designer.
Having overlapping controls isn't really required here because we can display the image with the Textbox Style->BackImage property or with the Report->Style->BackImage.
It's also possible to make text font size bigger so you don't need multiple text box or set multiline=true with textwrap=false and repeat link on each line.
But the main issue remains rendering transparent text over an image. I couldn't find a way to do that. When there's an image under the text, the text is no longer transparent. That behavior happens for the textbox background image as well as the global report background image. This suggests to me that it might not be possible to put transparent text on top:

Acumatica: Report Design Different When Printed

I noticed that the report's designs preview and printed are different.
I found it that all of the reports are the same.
So I tried to create new test report and notice that background colors are not rendered on print.
How too keep the design when printing?
Design:
+++
Printed:
By default Reports are rendered in HTML mode. As is often the case with HTML, the report as seen in the browser uses a different CSS style then the one sent to the browser print dialog. I'm pretty sure the reason for this is to accommodate printer technology. Printing solid dark backgrounds uses up a lot of ink and text is more legible when it's black text over a white background.
With HTML rendering, browser view and print preview differ to accommodate printer limitations:
HTML was never meant for accurate rendering anyway so I think the CSS change is for the better but if you want exact result just switch to PDF mode which is meant to provide accurate rendering. Print preview should match very closely the PDF rendering in browser when the report is displayed in PDF mode:
It can get tiring to manually switch to PDF each time by clicking the rendering mode button so you can change the default mode in the report configuration:
It is also possible to edit your custom reports or the standard ones so they default to PDF rendering in the browser instead of the current HTML default:
To edit report you will need to install Acumatica Report Designer (it is in Acumatica ERP Windows Installer) and use the EDIT REPORT button and then use Save to Server file menu item in the report designer to save the report modifications:
Have you checked the Background Graphics checkbox in the printing dialog of your printing preview program? It's primarily in the More Settings section.
Please find below example for Google Chrome's dialog:

Can I use an image instead of a title in an Apple Watch app?

How can I put an icon in the top left label and make fullscreen? Apple allocates some space on top for the digital clock and back label. I would like to customize it, but I can't find anything in the SDK to enable this.
The top strip of the Watch screen is reserved for displaying the page title, or occasionally links such as "Cancel" by default for modal views, and the clock. It is not possible to hide this.
It is possible to set an empty title for a page. Some settings will alsoplace a background image behind this text (if you set the mode to 'Aspect Fill', at least in the current Xcode 6.2 beta 3). However, the portion of the image at the top of the screen is simply occluded by a black strip, so this does not achieve what you want.
Additionally, Apple have specifically recommended against displaying logos on the Apple Watch screen, with the rationale that the screen is too small to display for the user anything but actual content.
To set the Global tint:
Select the Interface Controller itself in Interface Builder by clicking on the Yellow circle at the top of the view of the screen.
Press Cmd-Opt-1 to display the File Inspector section of the Utilites on the right hand side.
Set the 'Global Tint' option in the section 'Interface Builder Document', as per the screenshot.
Not possible in the first cut but I think it will come later.
It's not actually a back label. The text in the top left of the Watch screen is the title of the current WKInterfaceController. You can change it by using -[WKInterfaceTitle setTitle:], but you are limited to content that is expressible in an NSString (so no UIImages).
It is possible to customise the status bar in watchOS 4.
Select your interface controller in the storyboard
Open the attributes inspector
Check the Full Screen checkbox
After doing this you can add your custom image to the left of the statusbar.

AUTOCAD: TEXT becomes very small and vertical when placed in title block in layout screen

I am using AUTOCAD 2014, and trying to set up a simple title block (name and date of drawing etc.). The problem is that when I input the text using MTEXT or DTEXT and press escape to end that command the text then becomes very small and barely noticeable in the title block (figure (A) and (B) below). It is also aligned in the vertical plane. Does anyone know a way round this? The Autodesk forum (AUGI) in Nov. 2013, at : TEXT SUDDENLY DISAPPEARS?, also describes this problem but I didn't find it helpful enough to solve it.
Thanks,
Brendan
I don't believe this question belongs in Stack overflow but rather Super User, additionally the reference you provided directs to Revit Architecture forum not AutoCAD 2014.
With that aside, check your WYSIWYG settings during the text editor. You can toggle that, while in the editor, by bringing up the context menu > Editor Settings > Always Display in WYSIWYG. I suspect that your text style is currently configured at a small size and with vertical effect. Check your current STYLE.
The problem was solved by:
using 'context menu' (right click mouse) in the text mode i.e. in DTEXT
follow 'editor settings' to display 'Always Display in WYSIWYG'
In the 'home' tab select 'Annotation' and under 'text style' select 'manage text styles'
Change the 'height' from say 0.13 to 3.0
Then under 'Annotation' again and in 'dimension style' select 'standard' which deselects 'ISO - 25'
This gives a reasonably sized text that is horizontal as opposed to vertical.

ReportViewer page orientation

How can we
change Page Orientation to landscape
set Reportviewer to Legal Page Size or A4.
Thanks
You can create a PageSettings object, set the properties of that to landscape A4 paper size, and assign that to the Report Viewer instance. For example:
System.Drawing.Printing.PageSettings ps = new System.Drawing.Printing.PageSettings();
ps.Landscape = true;
ps.PaperSize = new System.Drawing.Printing.PaperSize("A4", 827, 1170);
ps.PaperSize.RawKind = (int)System.Drawing.Printing.PaperKind.A4;
reportViewer.SetPageSettings(ps);
I tried this a couple of years back. The 'easiest' way to change orientation was simply change the size. (i.e: portrait A4 is 210 × 297 mm and landscape is 297 x 210 mm)
if you are using visual studio 2012 you can go to report property, page setup then you can choose the orientation of the page.
Finding that report property was a pain for me because I could not see that "wrench" icon on the reporting bar (which can be open by right clicking on an empty area at the header and clicking "Reports".
Once you get there, change the Orientation to landscape.
Easy: In properties (right click - report properties) change the page orientation.
And resize the report design to 11 inches width, you can use the ruler (right click - view - ruler) to do it

Resources