LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the printer attribute to print the text report on both side of paper

Hi,

I am using NI Report generation to print the report, I want to print the report on both side of paper, I have tried with "SetPrintAttribute (ATTR_DUPLEX, VAL_VERTDUPLEX)" function, but it did not work, Can somebody help me to print the report on both side of paper?

Gajanan
0 Kudos
Message 1 of 8
(4,192 Views)
Hello,

We had a similiar problem with another NiReport function. The function worked correctly but the printer driver settings caused the application to "HANG UP". Ni's suggested making sure that the application was using the default printer which was 51 per cent correct. It actually was a setting in the default printer that caused the application to "HANG UP". Could you check to see if your default printer driver or the printer driver that you are using has
the features that you want.

David J. Dainelis
"Working on a VAX requires a degree in Software Archeology not Software Engineering" circa 1998 Paul Harker


p.s. please let me know if that worked or not.
Message 2 of 8
(4,181 Views)
"Working on a VAX requires a degree in Software Archeology not Software Engineering" circa 1998 Paul Harker

I just had to reply when I saw your user name!

I still own a copy of "VMS Internals and Data Structures" (version 4.4).

I found that most of the ideas used in VMS back then can still be found in Windows etc.

So, I feel that VMS was noy the past, but a version of the future.

Ben

"Ex-DECie with an attitude"
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 8
(4,172 Views)
That feature is available in default printer, Infact in my case application is not hanging, It is printing only one side of page even though I set duplex attribute to both side.
0 Kudos
Message 4 of 8
(4,171 Views)
Hi Gajanan,

Have you tried priting on both sides on your default printer? If you are able to print on both sides then it should have been a problem, but to test the problem, please provide me with your printer make and model and the driver version.

Also, another thing I would like to recommend is updating your printer driver (I hope it would be available on manufacturer's website)

- Rajiv
0 Kudos
Message 5 of 8
(4,163 Views)
Hi Rajeev,

I am able to print MS word documents on both side. Only I am not abble to print CVI generated report on both side. Our printer is HP Laser Jet 4200DTN with latest driver. If have any solution plz let me know, By the I am out of office for next 5 days.
Thanking You

With Regards
Gajanan
0 Kudos
Message 6 of 8
(4,154 Views)
As an FYI we had to install an older version of a printer driver to get our application to print correctly. Sometimes the printer vendors "HELP" us by making certain features break in newer printer drivers. So, maybe an older driver may fix your problem.

David J. Dainelis
aka old vax guy
"Working on a VAX requires a degree in Software Archeology not Software Engineering" circa 1998 Paul Harker
0 Kudos
Message 7 of 8
(4,151 Views)
Thanks for information, I will try with this
0 Kudos
Message 8 of 8
(4,147 Views)