Closed Bug 176319 Opened 23 years ago Closed 22 years ago

[ps] Does not print

Categories

(Core :: Printing: Output, defect, P2)

HP
HP-UX
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: karl.olson, Assigned: rods)

Details

Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.2b) Gecko/20021018 Does not print, either to file or printer. Up to version 1.2a worked fine. Can print from the command line.
releated to bug 170816 ?
Need more info
Not sure what other information to provide that would be useful. Printing has worked fine for every other release up through 1.2a, then all of a sudden with 1.2b nothing gets to the printer. I select File->Print and the printer dialog pops up. For the printer properties I am using the Printer Command 'lpr -onb -oduplex' (options for no-banner and duplex). I tried chaning lpr to /usr/bin/lpr with no success. I also tried printing to a file and that did not work either. When I click 'Print' the print dialog box goes away and there is no indication that anything failed. If I go back to version 1.2a I am able to print. The printer works fine, and I am able to print from other applications and the command line. There are no messages recorded in syslog. Does mozilla keep a log that could be used to troubleshoot this?
Don, any idea on this ?
Try opening the Page Setup and then press OK and then do File->Print See if that helps, if it does, I am waiting on a SR for the fix.
No, didn't work. Now, if I try to print from Mail and News, both before the print dialog appears and after I click print, a dialog *very* briefly appears which says: Title: Status: Preparing ... <cancel> and the cancel button is greyed out. I do not see this dialog when printing from the browser.
Reporter: Assuming that you are using the PostScript module: Can you do the following steps, try to print and attach the resulting output, please ? -- snip -- # Enable debug logging in the PostScript print module % export "NSPR_LOG_MODULES=nsPostScriptObj:5,nsDeviceContextPS:5" # Start Mozilla % ./mozilla -- snip --
quibble:/home/kolson > ps -ef |grep moz quibble:/home/kolson > cd mozilla quibble:/home/kolson/mozilla > S=nsPostScriptObj:5,nsDeviceContextPS:5" < quibble:/home/kolson/mozilla > ./mozilla 1[4000a158]: nsDeviceContextPS::nsDeviceContextPS() 1[4000a158]: nsDeviceContextPS::SetSpec() 1[4000a158]: nsPostScriptObj::nsPostScriptObj() 1[4000a158]: nsPostScriptObj::~nsPostScriptObj() 1[4000a158]: nsPostScriptObj::~nsPostScriptObj(): printing done. 1[4000a158]: nsDeviceContextPS::~nsDeviceContextPS() quibble:/home/kolson/mozilla >
Karl Olson wrote: > quibble:/home/kolson/mozilla > ./mozilla > 1[4000a158]: nsDeviceContextPS::nsDeviceContextPS() > 1[4000a158]: nsDeviceContextPS::SetSpec() > 1[4000a158]: nsPostScriptObj::nsPostScriptObj() > 1[4000a158]: nsPostScriptObj::~nsPostScriptObj() It seems that |nsPostScriptObj::Init()| fails for some reason.... weired. Do you get any error dialog from Mozilla ? If "yes" - what is the _exact_ message in the dialog ?
Summary: Does not print → [ps] Does not print
No, no error dialog at all; nothing.
If it helps at all, here is the output from a successful print on 1.2alpha: quibble:/home/kolson > ps -ef |grep moz quibble:/home/kolson > cd old_mozilla/ quibble:/home/kolson/old_mozilla > LES=nsPostScriptObj:5,nsDeviceContextPS:5"< quibble:/home/kolson/old_mozilla > ./mozilla md5sum not found 1[40009b38]: nsDeviceContextPS::nsDeviceContextPS() 1[40009b38]: nsDeviceContextPS::SetSpec() 1[40009b38]: nsPostScriptObj::nsPostScriptObj() 1[40009b38]: No paper matched by name 'letterSize' - trying deprecated match-by-size way... 1[40009b38]: dpi 72 top 18 bottom 18 left 18 right 18 1[40009b38]: nsDeviceContextPS::InitDeviceContextPS() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::SupportsNativeWidgets() 1[40009b38]: nsDeviceContextPS::SupportsNativeWidgets() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::SupportsNativeWidgets() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::SupportsNativeWidgets() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::SupportsNativeWidgets() 1[40009b38]: nsDeviceContextPS::GetSystemFont() 1[40009b38]: nsDeviceContextPS::CreateRenderingContext() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::CreateFontCache() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::GetRect() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetSystemFont() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::GetScrollBarDimensions() 1[40009b38]: nsDeviceContextPS::GetRect() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetSystemFont() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::BeginDocument() 1[40009b38]: nsDeviceContextPS::GetDeviceSurfaceDimensions() 1[40009b38]: nsDeviceContextPS::BeginPage() 1[40009b38]: nsDeviceContextPS::CreateRenderingContext() 1[40009b38]: nsDeviceContextPS::EndPage() 1[40009b38]: nsDeviceContextPS::EndDocument() 1[40009b38]: nsPostScriptObj::end_document() 1[40009b38]: piping job to '/usr/bin/lpr -onb -oduplex' 1[40009b38]: piping done, copied 100481 bytes. 1[40009b38]: nsPostScriptObj::~nsPostScriptObj() 1[40009b38]: nsPostScriptObj::~nsPostScriptObj(): printing done. 1[40009b38]: nsDeviceContextPS::~nsDeviceContextPS() quibble:/home/kolson/old_mozilla >
Does it print with a new profile (or if you rename ~/.mozilla (for testing)) ?
No, still nothing. quibble:/home/kolson/mozilla > ./mozilla 1[4000a158]: nsDeviceContextPS::nsDeviceContextPS() 1[4000a158]: nsDeviceContextPS::SetSpec() 1[4000a158]: nsPostScriptObj::nsPostScriptObj() 1[4000a158]: nsPostScriptObj::~nsPostScriptObj() 1[4000a158]: nsPostScriptObj::~nsPostScriptObj(): printing done. 1[4000a158]: nsDeviceContextPS::~nsDeviceContextPS() quibble:/home/kolson/mozilla >
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can't imagine what may go wrong here... ... is there any HP-UX available for the public (e.g. /me) where I can log-in and take a look at the issue ?
Reporter: A possible workaround may be to use the Xprint module (see http://mozilla.org/releases/mozilla1.0/#printing) ? Does that work for you ?
Update: I placed an HP-UX system on my home network for public access and sure enough, 1.2b prints fine. It is configured the same as my systems at work (same OS level, same patch level, etc.), except, obviously, for the networking. So I am puzzled as to what is specific to my environent at work that could be causing this problem. I should have some time next week to investigate further. I know nothing about PostScript. What, if any, networking relationships exist in the PostScript module?
Karl Olson wrote: > I know nothing about PostScript. What, if any, networking relationships exist > in the PostScript module? There is no networking relationship in the PostScript module - it's a very simple code which only relies on prefs and outputs to the spooler command ("lpr").
Priority: -- → P2
Target Milestone: --- → Future
Printing is working again with 1.3 and 1.4a. This defect can be closed.
Resolving WORKSFORME per comment #18. Karl, thanks for reporting this and helping us try to reproduce it.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.