LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2005, 11:32 AM   #1
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Rep: Reputation: 15
applet on linux server behaves differently


We have always run our web app on Tomcat on Windows, but we're trying to move it to Linux. One small but important component of our site is a simple signed applet that allows users to print out 4x6 packing labels on a thermal printer. If the Zebra (or whatever brand) printer driver is installed properly, the label image lines up perfectly.

Everything continues as normal when the web app is running on a Linux box in our internal/private network, but when the server is our new production Linux server (which is sitting outside our internal network), the image that gets pulled down by the applet is half an inch too far to the right. The code is the same, the Tomcat startup parameters telling it to start headless are the same, the version of Enterprise Red Hat is the same...what could be causing this difference?

I know I'm reaching here, but does it have anything to do with SSL or the applet being signed or something like that? Obviously right now, we don't access that new production machine by DNS name yet--we just hit it by its public IP address (which goes through a BigIP load balancer). I just need to know what in the world to look for!

Thanks...
 
Old 01-07-2005, 11:37 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
It's not likely to be related to the network code. I've seen similar problems with printer drivers on other printers; you might try editing the printer configuration to adjust the position of the image on the page, or to change the configuration of the queue.
 
Old 01-07-2005, 11:53 AM   #3
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
We instruct our users on how to adjust image position all the time, but here's the situation: when the server is our dev Windows or our dev Linux box on our internal network or our production Windows box that we browse via the public IP address, the image prints fine (and this is when we browse all 3 from the same browser and print from all 3 to the same thermal printer). But when we then go and try to print from the same browser and to the same printer when the server is the new production Linux box that we access over the web, it doesn't work...nothing is different--not the code, nothing...

 
Old 01-07-2005, 02:09 PM   #4
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Weird...that problem was occuring when trying to print with Firefox 0.9.2, but it doesn't occur for IE 6. Both have 1.4.2 Java versions. This doesn't make me happy at all...that same Firefox browser prints labels from our current webserver without a hitch. Why would this Firefox browser scoot the document/image over half an inch when the webserver was a Linux one, but the IE client browser wouldn't do that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why video card acts differently in linux exbootie Linux - Newbie 4 11-29-2005 01:34 PM
explore2fs reads linux drives differently in win98 and winxp cranium2004 General 0 12-02-2004 12:10 PM
Firefox fonts render differently on Linux elempoimen Linux - Software 6 12-01-2004 10:01 PM
shell behaves differently in rl5 and rl3 Warmduvet Linux - General 22 09-22-2004 05:05 PM
Monitor power off differently with Linux and Xp...!?? yarnar Linux - Software 1 11-16-2003 12:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration