No records to print

Here’s a fun little challenge that I’ve never seen before. First, the client is running Windows 10 home. There are 6 workstations, and one is being used as the server for our software. On the main computer, we’ll call it the server, when I try to print anything, it comes up with the error that there are no records to print. I’m using cpcs reports with most reports. I tried it with a Fomin report as well, no errors, but nothing to print or display in the preview. I tried to different preview screens. I can see and edit everything, so the data is all there and accessible.
From a workstation, everything prints just fine as usual. I am accessing the data via the start in to a shared drive which is my folder on the C drive on the server. Everything is fine on the workstations. I’ve tried installing to a new folder on the server. Nothing. But it still works on the workstations. I’ve told them to get a different computer which they are doing, and going to use. It’s a real Windows server, and the IT guy is pretty good. At this point it’s just a curiosity, as I’ve never seen this before.

Any idea’s?

When doing previews etc, clarion creates wmf files in the temp folder.
I’d check there and clear it out. Full temp folder does really odd things.

Interesting. Maybe the machine needs a default printer assigned to it. Just a SWAG.

We tried that… I guess. The IT guy emptied it.

We tried different printers, updated the driver, even made the default printer a PDF writer. Same errors.

Ray, on the machine that won’t print does the user have the same rights as on the other workstations?

I believe so. I was on it with the IT guy and he checked rights and permissions. It’s the ‘server’ so all rights have to be there for the other machines to access the data. We tried changing the printer to a pdf printer and a couple of other things. It’s a problem I’ve never seen before. I tried installing the program into a different folder and using different data. Same problem. Fortunately they are going to change that machine out to a new actual server.

I understand that users have to have rights to access data but when you attempt to print does the user logged onto the server, directly at the server, have a printer defined and have rights to use it?

I’m worried a new computer isn’t going to solve the problem, just wanting to be certain.

Or are you attempting to use printers attached to this machine from other workstations? In that case you may be banging your head against the wall unless a user, with permissions, is actually logged into that machine and the printers available to that user are shared on the other machines.

What is the thing that causes “No records to print” to appear? Is it that there are no records in the view according to the current filter, or is it no pages in the report?

1 Like

No pages. Nothing created by the printer driver. Now the reasons for that can be complicated but generally it’s a lack of permissions, lack of access to that printer or a stuffed TEMP/TMP folder.

So this is different than that other message that appears in TakeNoRecords()

The computer is acting as the server, and has the printer directly hooked up to it. He can print from other programs on this same computer. I think the IT guy may have already moved on and replaced the computer. No phone calls from him yet. I think I’ll call and see if he has done that, and if the problem went away or not. My guess is it was the temp folder issue, although he said he cleared that. I’ll report back here if any news. Thanks all for the info.

They replaced the computer (a win 10 home computer) with a windows server computer. All is well. So, I’m just going to consider this issue closed, and hope I never see it happen again.

So does the old “server” machine work as a client now? :slight_smile:

He said he’s got it as a workstation now, but hasn’t tried printing from it. He has a ‘community’ printer and I guess it’s all working… but he didn’t try printing from the old workstation. So, we’ll see.