Results 1 to 9 of 9

Thread: Mozilla+xprint=impossible

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276

    Mozilla+xprint=impossible

    A few weeks ago an upgrade of Mozilla to 1.7 forced me to install this damnable xprint because Mozilla will not use any print server but this stupid thing. After more than a month the only things I can say about this piece of garbage are unsuitable for a family forum. There is a known "feature" of this crappola that it often will only use a quarter of a page unless of course you are in the standard locale of a peruvian monastery printing on default size papyrus. OK, I am in the little known USA using the even rarer 8.5 by 11 inch paper. I already changed mozz' paper size to 215x279mm but now have to fix the default printing dpi. The garbage's faq states:

    Q:
    "Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?"
    A:
    This is usually an indicator for a wrong DPI setting. The default "PSdefault" model config uses 300 DPI but some printers only support 600 DPI.

    Workaround: Edit ${XPCONFIGDIR}/C/print/attributes/document and replace the line "*default-printer-resolution: 300" with "*default-printer-resolution: 600" (Note that locale-specific settings in ${XPCONFIGDIR}/${LANG}/print/attributes/document always override values set in ${XPCONFIGDIR}/C/print/attributes/document.)

    Solution: Create a model-config for your printer which only contains attributes supported by your printer ("printer-resolutions-supported" is the attribute in the "model-config" which holds the space-seperated list of DPI values which are supported by the printer).


    On a debian-based distro such as ours, where oh where is this configuration file where I am to change the default dpi? I have spent weeks on this and have to give up and either attempt to rollback Mozilla to where it can use cups again or switch to Knoqueror, which isn't a bad browser but it isn't my mozz

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    to answer my own question with my own workaround - not really sure what I did here but it works partially...

    I could find no file containing the phrase "default-printer-resolution:" or printer resolutions supported. I found under /etc/Xprint in there were some more folders and two of them had a "printer" file. I uncommented the line "*printer-resolutions-supported: 300" and changed 300 to 600. Changing the printer file in one folder changed the other.

    I can now print pages normal size, sometimes the text is OK, other times though the layout of graphics and other page elements is normal, the text is still teenyweeny.

    Other input is most welcome. I am a little old to be going for an engineering degree in order to configure a really shabby printer server like this. Help

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    I have no clue what the answer to your question is!

    Mozilla won't work with "kprinter"? What happens when you change Mozilla's default print command (File > Print > "Properties..." button > "Print Command:" field) from "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}" to "/usr/bin/kprinter"?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    Mozilla since I guess 1.7 recognizes no print servers but Xprint now - so unless you have xprint running, you have no printers. Some sort of joint development deal, I don't know. Why it is merely listed as a "suggestion" and not a dependency I also don't know. I guess they don't consider printing a necessity You find some things here and there if you google about it. When someone does ask why the 1/4 page bit, somebody generally will give a terse ohsouseless (in this case) readtheFAQ. In the case of xprint FAQ, you have to be kidding - it runs more pages than my motherboard manual and I am quite serious. You do need some significant experience, the bulk of it is well beyond me. And I am quite hesitant about any software or application whose FAQ has a prominent question of "Why do so many people hate this app?"

    It seems to depend a lot on the printer and your locale. If your printer can handle the 600dpi and you can find your paper size, you aren't likely to notice a problem.

    After doing my little hatchetjob on those "printer" files Mozz developed a crashing prob. I don't know if it is coincidental. I haven't done a lot of surfing with 1.7 and maybe just hitting some scripting it couldn't handle. I tried to do another update I saw this afternoon. Although it seemed to install it wouldn't start with "mozilla-1.7" command that all my links were. So now I am running 1.7.1-1 from just plain "mozilla". Figure I will wait until the next build and see what comes of it.

    Not a happy mozz camper at the moment. I always tended toward the bleeding-edge mozilla buildsand really was never too unhappy for long but this time I think it got me. Maybe they will fix up xprint with it's own config file sometime.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Another complicated printing back-end for Linux? <groan>

    Playing around with Kanotix BH6, I see what you mean. It comes with Mozilla 1.7 but the live CD doesn't include the Xprint server. The Postscript module is MIA. Result: no printing from Mozilla!

    Anyway, take a look at this post to the Debian bug list -- if I'm reading it right, the Mozilla package maintainer disabled the Postscript module in v1.7 due to a spurious security concern, and re-enabled it in v1.7.1-1. Would it help to upgrade?

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    I am currently at 1.7.1-1 and actually if I really really need a page printed from mozilla that isn't working right, I am printing to pdf then using xpdf and printing it from, sick eh? I do mozz has a 1.8 alpha out...hmmm I also upgraded xprint (boohissboohiss).

    I am just sort of shocked I don't see more about the xprint/mozz bit in searches. Most other people's printers can handle the default dpi, I guess. Mozz I believe is the number one browser for linux (I am sure somebody will correct me if I am wrong) and you would think more folks would be crying "foul" if they weren't able to print from their browser.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    FWIW.....I have had no troubles printing w/ cups at all using Firefox 0.9.1.

  8. #8
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    Hi nish, I have 1.7.1 too. You probably already know this, but if you change the dropdown to the Postscript/default and also change that whole lpr junk to kprinter it will print through kprinter. I'm not sure if there's a way to change the defaults though...cuz it seems like it'd be tedious to do that everytime. I too prefer Firefox though...not that you asked.

  9. #9
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    I did try that "fix" when I first updated mozz and found I needed xprint. What would happen, is that my printer (and the process) would freeze up about halfway through the sheet. Only powering off the printer and rebooting would reset the mess (and I had to physically remove the paper). After a couple of rounds of that I gave up and installed the xprint.

    I have a lexmark and use gimpprint drivers, I have always managed to get it working but every update to the drivers or cups I have to go through the whole trial & error reinstalling the drivers. The xprint business sent me off the deep end.

Similar Threads

  1. IT IS IMPOSSIBLE TO SET THE DESIRED SCREEN RESOLUTION
    By anton123 in forum General Support
    Replies: 3
    Last Post: 05-29-2005, 05:19 PM
  2. Impossible to move or resize windows
    By paoloskater in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-27-2005, 03:41 PM
  3. Impossible to boot with mbr or from partition
    By spade in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-23-2004, 04:49 PM
  4. Clicking mailto links in Mozilla opens Mozilla Mail notKMail
    By lavaman094 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-03-2003, 06:32 AM
  5. Impossible to start X
    By gommans in forum General Support
    Replies: 2
    Last Post: 02-07-2003, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$450.00



For Parts - Lenovo ThinkServer TS460 Part Number: 70TT-0020UX picture

For Parts - Lenovo ThinkServer TS460 Part Number: 70TT-0020UX

$149.99



Intel Xeon Gold 6248R 3.0GHz 24-Core SRGZG 35.75MB LGA3647 Server CPU Processor picture

Intel Xeon Gold 6248R 3.0GHz 24-Core SRGZG 35.75MB LGA3647 Server CPU Processor

$225.00



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$354.48



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA

$374.48



DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11 picture

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11

$149.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00