Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How can arrange printer setting for report ?

Featured Replies

Hi all,

As per mentioned on title ,I have two report in different layout in my database .I hope find script to solve my issue without change orientation every time manual. I have two type  setting to report print.
 - First report print need landscape.
 - second report print news portrait.

249258669_printersetting.thumb.png.43d0c44f2ac3605b36a69b9d7f65213e.png

Your script doesn't print.  

How do you determine which report is first or second.
Basically...

-Get the right record.

-Print Setup //with correct parameters

-Print

-Go to other record

-Print Setup //change parameters

-Print.

Something that may help as your solution grows, is you may want to make dedicated separate print scripts, one for each orientation, and one for current records, current found set, for each printer.  Because at some point, you're going to get a new printer, and then you'll have to hunt thru the entire solution looking for all your Print Setup and Print script steps to modify them.

  • Author

Thanks for reply but I will explain more my purpose cos your reply different what I need.

First report I will be landscape in visitor list layout:

1841489496_visitorreport.png.54c0855dbf13a5af6e14e7f51d5f1b69.png

Script:

1380341302_scriptvisitorlist.thumb.png.c77096caa828db18a3452e03d3ac78a0.png

Second report for Accident Layout:

700282447_accidentreport.png.08b41edddbd78d1a031d5afc24736636.png

Script :

944193323_printersetting.thumb.png.6891260734cd235d938068f77a503b96.png

 

I hope to be clear  now :)  

 

Edited by Msaeed

I've found it generally useful to create a single-line script for each Print Setup that I might need -- landscape single, landscape all, portrait single, portrait all, etc. -- and then call those scripts as needed, such as within your If/Else steps. That way you only have to set them up once and never think about it again.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.