• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Printing issue

 
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here�s the situation: i made a test UI that basically displays in a jtextarea the results of a SQL statement.
At home i've a home network (2 machines both win XP) and i have both the printer and mysql server and database in, lets say, machine A.
If i run the application from the other machine (lets call it B), if i order a print from machine B then A's printer responds printing whatever requested.
So far so good.
I then replicated things at office.
At office i've machine A (win 2000) that prints to a network printer installed in a 3rd (lets call it machine C) winxp machine.
This A machine is in the same workgroup as the machine C.
Now, also at office, i've another machine (B machine) that is a win 2000 Server that is the server of a domain.
All these 3 machines are in the same network (they all have in common internet access and can see the other machines).
If i use my application from machine A, i can print, but if i use my app from machine B... i cant - from machine B i can make inserts to A's mysql, but cant print at all!
Just dont understand why.
Can someone please help me?
thanks in advance
 
miguel lisboa
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CASE SOLVED!

the pre defined printer in server wasnt correctly defined
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic