- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2004 02:20 AM
08-23-2004 02:20 AM
This problem even happens when trying to save the print to a file. I think this may have something to do with the need for a Postscript driver - i.e. mozilla printing from Solaris is not a problem where postscript support comes with the O/S.
If this is the case for HP-UX, what is the solution?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 04:34 AM
09-01-2004 04:34 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 05:35 AM
09-01-2004 05:35 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 05:57 AM
09-01-2004 05:57 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
ps -ef | grep XpFile
You said you were using display 33, so you should see:
...... /usr/bin/X11/X :33 -deferglyphs 16 -XpFile /etc/X11/X33printers
If it is not running, run:
/sbin/init.d/tps.rc start
Once it is running, try testing it by printing from the CDE text editor. From a command line run dtpad. This will bring up the text editor. DTPAD uses Xprint/TPS to print. To print:
File --> Print [More Printers ...] (Select your printer) [Print]
If this doesn't work, your are having problems with TPS. Check the following logs:
/var/X11/Xserver/logs/Xstartup.33.log
/var/X11/Xserver/logs/X33.log
/var/dt/Xerrors
/var/dt/XPserver:33.err
There is also an online document to help with configuring TPS. You can view this document from the front panel by selecting the Help Icon [?]
[?]->Help Manager->Technical Print Service System Administrator's Guide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 06:46 AM
09-01-2004 06:46 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
either empty or have just informational messages - no errors.
Printing from dtpad works, but then it works from systems where Xprint is NOT enabled at boot up. So this is rather confusing.
Mozilla print still fails as first described.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 08:05 AM
09-01-2004 08:05 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
What is the variable DTPRTSVR in /etc/rc.config.d/desktop set to? If this variable is blank or TPS, dtpad and dtmail are using TPS to print. If it's set to LP, dtpad isn't using tps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 08:16 AM
09-01-2004 08:16 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 08:40 AM
09-01-2004 08:40 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
show_patches | grep CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 08:55 AM
09-01-2004 08:55 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
# Contacting target "yhp616"...
#
# Target: yhp616:/
#
#
# Bundle(s):
#
B3394BA B.11.11.02 HP-UX Developer's Toolkit for 11.11
B6268AA B.11.00.03 Graphics and Technical Computing Software
B6848BA 1.4.gm.38 Ximian GNOME 1.4 GTK+ Libraries for HP-UX 11.00 and 11i
B6852BA 1.4.gm.38 Ximian GNOME 1.4 Desktop for HP-UX 11.00 and 11i
B7580AA B.11.11.11 HP-UX Visualize Conference Run Time Environment
BUNDLE11i B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
CDE-English B.11.11 English CDE Environment
FDDI-00 B.11.11.01 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
FibrChanl-00 B.11.11.03 PCI FibreChannel;Supptd HW=A5158A
GOLDAPPS11i B.11.11.0306.4 Gold Applications Patches for HP-UX 11i, June 2003
GOLDBASE11i B.11.11.0306.4 Gold Base Patches for HP-UX 11i, June 2003
GigEther-00 B.11.11.14 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0306.4 Hardware Enablement Patches for HP-UX 11i, June 2003
Ignite-UX-11-11 B.3.6.82 HP-UX Installation Utilities for Installing 11.11 Systems
OnlineDiag B.11.11.00.04 HPUX 11.11 Support Tools Bundle
RAID-00 B.11.11.00 PCI RAID; Supptd HW=A5856A
#
# Product(s) not contained in a Bundle:
#
Gdm 2.2.2.1.5 The GNOME Display Manager, a login manager
PHSS_23486 1.0 Mitsumi CD-ROM firmware update
PHSS_29279 1.0 TechPrintServ Periodic Patch
PHSS_30966 1.0 ld(1) and linker tools cumulative patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 09:27 AM
09-01-2004 09:27 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
I'm still leaning towards this being a problem with TPS instead of Mozilla. There is another log file I forgot to list earlier. By default, tps will also log messages to:
/var/dt/dtpdmd.{n}.log
Does this file have any messages?
How did you configure TPS? Through SAM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 09:57 AM
09-01-2004 09:57 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
Aside - mozilla uses XPSERVERLIST set to localhost:33 or yhp616:33 - same problem either way.
However, it I set it to ysw155:33, a Solaris 9 system running Xprt, mozilla running on HP-UX will successfully print.
Going home - catch your reply tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 08:30 AM
09-02-2004 08:30 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
HP-UX 10.30 operating system or later releases
Common Desktop Environment 1.0
X11 R6 Window System
I'm not sure TPS will work without CDE running. I think your best bet is to locate something similar TPS/Xprt that will run under gnome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 08:44 AM
09-02-2004 08:44 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
As my last message indicated, I think Solaris has something that HP-UX does not, because when I point mozilla on HP-UX to use the Xprt on my Solaris system, printing from mozilla works.
Something basic is missing or not configured correctly on HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 09:37 AM
09-02-2004 09:37 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
Can you copy your /etc/X11/X33devices, /etc/X11/X33pointerkeys, /etc/X11/X33pointerscreens to a text file, and post them.
Also, check your /etc/dt/config/C/sys.resources file and make sure you see the line:
*XpServerList: your-HP-server:33
If you don't have this file, create one and put this line in it.
I need to think about this some more. I just tried doing some testing with TPS servers. They work fine when I print to the printer, but when I tried to print to a file I get junk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2004 02:56 AM
09-03-2004 02:56 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
###############################################################################
#
# SAM generated configuration. Anything placed below this comment block will
# be deleted next time you change this configuration within SAM.
#
###############################################################################
first NULL keyboard
first NULL pointer
X33printers:
########################################################################
#
# $XConsortium: Xprinters /main/hp-cvl/1 1996/08/23 14:04:37 tomg $
#
# X*printers sample configuration file
#
#
# This template file is used to build the files /etc/X11/X*printers, where
# the "*" is the display number of the server. For example, if the server is
# invoked using the command X :40, then the X40printers file is used.
########################################################################
########################################################################
# Use lpstat to augment the list of printers managed by the
# server. (This is the default behavior if an "Augment_Printer_List" line
# is not specified.)
########################################################################
#Augment_Printer_List %default%
########################################################################
# Use the specified command pipeline to augment the list of printers
# managed by the server.
########################################################################
#Augment_Printer_List lpstat -a | cut -d " " -f 1 # equivalent to default
########################################################################
# Do not augment the list of printers managed by the server.
########################################################################
#Augment_Printer_List %none%
########################################################################
# Add individual printers to the list of printers managed by the
# server. These are aliases, determined by driver name.
########################################################################
# EXAMPLES
#
# Printer xppspr
# Printer xppclpr
# Printer xppclmonopr
# Printer xprasterpr
X33screens:
###############################################################################
#
# SAM generated configuration. Anything placed below this comment block will
# be deleted next time you change this configuration within SAM.
#
###############################################################################
ServerOptions
serverMode XPrint
--------------
I added the *XpServerList: your-HP-server:33 line to existing /etc/dt/config/C/sys.resources which now contains:
*0*ColorPalette: Default.dp
Dtwm*0*FrontPanel*geometry: -6-2
Dtwm*0*FrontPanel_conv*geometry: -1-4
Dtwm*0*ws4*title: Five
Dtwm*0*ws5*title: Six
Dtwm*0*helpResources: \n\
Dtwm*0*initialWorkspace: ws0
Dtwm*0*workspaceCount: 6
Dtwm*0*workspaceList: "ws0" "ws1" "ws2" "ws3" "ws4" "ws5"
Dtwm*focusAutoRaise: False
Dtwm.keyboardFocusPolicy: pointer
dtsession*displayResolution: 3750
dtsession*sessionLanguage: C
dtsession*ShutDownState: 1
dtsession*ShutDownMode: 3
*background: #C600B2D2A87E
*foreground: #000000000000
*XpServerList: localhost:33
I restarted TPS, but this made no difference to mozilla printing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 08:21 AM
09-08-2004 08:21 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 07:48 AM
09-09-2004 07:48 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
I just stood up a server (see the sw config at the bottom), and installed Mozilla 1.7. I was able to print from mozilla without seting up and running a Technical Print Server.
I configured a single remote printer through SAM, and made it the default. I was able to print through Mozilla using the following print commands (Printer Properies...)
lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
.. and ...
lpr -dprintq
This test was done using CDE desktop. Tommorrow, I'll try loading and printing with gnome desktop running.
I'll let you know how things go tomorrow.
----------------------------------------
#
# Bundle(s):
#
B6848BA 1.4.gm.46.2 Ximian GNOME 1.4 GTK+ Libraries for HP-UX 11.00 and 11i
B8111AA 1.2.2.15.00 Java 2 RTE for HP-UX (700/800), PA1.1 + PA2.0 Add On
B8465BA A.01.05.08 HP WBEM Services for HP-UX
B9073BA B.06.00 HP-UX iCOD (Instant Capacity on Demand)
B9098AA 1.2.2.15.00 Java 2 Plugin for HP-UX (700/800)
B9789AA 1.3.1.09.08 Java2 1.3 RTE for HP-UX
BUNDLE11i B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
CDE-English B.11.11 English CDE Environment
FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
FEATURE11-11 B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002
FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A
GigEther-00 B.11.11.19 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
HPUX11i-OE B.11.11.0312 HP-UX 11i Operating Environment Component
HPUXBase32 B.11.11 HP-UX 32-bit Base OS
HPUXBaseAux B.11.11.0312 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0312.4 Hardware Enablement Patches for HP-UX 11i v1, December 2003
OnlineDiag B.11.11.13.14 HPUX 11.11 Support Tools Bundle, Dec 2003
T1455AA 1.3.1.09.08 Java2 1.3 Netscape Plugin for HP-UX
T1457AA 1.4.1.02.02 Java2 1.4 RTE for HP-UX
T1458AA 1.4.1.02.02 Java2 1.4 Netscape Plugin for HP-UX
perl B.5.6.1.F Perl Programming Language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 09:30 AM
09-09-2004 09:30 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 05:43 AM
09-13-2004 05:43 AM
SolutionI finally got it working. By default TPS is aware of all your local printers using lpstat -a, but I'm starting to think that it is using the pcl drivers by default. So, you will need to configure the TPS printers by hand.
Step 1. Run the command
tpsshowmodel -all
This will give you a list of all the printers officially supported by TPS. Choose the one closest to your printer model. Any of the PS printers should work okay. I have a Xerox postcript printer, and was able to use the "HPLJ4ML-PS" driver.
Step 2. Setup your postscript printer(s) in TPS using tpsedit:
tpsedit /etc/X11/C/print/attributes/printer
Add the following lines for your printer(s):
Where:
Step 3. Edit /etc/X11/X33printers
Uncomment the following line:
Augment_Printer_List %none%
For each of printers you configure, add the following line:
Printer
Step 4. Restart TPS
/sbin/init.d/tps.rc stop
/sbin/init.d/tps.rc start
To identify TPS servers HP uses the variable XpServerList, but mozilla (& Sun) use the variable XPSERVERLIST. So, before using mozilla, make sure this variable is set(echo $XPSERVERLIST).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 07:24 AM
09-13-2004 07:24 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
BTW - the XPSERVERLIST variable seems to work too. I did not define XpServerList, but got output anyway.
My Xerox printer is producing output from mozilla (only) on a quarter of the page though. I tried to set the *default-printer-resolution in the printer to a new value but nothing seems to work. Any suggestions on this?
Also, now that we have it working, is there any way to set the default drivers to be PS?
Maintaining custom configs in our environment would be next to impossible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2004 03:54 AM
09-14-2004 03:54 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
Regarding changing the default driver. I played with this some, and it looks like you can do it. Try the following:
Step 1. Edit Xprinter definitions
tpsedit /etc/X11/C/print/attributes/printer
--- remove your customized Xprinters
--- Add the following line:
*xp-model-identifier:
Step 2. Edit /etc/X11/X33printers.
-- Remove or comment out the Xprinters you added
-- Comment the line: Augment_Printer_list %none%
Step 3. Restart tps
/sbin/init.d/tps.rc stop
/sbin/init.d/tps.rc start
Now, TPS will automatically apply the
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2004 06:34 AM
09-14-2004 06:34 AM
Re: Cannot print from Mozilla 1.7 on HP-UX 11.11
Yes - the output is coming out on 1/4 of the sheet. I have checked the mozilla page scaling setup. It was set to 100% and shrink_to_fix page. I removed shrink_to_fix and set scaling to 200%, but there is no change in scale of output.
I think this is printer dependent because I can print to an older model HP (LJ4) and it comes out using the full page - no matter what the page setup scale is. However, finding what parameter in Xprint or mozilla really affects this is goal.