LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why doesn't labview let my new printer(HP-DESKJET 1220C/PS) work?

my labview program is working well with my old printer(EPL-5700L) until i placed my new printer(HP-DESKJET 1220C/PS).
The error message is:"failure:image.cpp".
But the new printer can do well in other program(PHOTOSHOP).

Thank you very much for your answer or advice!
0 Kudos
Message 1 of 8
(3,310 Views)
As I remember, is something about the dimensions of the image and seems to be Windows related (try to search in Upgrade and Release Notes for LabView 5.1 or 6)
0 Kudos
Message 2 of 8
(3,310 Views)
Hello,

Have you installed the LabVIEW 6.0.2 update? This update fixes a lot of problems in the original LabVIEW 6i version. The update is available from our website.

Please respond if you are continuing to have problems after installing this update (or if you already have it). Thanks for your patience on this issue, and have a pleasant day.

Sincerely,
Darren N.
NI Applications Engineer
Message 3 of 8
(3,310 Views)
Thank you for your answer!

But after i downloaded and installed the LabVIEW 6.0.2 update,something is still wrong.I can only print my labview panel.When i use the fuction "Print Report.vi" in my program ,the printer does not work.The erro code is "-2147352567".I am expecting your help!

Thank you again!
0 Kudos
Message 4 of 8
(3,310 Views)
Hello,

The description for this error is that the margins are invalid...you should have received this message when you got the error return. Anyway, this means that your printer is not compatible with the margins you specified in your NI-Reports functions. You should go with the default margins (which I believe are 1" on every side), and the printout should happen without issue.

Some printers are very sensitive about the allowable margins you can send them...your printer might be one of these.

Good luck with your application, and have a nice day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 5 of 8
(3,310 Views)
I am sorry to bother you again.

I have changed my program according to your answer.It can print out my report now.but there is still some matter.I used the fuction Set Report Header Text.vi in the program,after the report printed,there were three thin lines instead of my Header text.
When i replaced my old printer,it worked well.I need the header text very much,so i need your help.

Thank you very much!
0 Kudos
Message 6 of 8
(3,310 Views)
(I started a new response since I have an attachment)

There are a couple of things you should try to fix your report header text problem. First, take the attached VI, remove the "fixed" from the title, and place it in your nireports.llb library...you will replace the older version of this VI with the one attached, which fixes a few problems with this VI. See if this fixes the problem. If not, then use a "Set Report Font" function right before the "Set Report Header Text" function, and experiment with larger fonts to see if it is simply a font resizing problem you are running into.

I hope one of these suggestions solves the problem. Please update me on your progress, and thanks for your patience on this issue.

Have a pleasant weekend.

Sincerely,
Darren N.
NI
Applications Engineer
0 Kudos
Message 7 of 8
(3,310 Views)
is it possible to replace a control or indicator and all they local
variables with a global variable, without selecting and replace each local
variable seperatly?

Thanx for help, Niko
0 Kudos
Message 8 of 8
(3,310 Views)