Skip to main content
pyae phyoe shein
Known Participant
April 30, 2010
Question

CFPrint printer problem

  • April 30, 2010
  • 1 reply
  • 1458 views

Hi there,

I'm now in problem about cfprint.Here is my coding :

<cfdump var="#GetPrinterInfo()#">

When I run this coding in client site, it shows error that "no printer avaliable". Oddly, I run this coding in server, it shows printer's information installed at my server. Do you have such experience about cfprint?

all solutions will be appreciated in advance.

This topic has been closed for replies.

1 reply

Inspiring
April 30, 2010

Well... are there printers installed on the client's server?  It's not normal to have printers configured on a web application server, so quite possibly there aren't any.  Have you checked?

--

Adam

pyae phyoe shein
Known Participant
April 30, 2010

Yap, printers are installed in my server. When I call a page (written #GetPrinterInfo()# function) from server's browser,everything's alright. But, getting error "printer '' is not avaliable" once I call this page from client's browser.

why #GetPrinterInfo()# doesn't know the installed printers from server once I call it from any client's pc? Why It only knows calling this function from server.

Inspiring
April 30, 2010

Right, I see.  You made it sound like the difference was between your client site & your server (so different servers).

Um... it doesn't matter which browser you happen to browse to the template with the <cfprint> tag on it is... all the code is running on the CF server, and it has no idea that the request originated from either the browser on the server or a browser on some other PC.

Are you sure both requests are hitting the same server?

--

Adam